[][src]Function openthread_sys::otPlatRadioSleep

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

Transition the radio from Receive to Sleep (turn off the radio).

@param[in] aInstance The OpenThread instance structure.

@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.