[][src]Function openthread_sys::otLinkRawSleep

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

Transition the radio from Receive to Sleep. Turn off the radio.

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

@retval OT_ERROR_NONE Successfully transitioned to Sleep. @retval OT_ERROR_BUSY The radio was transmitting @retval OT_ERROR_INVALID_STATE The radio was disabled