The following are valid radio state transitions:
(Radio ON)
+-------—+ Enable() +----—+ Receive() +------—+ Transmit() +-------—+ | |--------—>| |--------—>| |-----------—>| | | Disabled | | Sleep | | Receive | | Transmit | | |<--------—| |<--------—| |<-----------—| | +-------—+ Disable() +----—+ Sleep() +------—+ Receive() +-------—+ (Radio OFF) or signal TransmitDone
During the IEEE 802.15.4 data request command the transition Sleep->Receive->Transmit can be shortened to direct transition from Sleep to Transmit if the platform supports the OT_RADIO_CAPS_SLEEP_TO_TX capability. This structure represents radio coexistence metrics.
Public Attributes#
Number of grant glitches.
Number of tx requests.
Number of tx requests while grant was active.
Number of tx requests while grant was inactive.
Number of tx requests while grant was inactive that were ultimately granted.
Number of tx requests while grant was inactive that timed out.
Number of tx that were in progress when grant was deactivated.
Number of tx requests that were not granted within 50us.
Average time in usec from tx request to grant.
Number of rx requests.
Number of rx requests while grant was active.
Number of rx requests while grant was inactive.
Number of rx requests while grant was inactive that were ultimately granted.
Number of rx requests while grant was inactive that timed out.
Number of rx that were in progress when grant was deactivated.
Number of rx requests that were not granted within 50us.
Average time in usec from rx request to grant.
Number of rx requests that completed without receiving grant.
Stats collection stopped due to saturation.
Public Attribute Documentation#
mNumGrantGlitch#
uint32_t otRadioCoexMetrics::mNumGrantGlitch
Number of grant glitches.
406
of file include/openthread/platform/radio.h
mNumTxRequest#
uint32_t otRadioCoexMetrics::mNumTxRequest
Number of tx requests.
407
of file include/openthread/platform/radio.h
mNumTxGrantImmediate#
uint32_t otRadioCoexMetrics::mNumTxGrantImmediate
Number of tx requests while grant was active.
408
of file include/openthread/platform/radio.h
mNumTxGrantWait#
uint32_t otRadioCoexMetrics::mNumTxGrantWait
Number of tx requests while grant was inactive.
409
of file include/openthread/platform/radio.h
mNumTxGrantWaitActivated#
uint32_t otRadioCoexMetrics::mNumTxGrantWaitActivated
Number of tx requests while grant was inactive that were ultimately granted.
410
of file include/openthread/platform/radio.h
mNumTxGrantWaitTimeout#
uint32_t otRadioCoexMetrics::mNumTxGrantWaitTimeout
Number of tx requests while grant was inactive that timed out.
411
of file include/openthread/platform/radio.h
mNumTxGrantDeactivatedDuringRequest#
uint32_t otRadioCoexMetrics::mNumTxGrantDeactivatedDuringRequest
Number of tx that were in progress when grant was deactivated.
412
of file include/openthread/platform/radio.h
mNumTxDelayedGrant#
uint32_t otRadioCoexMetrics::mNumTxDelayedGrant
Number of tx requests that were not granted within 50us.
413
of file include/openthread/platform/radio.h
mAvgTxRequestToGrantTime#
uint32_t otRadioCoexMetrics::mAvgTxRequestToGrantTime
Average time in usec from tx request to grant.
414
of file include/openthread/platform/radio.h
mNumRxRequest#
uint32_t otRadioCoexMetrics::mNumRxRequest
Number of rx requests.
415
of file include/openthread/platform/radio.h
mNumRxGrantImmediate#
uint32_t otRadioCoexMetrics::mNumRxGrantImmediate
Number of rx requests while grant was active.
416
of file include/openthread/platform/radio.h
mNumRxGrantWait#
uint32_t otRadioCoexMetrics::mNumRxGrantWait
Number of rx requests while grant was inactive.
417
of file include/openthread/platform/radio.h
mNumRxGrantWaitActivated#
uint32_t otRadioCoexMetrics::mNumRxGrantWaitActivated
Number of rx requests while grant was inactive that were ultimately granted.
418
of file include/openthread/platform/radio.h
mNumRxGrantWaitTimeout#
uint32_t otRadioCoexMetrics::mNumRxGrantWaitTimeout
Number of rx requests while grant was inactive that timed out.
419
of file include/openthread/platform/radio.h
mNumRxGrantDeactivatedDuringRequest#
uint32_t otRadioCoexMetrics::mNumRxGrantDeactivatedDuringRequest
Number of rx that were in progress when grant was deactivated.
420
of file include/openthread/platform/radio.h
mNumRxDelayedGrant#
uint32_t otRadioCoexMetrics::mNumRxDelayedGrant
Number of rx requests that were not granted within 50us.
421
of file include/openthread/platform/radio.h
mAvgRxRequestToGrantTime#
uint32_t otRadioCoexMetrics::mAvgRxRequestToGrantTime
Average time in usec from rx request to grant.
422
of file include/openthread/platform/radio.h
mNumRxGrantNone#
uint32_t otRadioCoexMetrics::mNumRxGrantNone
Number of rx requests that completed without receiving grant.
423
of file include/openthread/platform/radio.h
mStopped#
bool otRadioCoexMetrics::mStopped
Stats collection stopped due to saturation.
424
of file include/openthread/platform/radio.h