mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 09:40:12 +00:00
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:
committed by
Jonathan Hui
parent
383d0783b2
commit
625e4adde4
@@ -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);
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user