[][src]Function openthread_sys::otThreadBecomeChild

pub unsafe extern "C" fn otThreadBecomeChild(
    aInstance: *mut otInstance
) -> otError

Attempt to reattach as a child.

@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 child. @retval OT_ERROR_INVALID_STATE Thread is disabled.