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 217 of file include/openthread/netdiag.h

mDetachedRole#

uint16_t otNetworkDiagMleCounters::mDetachedRole

Number of times device entered detached role.


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

mChildRole#

uint16_t otNetworkDiagMleCounters::mChildRole

Number of times device entered child role.


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

mRouterRole#

uint16_t otNetworkDiagMleCounters::mRouterRole

Number of times device entered router role.


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

mLeaderRole#

uint16_t otNetworkDiagMleCounters::mLeaderRole

Number of times device entered leader role.


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

mAttachAttempts#

uint16_t otNetworkDiagMleCounters::mAttachAttempts

Number of attach attempts while device was detached.


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

mPartitionIdChanges#

uint16_t otNetworkDiagMleCounters::mPartitionIdChanges

Number of changes to partition ID.


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

mBetterPartitionAttachAttempts#

uint16_t otNetworkDiagMleCounters::mBetterPartitionAttachAttempts

Number of attempts to attach to a better partition.


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

mParentChanges#

uint16_t otNetworkDiagMleCounters::mParentChanges

Number of time device changed its parent.


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

mTrackedTime#

uint64_t otNetworkDiagMleCounters::mTrackedTime

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


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

mDisabledTime#

uint64_t otNetworkDiagMleCounters::mDisabledTime

Milliseconds device has been in disabled role.


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

mDetachedTime#

uint64_t otNetworkDiagMleCounters::mDetachedTime

Milliseconds device has been in detached role.


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

mChildTime#

uint64_t otNetworkDiagMleCounters::mChildTime

Milliseconds device has been in child role.


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

mRouterTime#

uint64_t otNetworkDiagMleCounters::mRouterTime

Milliseconds device has been in router role.


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

mLeaderTime#

uint64_t otNetworkDiagMleCounters::mLeaderTime

Milliseconds device has been in leader role.


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