pub unsafe extern "C" fn otThreadBecomeLeader(
aInstance: *mut otInstance,
) -> otError
Expand description
Become a leader and start a new partition.
@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 became a leader and started a new partition. @retval OT_ERROR_INVALID_STATE Thread is disabled.