openthread_sys

Function otThreadBecomeChild

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

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.