spinel-cli: Add router timing commands. (#705)

Adds support for routerselectionjitter, routerdowngradethreshold, and masterkey to fixe the slew of ncp-sim failures from recent thread-cert test updates.  Also added missing otInstance parameter to the new APIs..

Added otInstance to new APIs.
This commit is contained in:
Martin Turon
2016-09-27 18:19:47 -07:00
committed by Jonathan Hui
parent 383d0783b2
commit 625e4adde4
10 changed files with 194 additions and 20 deletions
+4 -4
View File
@@ -1543,7 +1543,7 @@ void otPlatformReset(otInstance *aInstance);
*
* @sa otSetRouterDowngradeThreshold
*/
uint8_t otGetRouterDowngradeThreshold(void);
uint8_t otGetRouterDowngradeThreshold(otInstance *aInstance);
/**
* Set the ROUTER_DOWNGRADE_THRESHOLD parameter used in the Leader role.
@@ -1552,7 +1552,7 @@ uint8_t otGetRouterDowngradeThreshold(void);
*
* @sa otGetRouterDowngradeThreshold
*/
void otSetRouterDowngradeThreshold(uint8_t aThreshold);
void otSetRouterDowngradeThreshold(otInstance *aInstance, uint8_t aThreshold);
/**
* Get the ROUTER_SELECTION_JITTER parameter used in the REED/Router role.
@@ -1561,7 +1561,7 @@ void otSetRouterDowngradeThreshold(uint8_t aThreshold);
*
* @sa otSetRouterSelectionJitter
*/
uint8_t otGetRouterSelectionJitter(void);
uint8_t otGetRouterSelectionJitter(otInstance *aInstance);
/**
* Set the ROUTER_SELECTION_JITTER parameter used in the REED/Router role.
@@ -1570,7 +1570,7 @@ uint8_t otGetRouterSelectionJitter(void);
*
* @sa otGetRouterSelectionJitter
*/
void otSetRouterSelectionJitter(uint8_t aRouterJitter);
void otSetRouterSelectionJitter(otInstance *aInstance, uint8_t aRouterJitter);
/**
* @}