#include <openthread/netdiag.h>
Represents a Network Diagnostics MLE Counters value.
Summary
Public attributes |
|
|---|---|
mAttachAttempts
|
Number of attach attempts while device was detached. |
mBetterPartitionAttachAttempts
|
Number of attempts to attach to a better partition. |
mChildRole
|
Number of times device entered child role. |
mChildTime
|
Milliseconds device has been in child role. |
mDetachedRole
|
Number of times device entered detached role. |
mDetachedTime
|
Milliseconds device has been in detached role. |
mDisabledRole
|
Number of times device entered disabled role. |
mDisabledTime
|
Milliseconds device has been in disabled role. |
mLeaderRole
|
Number of times device entered leader role. |
mLeaderTime
|
Milliseconds device has been in leader role. |
mParentChanges
|
Number of time device changed its parent. |
mPartitionIdChanges
|
Number of changes to partition ID. |
mRouterRole
|
Number of times device entered router role. |
mRouterTime
|
Milliseconds device has been in router role. |
mTrackedTime
|
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.