Function openthread_sys::otLinkRawSleep
source ยท pub unsafe extern "C" fn otLinkRawSleep(
aInstance: *mut otInstance,
) -> otError
Expand description
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