pub unsafe extern "C" fn otThreadBecomeRouter(
aInstance: *mut otInstance,
) -> otError
Expand description
Attempt to become a router.
@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.
@retval OT_ERROR_NONE Successfully begin attempt to become a router. @retval OT_ERROR_INVALID_STATE Thread is disabled.