ESP-IDF
ot::NetworkDiagnostic::MleCountersTlv
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::NetworkDiagnostic::MleCountersTlv
ot::NetworkDiagnostic::MleCountersTlv class
Syntax
Show:
Summary
Declaration
from
network_diagnostic_tlvs.hpp:1006
class
MleCountersTlv
:
public
Tlv
,
public
TlvInfo
<
Tlv
::
kMleCounters
>
{
public
:
void
Init
(
const
Mle
::
Counters
&
aMleCounters
)
;
bool
IsValid
(
void
)
const
{
return
GetLength
(
)
>=
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
;
}
void
Read
(
MleCounters
&
aDiagMleCounters
)
const
;
private
:
uint16_t
mDisabledRole
;
uint16_t
mDetachedRole
;
uint16_t
mChildRole
;
uint16_t
mRouterRole
;
uint16_t
mLeaderRole
;
uint16_t
mAttachAttempts
;
uint16_t
mPartitionIdChanges
;
uint16_t
mBetterPartitionAttachAttempts
;
uint16_t
mParentChanges
;
uint64_t
mTrackedTime
;
uint64_t
mDisabledTime
;
uint64_t
mDetachedTime
;
uint64_t
mChildTime
;
uint64_t
mRouterTime
;
uint64_t
mLeaderTime
;
}
;
Fields
Field
Declared as
ot::NetworkDiagnostic::MleCountersTlv::mDisabledRole
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mDetachedRole
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mChildRole
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mRouterRole
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mLeaderRole
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mAttachAttempts
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mPartitionIdChanges
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mBetterPartitionAttachAttempts
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mParentChanges
uint16_t
ot::NetworkDiagnostic::MleCountersTlv::mTrackedTime
uint64_t
ot::NetworkDiagnostic::MleCountersTlv::mDisabledTime
uint64_t
ot::NetworkDiagnostic::MleCountersTlv::mDetachedTime
uint64_t
ot::NetworkDiagnostic::MleCountersTlv::mChildTime
uint64_t
ot::NetworkDiagnostic::MleCountersTlv::mRouterTime
uint64_t
ot::NetworkDiagnostic::MleCountersTlv::mLeaderTime
uint64_t
Methods
Init()
Initializes the TLV.
IsValid() const
Indicates whether or not the TLV appears to be well-formed.
Read() const
Reads the counters from TLV.
Examples
References
from
examples
Code
Location
Scope
Referrer
class
MleCountersTlv
:
public
Tlv
,
public
TlvInfo
<
Tlv
::
kMleCounters
>
network_diagnostic_tlvs.hpp:1006
MleCountersTlv
tlv
;
network_diagnostic.cpp:304
ot::NetworkDiagnostic::Server::AppendDiagTlv()
MleCountersTlv
mleCoutersTlv
;
network_diagnostic.cpp:1150
ot::NetworkDiagnostic::Client::GetNextDiagTlv()
void
MleCountersTlv
::
Init
(
const
Mle
::
Counters
&
aMleCounters
)
network_diagnostic_tlvs.cpp:106
ot::NetworkDiagnostic::MleCountersTlv::Init()
void
MleCountersTlv
::
Read
(
MleCounters
&
aDiagMleCounters
)
const
network_diagnostic_tlvs.cpp:128
ot::NetworkDiagnostic::MleCountersTlv::Read() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
ot::NetworkDiagnostic::MleCountersTlv
is inherited by 1 classes:
All items filtered out
ot::NetworkDiagnostic::MleCountersTlv
ot::NetworkDiagnostic::Tlv
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out