ESP-IDF
ot::ThreadTlv
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
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::ThreadTlv
ot::ThreadTlv class
Syntax
Show:
Summary
Declaration
from
thread_tlvs.hpp:53
class
ThreadTlv
:
public
ot
::
Tlv
{
public
:
enum
Type
:
uint8_t
{
kTarget
=
0
,
kExtMacAddress
=
1
,
kRloc16
=
2
,
kMeshLocalEid
=
3
,
kStatus
=
4
,
kLastTransactionTime
=
6
,
kRouterMask
=
7
,
kNdOption
=
8
,
kNdData
=
9
,
kThreadNetworkData
=
10
,
kTimeout
=
11
,
kNetworkName
=
12
,
kIp6Addresses
=
14
,
kCommissionerSessionId
=
15
,
}
;
Type
GetType
(
void
)
const
{
return
static_cast
<
Type
>
(
ot
::
Tlv
::
GetType
(
)
)
;
}
void
SetType
(
Type
aType
)
{
ot
::
Tlv
::
SetType
(
static_cast
<
uint8_t
>
(
aType
)
)
;
}
}
;
Methods
GetType() const
Returns the Type value.
SetType()
Sets the Type value.
Examples
References
from
examples
Code
Location
Scope
Referrer
class
ThreadTlv
:
public
ot
::
Tlv
thread_tlvs.hpp:53
SuccessOrExit
(
error
=
Tlv
::
FindTlvValueOffsetRange
(
aMessage
,
ThreadTlv
::
kNetworkName
,
offsetRange
)
)
;
bbr_manager.cpp:587
ot::BackboneRouter::Manager::HandleTmf()
if
(
ThreadTlv
::
FindTlvValueOffsetRange
(
*
aMessage
,
Ip6AddressesTlv
::
kIp6Addresses
,
offsetRange
)
==
kErrorNone
)
mlr_manager.cpp:487
ot::MlrManager::ParseMlrResponse()
ThreadTlv
tlv
;
network_data_notifier.cpp:195
ot::NetworkData::Notifier::SendServerDataNotification()
tlv
.
SetType
(
ThreadTlv
::
kThreadNetworkData
)
;
network_data_notifier.cpp:197
ot::NetworkData::Notifier::SendServerDataNotification()
typedef
SimpleTlvInfo
<
ThreadTlv
::
kTarget
,
Ip6
::
Address
>
ThreadTargetTlv
;
thread_tlvs.hpp:96
typedef
SimpleTlvInfo
<
ThreadTlv
::
kExtMacAddress
,
Mac
::
ExtAddress
>
ThreadExtMacAddressTlv
;
thread_tlvs.hpp:101
typedef
UintTlvInfo
<
ThreadTlv
::
kRloc16
,
uint16_t
>
ThreadRloc16Tlv
;
thread_tlvs.hpp:106
typedef
SimpleTlvInfo
<
ThreadTlv
::
kMeshLocalEid
,
Ip6
::
InterfaceIdentifier
>
ThreadMeshLocalEidTlv
;
thread_tlvs.hpp:111
typedef
UintTlvInfo
<
ThreadTlv
::
kLastTransactionTime
,
uint32_t
>
ThreadLastTransactionTimeTlv
;
thread_tlvs.hpp:116
typedef
UintTlvInfo
<
ThreadTlv
::
kTimeout
,
uint32_t
>
ThreadTimeoutTlv
;
thread_tlvs.hpp:121
typedef
StringTlvInfo
<
ThreadTlv
::
kNetworkName
,
MeshCoP
::
NetworkName
::
kMaxSize
>
ThreadNetworkNameTlv
;
thread_tlvs.hpp:126
typedef
UintTlvInfo
<
ThreadTlv
::
kCommissionerSessionId
,
uint16_t
>
ThreadCommissionerSessionIdTlv
;
thread_tlvs.hpp:131
class
ThreadRouterMaskTlv
:
public
ThreadTlv
,
public
TlvInfo
<
ThreadTlv
::
kRouterMask
>
thread_tlvs.hpp:185
ot::ThreadRouterMaskTlv
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
ThreadTlv
)
)
;
thread_tlvs.hpp:194
ot::ThreadRouterMaskTlv::Init()
bool
IsValid
(
void
)
const
{
return
GetLength
(
)
>=
sizeof
(
*
this
)
-
sizeof
(
ThreadTlv
)
;
}
thread_tlvs.hpp:204
ot::ThreadRouterMaskTlv::IsValid() const
class
ThreadNetworkDataTlv
:
public
ThreadTlv
,
public
TlvInfo
<
ThreadTlv
::
kThreadNetworkData
>
thread_tlvs.hpp:250
ot::ThreadNetworkDataTlv
class
Ip6AddressesTlv
:
public
ThreadTlv
,
public
TlvInfo
<
ThreadTlv
::
kIp6Addresses
>
thread_tlvs.hpp:288
ot::Ip6AddressesTlv
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::ThreadTlv
inherits 3 classess and is inherited by 1 classes:
ot::ThreadRouterMaskTlv
ot::ThreadNetworkDataTlv
ot::Ip6AddressesTlv
All items filtered out
ot::ThreadTlv
ot::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