openthread_sys

Function otThreadSetRouterDowngradeThreshold

Source
pub unsafe extern "C" fn otThreadSetRouterDowngradeThreshold(
    aInstance: *mut otInstance,
    aThreshold: u8,
)
Expand description

Set the ROUTER_DOWNGRADE_THRESHOLD parameter used in the Leader role.

@note This API is reserved for testing and demo purposes only. Changing settings with this API will render a production application non-compliant with the Thread Specification.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aThreshold The ROUTER_DOWNGRADE_THRESHOLD value.

@sa otThreadGetRouterDowngradeThreshold