ot::Radio::GetState() method
Returns the current state of the radio. Is not required by OpenThread. It may be used for debugging and/or application-specific purposes.
Return value
Current state of the radio.
Notes
This function may be not implemented. In this case it always returns OT_RADIO_STATE_INVALID state.
![]()
inline otRadioState Radio::GetState(void) { return OT_RADIO_STATE_DISABLED; }
ot::Radio::GetState() calls 2 functions:
![]()
ot::Radio::GetState()
ot::Radio::GetState() reads 1 variable:
![]()
ot::Radio::GetState()