openthread_sys

Function otThreadBecomeDetached

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

Detach from the Thread network.

@param[in] aInstance A pointer to an OpenThread instance.

@retval OT_ERROR_NONE Successfully detached from the Thread network. @retval OT_ERROR_INVALID_STATE Thread is disabled.