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.