Function openthread_sys::otPlatRadioDisable

source ยท
pub unsafe extern "C" fn otPlatRadioDisable(
    aInstance: *mut otInstance,
) -> otError
Expand description

Disable the radio.

@param[in] aInstance The OpenThread instance structure.

@retval OT_ERROR_NONE Successfully transitioned to Disabled. @retval OT_ERROR_INVALID_STATE The radio was not in sleep state.