openthread_sys

Function otPlatRadioGetState

Source
pub unsafe extern "C" fn otPlatRadioGetState(
    aInstance: *mut otInstance,
) -> otRadioState
Expand description

Get current state of the radio.

Is not required by OpenThread. It may be used for debugging and/or application-specific purposes.

@note This function may be not implemented. It does not affect OpenThread.

@param[in] aInstance The OpenThread instance structure.

@return Current state of the radio.