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#

uint32_t

Number of grant glitches.

uint32_t

Number of tx requests.

uint32_t

Number of tx requests while grant was active.

uint32_t

Number of tx requests while grant was inactive.

uint32_t

Number of tx requests while grant was inactive that were ultimately granted.

uint32_t

Number of tx requests while grant was inactive that timed out.

uint32_t

Number of tx that were in progress when grant was deactivated.

uint32_t

Number of tx requests that were not granted within 50us.

uint32_t

Average time in usec from tx request to grant.

uint32_t

Number of rx requests.

uint32_t

Number of rx requests while grant was active.

uint32_t

Number of rx requests while grant was inactive.

uint32_t

Number of rx requests while grant was inactive that were ultimately granted.

uint32_t

Number of rx requests while grant was inactive that timed out.

uint32_t

Number of rx that were in progress when grant was deactivated.

uint32_t

Number of rx requests that were not granted within 50us.

uint32_t

Average time in usec from rx request to grant.

uint32_t

Number of rx requests that completed without receiving grant.

bool

Stats collection stopped due to saturation.

Public Attribute Documentation#

mNumGrantGlitch#

uint32_t otRadioCoexMetrics::mNumGrantGlitch

Number of grant glitches.


Definition at line 406 of file include/openthread/platform/radio.h

mNumTxRequest#

uint32_t otRadioCoexMetrics::mNumTxRequest

Number of tx requests.


Definition at line 407 of file include/openthread/platform/radio.h

mNumTxGrantImmediate#

uint32_t otRadioCoexMetrics::mNumTxGrantImmediate

Number of tx requests while grant was active.


Definition at line 408 of file include/openthread/platform/radio.h

mNumTxGrantWait#

uint32_t otRadioCoexMetrics::mNumTxGrantWait

Number of tx requests while grant was inactive.


Definition at line 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.


Definition at line 410 of file include/openthread/platform/radio.h

mNumTxGrantWaitTimeout#

uint32_t otRadioCoexMetrics::mNumTxGrantWaitTimeout

Number of tx requests while grant was inactive that timed out.


Definition at line 411 of file include/openthread/platform/radio.h

mNumTxGrantDeactivatedDuringRequest#

uint32_t otRadioCoexMetrics::mNumTxGrantDeactivatedDuringRequest

Number of tx that were in progress when grant was deactivated.


Definition at line 412 of file include/openthread/platform/radio.h

mNumTxDelayedGrant#

uint32_t otRadioCoexMetrics::mNumTxDelayedGrant

Number of tx requests that were not granted within 50us.


Definition at line 413 of file include/openthread/platform/radio.h

mAvgTxRequestToGrantTime#

uint32_t otRadioCoexMetrics::mAvgTxRequestToGrantTime

Average time in usec from tx request to grant.


Definition at line 414 of file include/openthread/platform/radio.h

mNumRxRequest#

uint32_t otRadioCoexMetrics::mNumRxRequest

Number of rx requests.


Definition at line 415 of file include/openthread/platform/radio.h

mNumRxGrantImmediate#

uint32_t otRadioCoexMetrics::mNumRxGrantImmediate

Number of rx requests while grant was active.


Definition at line 416 of file include/openthread/platform/radio.h

mNumRxGrantWait#

uint32_t otRadioCoexMetrics::mNumRxGrantWait

Number of rx requests while grant was inactive.


Definition at line 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.


Definition at line 418 of file include/openthread/platform/radio.h

mNumRxGrantWaitTimeout#

uint32_t otRadioCoexMetrics::mNumRxGrantWaitTimeout

Number of rx requests while grant was inactive that timed out.


Definition at line 419 of file include/openthread/platform/radio.h

mNumRxGrantDeactivatedDuringRequest#

uint32_t otRadioCoexMetrics::mNumRxGrantDeactivatedDuringRequest

Number of rx that were in progress when grant was deactivated.


Definition at line 420 of file include/openthread/platform/radio.h

mNumRxDelayedGrant#

uint32_t otRadioCoexMetrics::mNumRxDelayedGrant

Number of rx requests that were not granted within 50us.


Definition at line 421 of file include/openthread/platform/radio.h

mAvgRxRequestToGrantTime#

uint32_t otRadioCoexMetrics::mAvgRxRequestToGrantTime

Average time in usec from rx request to grant.


Definition at line 422 of file include/openthread/platform/radio.h

mNumRxGrantNone#

uint32_t otRadioCoexMetrics::mNumRxGrantNone

Number of rx requests that completed without receiving grant.


Definition at line 423 of file include/openthread/platform/radio.h

mStopped#

bool otRadioCoexMetrics::mStopped

Stats collection stopped due to saturation.


Definition at line 424 of file include/openthread/platform/radio.h