openthread_sys

Function otPlatRadioReceive

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

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

@param[in] aInstance The OpenThread instance structure. @param[in] aChannel The channel to use for receiving.

@retval OT_ERROR_NONE Successfully transitioned to Receive. @retval OT_ERROR_INVALID_STATE The radio was disabled or transmitting.