ESP-IDF
ot::NetworkDiagnostic::AnswerTlv
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::AnswerTlv
ot::NetworkDiagnostic::AnswerTlv class
Syntax
Show:
Summary
Declaration
from
network_diagnostic_tlvs.hpp:961
class
AnswerTlv
:
public
Tlv
,
public
TlvInfo
<
Tlv
::
kAnswer
>
{
public
:
void
Init
(
uint16_t
aIndex
,
bool
aIsLast
)
;
bool
IsLast
(
void
)
const
{
return
GetFlagsIndex
(
)
&
kIsLastFlag
;
}
uint16_t
GetIndex
(
void
)
const
{
return
GetFlagsIndex
(
)
&
kIndexMask
;
}
private
:
static
constexpr
uint16_t
kIsLastFlag
=
1
<
<
15
;
static
constexpr
uint16_t
kIndexMask
=
0x7f
;
uint16_t
GetFlagsIndex
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mFlagsIndex
)
;
}
void
SetFlagsIndex
(
uint16_t
aFlagsIndex
)
{
mFlagsIndex
=
BigEndian
::
HostSwap16
(
aFlagsIndex
)
;
}
uint16_t
mFlagsIndex
;
}
;
Fields
Field
Declared as
ot::NetworkDiagnostic::AnswerTlv::kIsLastFlag
ot::NetworkDiagnostic::AnswerTlv::kIndexMask
ot::NetworkDiagnostic::AnswerTlv::mFlagsIndex
uint16_t
Methods
Init()
Initializes the TLV.
IsLast() const
Indicates whether or not the "IsLast" flag is set.
GetIndex() const
Gets the index.
GetFlagsIndex() const
SetFlagsIndex()
Examples
References
from
examples
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
All items filtered out
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