otNetworkDiagMleCounters

#include <netdiag.h>

Represents a Network Diagnostics MLE Counters value.

Summary

Public attributes

mAttachAttempts
uint16_t
Number of attach attempts while device was detached.
mBetterPartitionAttachAttempts
uint16_t
Number of attempts to attach to a better partition.
mChildRole
uint16_t
Number of times device entered child role.
mChildTime
uint64_t
Milliseconds device has been in child role.
mDetachedRole
uint16_t
Number of times device entered detached role.
mDetachedTime
uint64_t
Milliseconds device has been in detached role.
mDisabledRole
uint16_t
Number of times device entered disabled role.
mDisabledTime
uint64_t
Milliseconds device has been in disabled role.
mLeaderRole
uint16_t
Number of times device entered leader role.
mLeaderTime
uint64_t
Milliseconds device has been in leader role.
mParentChanges
uint16_t
Number of time device changed its parent.
mPartitionIdChanges
uint16_t
Number of changes to partition ID.
mRouterRole
uint16_t
Number of times device entered router role.
mRouterTime
uint64_t
Milliseconds device has been in router role.
mTrackedTime
uint64_t
Milliseconds tracked by next counters (zero if not supported).

Public attributes

mAttachAttempts

uint16_t otNetworkDiagMleCounters::mAttachAttempts

Number of attach attempts while device was detached.

mBetterPartitionAttachAttempts

uint16_t otNetworkDiagMleCounters::mBetterPartitionAttachAttempts

Number of attempts to attach to a better partition.

mChildRole

uint16_t otNetworkDiagMleCounters::mChildRole

Number of times device entered child role.

mChildTime

uint64_t otNetworkDiagMleCounters::mChildTime

Milliseconds device has been in child role.

mDetachedRole

uint16_t otNetworkDiagMleCounters::mDetachedRole

Number of times device entered detached role.

mDetachedTime

uint64_t otNetworkDiagMleCounters::mDetachedTime

Milliseconds device has been in detached role.

mDisabledRole

uint16_t otNetworkDiagMleCounters::mDisabledRole

Number of times device entered disabled role.

mDisabledTime

uint64_t otNetworkDiagMleCounters::mDisabledTime

Milliseconds device has been in disabled role.

mLeaderRole

uint16_t otNetworkDiagMleCounters::mLeaderRole

Number of times device entered leader role.

mLeaderTime

uint64_t otNetworkDiagMleCounters::mLeaderTime

Milliseconds device has been in leader role.

mParentChanges

uint16_t otNetworkDiagMleCounters::mParentChanges

Number of time device changed its parent.

mPartitionIdChanges

uint16_t otNetworkDiagMleCounters::mPartitionIdChanges

Number of changes to partition ID.

mRouterRole

uint16_t otNetworkDiagMleCounters::mRouterRole

Number of times device entered router role.

mRouterTime

uint64_t otNetworkDiagMleCounters::mRouterTime

Milliseconds device has been in router role.

mTrackedTime

uint64_t otNetworkDiagMleCounters::mTrackedTime

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

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.