[][src]Function openthread_sys::otThreadSetRouterUpgradeThreshold

pub unsafe extern "C" fn otThreadSetRouterUpgradeThreshold(
    aInstance: *mut otInstance,
    aThreshold: u8
)

Set the ROUTER_UPGRADE_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_UPGRADE_THRESHOLD value.

@sa otThreadGetRouterUpgradeThreshold