Represents a Network Diagnostics MLE Counters value.

Public Attributes#

uint16_t

Number of times device entered disabled role.

uint16_t

Number of times device entered detached role.

uint16_t

Number of times device entered child role.

uint16_t

Number of times device entered router role.

uint16_t

Number of times device entered leader role.

uint16_t

Number of attach attempts while device was detached.

uint16_t

Number of changes to partition ID.

uint16_t

Number of attempts to attach to a better partition.

uint16_t

Number of time device changed its parent.

uint64_t

Milliseconds tracked by next counters (zero if not supported).

uint64_t

Milliseconds device has been in disabled role.

uint64_t

Milliseconds device has been in detached role.

uint64_t

Milliseconds device has been in child role.

uint64_t

Milliseconds device has been in router role.

uint64_t

Milliseconds device has been in leader role.

Public Attribute Documentation#

mDisabledRole#

uint16_t otNetworkDiagMleCounters::mDisabledRole

Number of times device entered disabled role.


Definition at line 160 of file include/openthread/netdiag.h

mDetachedRole#

uint16_t otNetworkDiagMleCounters::mDetachedRole

Number of times device entered detached role.


Definition at line 161 of file include/openthread/netdiag.h

mChildRole#

uint16_t otNetworkDiagMleCounters::mChildRole

Number of times device entered child role.


Definition at line 162 of file include/openthread/netdiag.h

mRouterRole#

uint16_t otNetworkDiagMleCounters::mRouterRole

Number of times device entered router role.


Definition at line 163 of file include/openthread/netdiag.h

mLeaderRole#

uint16_t otNetworkDiagMleCounters::mLeaderRole

Number of times device entered leader role.


Definition at line 164 of file include/openthread/netdiag.h

mAttachAttempts#

uint16_t otNetworkDiagMleCounters::mAttachAttempts

Number of attach attempts while device was detached.


Definition at line 165 of file include/openthread/netdiag.h

mPartitionIdChanges#

uint16_t otNetworkDiagMleCounters::mPartitionIdChanges

Number of changes to partition ID.


Definition at line 166 of file include/openthread/netdiag.h

mBetterPartitionAttachAttempts#

uint16_t otNetworkDiagMleCounters::mBetterPartitionAttachAttempts

Number of attempts to attach to a better partition.


Definition at line 167 of file include/openthread/netdiag.h

mParentChanges#

uint16_t otNetworkDiagMleCounters::mParentChanges

Number of time device changed its parent.


Definition at line 168 of file include/openthread/netdiag.h

mTrackedTime#

uint64_t otNetworkDiagMleCounters::mTrackedTime

Milliseconds tracked by next counters (zero if not supported).


Definition at line 169 of file include/openthread/netdiag.h

mDisabledTime#

uint64_t otNetworkDiagMleCounters::mDisabledTime

Milliseconds device has been in disabled role.


Definition at line 170 of file include/openthread/netdiag.h

mDetachedTime#

uint64_t otNetworkDiagMleCounters::mDetachedTime

Milliseconds device has been in detached role.


Definition at line 171 of file include/openthread/netdiag.h

mChildTime#

uint64_t otNetworkDiagMleCounters::mChildTime

Milliseconds device has been in child role.


Definition at line 172 of file include/openthread/netdiag.h

mRouterTime#

uint64_t otNetworkDiagMleCounters::mRouterTime

Milliseconds device has been in router role.


Definition at line 173 of file include/openthread/netdiag.h

mLeaderTime#

uint64_t otNetworkDiagMleCounters::mLeaderTime

Milliseconds device has been in leader role.


Definition at line 174 of file include/openthread/netdiag.h