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.


mDetachedRole#

uint16_t otNetworkDiagMleCounters::mDetachedRole

Number of times device entered detached role.


mChildRole#

uint16_t otNetworkDiagMleCounters::mChildRole

Number of times device entered child role.


mRouterRole#

uint16_t otNetworkDiagMleCounters::mRouterRole

Number of times device entered router role.


mLeaderRole#

uint16_t otNetworkDiagMleCounters::mLeaderRole

Number of times device entered leader role.


mAttachAttempts#

uint16_t otNetworkDiagMleCounters::mAttachAttempts

Number of attach attempts while device was detached.


mPartitionIdChanges#

uint16_t otNetworkDiagMleCounters::mPartitionIdChanges

Number of changes to partition ID.


mBetterPartitionAttachAttempts#

uint16_t otNetworkDiagMleCounters::mBetterPartitionAttachAttempts

Number of attempts to attach to a better partition.


mParentChanges#

uint16_t otNetworkDiagMleCounters::mParentChanges

Number of time device changed its parent.


mTrackedTime#

uint64_t otNetworkDiagMleCounters::mTrackedTime

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


mDisabledTime#

uint64_t otNetworkDiagMleCounters::mDisabledTime

Milliseconds device has been in disabled role.


mDetachedTime#

uint64_t otNetworkDiagMleCounters::mDetachedTime

Milliseconds device has been in detached role.


mChildTime#

uint64_t otNetworkDiagMleCounters::mChildTime

Milliseconds device has been in child role.


mRouterTime#

uint64_t otNetworkDiagMleCounters::mRouterTime

Milliseconds device has been in router role.


mLeaderTime#

uint64_t otNetworkDiagMleCounters::mLeaderTime

Milliseconds device has been in leader role.