ESP-IDF
ot::Tlv::SetLength()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Tlv::SetLength()
ot::Tlv::SetLength() method
Sets the Length value.
Syntax
Show:
Summary
Declaration
from
tlvs.hpp:102
void
SetLength
(
uint8_t
aLength
)
;
Arguments
Argument
Description
aLength
The Length value.
Examples
References
from
examples
Code
Location
Scope
Referrer
void
SetLength
(
uint8_t
aLength
)
{
mLength
=
aLength
;
}
tlvs.hpp:102
addressesTlv
.
SetLength
(
sizeof
(
Ip6
::
Address
)
*
aFailedAddressNum
)
;
bbr_manager.cpp:292
ot::BackboneRouter::Manager::SendMulticastListenerRegistrationResponse()
addressesTlv
.
SetLength
(
sizeof
(
Ip6
::
Address
)
*
aAddressNum
)
;
bbr_manager.cpp:324
ot::BackboneRouter::Manager::SendBackboneMulticastListenerRegistration()
newTlv
->
SetLength
(
aLength
)
;
dataset.cpp:374
ot::MeshCoP::Dataset
ot::MeshCoP::Dataset::WriteTlv()
tlv
.
SetLength
(
discover_scanner.cpp:118
ot::Mle::DiscoverScanner
ot::Mle::DiscoverScanner::Discover()
SetLength
(
len
)
;
meshcop_tlvs.cpp:58
ot::MeshCoP::NetworkNameTlv::SetNetworkName()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:265
ot::MeshCoP::NetworkNameTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:329
ot::MeshCoP::SteeringDataTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:380
ot::MeshCoP::BorderAgentLocatorTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:422
ot::MeshCoP::CommissionerSessionIdTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:464
ot::MeshCoP::SecurityPolicyTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:711
ot::MeshCoP::EnergyListTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:789
ot::MeshCoP::VendorStackVersionTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:966
ot::MeshCoP::DiscoveryRequestTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:1044
ot::MeshCoP::DiscoveryResponseTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
meshcop_tlvs.hpp:1151
ot::MeshCoP::JoinerAdvertisementTlv::Init()
SetLength
(
aAdvDataLength
+
sizeof
(
mOui
)
)
;
meshcop_tlvs.hpp:1200
ot::MeshCoP::JoinerAdvertisementTlv::SetAdvData()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
GetLength
(
)
-
startOffset
-
sizeof
(
Tlv
)
)
)
;
mle.cpp:4650
ot::Mle::Mle::TxMessage
ot::Mle::Mle::TxMessage::AppendAddressRegistrationTlv()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
GetLength
(
)
-
startOffset
-
sizeof
(
Tlv
)
)
)
;
mle.cpp:4877
ot::Mle::Mle::TxMessage
ot::Mle::Mle::TxMessage::AppendAddressRegistrationTlv()
routeTlv
.
SetLength
(
0
)
;
// Mark that a Route TLV was not included.
mle_router.cpp:1167
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
discoveryRequestTlv
.
SetLength
(
0
)
;
mle_router.cpp:2593
ot::Mle::MleRouter::HandleDiscoveryRequest()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
message
->
GetLength
(
)
-
startOffset
)
)
;
mle_router.cpp:2727
ot::Mle::MleRouter
ot::Mle::MleRouter::SendDiscoveryResponse()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
mle_tlvs.cpp:49
ot::Mle::RouteTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
mle_tlvs.hpp:594
ot::Mle::LeaderDataTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
mle_tlvs.hpp:684
ot::Mle::ConnectivityTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
mle_tlvs.hpp:1119
ot::Mle::CslClockAccuracyTlv::Init()
addressesTlv
.
SetLength
(
sizeof
(
Ip6
::
Address
)
*
aAddressNum
)
;
mlr_manager.cpp:384
ot::MlrManager::SendMlrMessage()
tlv
.
SetLength
(
aNetworkData
->
GetLength
(
)
)
;
network_data_notifier.cpp:198
ot::NetworkData::Notifier
ot::NetworkData::Notifier::SendServerDataNotification()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
count
*
Ip6
::
Address
::
kSize
)
)
;
network_diagnostic.cpp:127
ot::NetworkDiagnostic::Server
ot::NetworkDiagnostic::Server::AppendIp6AddressList()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
count
*
sizeof
(
ChildTableEntry
)
)
)
;
network_diagnostic.cpp:163
ot::NetworkDiagnostic::Server
ot::NetworkDiagnostic::Server::AppendChildTable()
tlv
.
SetLength
(
length
)
;
network_diagnostic.cpp:343
ot::NetworkDiagnostic::Server::AppendDiagTlv()
tlv
.
SetLength
(
0
)
;
network_diagnostic.cpp:724
ot::NetworkDiagnostic::Server
ot::NetworkDiagnostic::Server::AppendChildTableIp6AddressList()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
numIp6Addr
*
sizeof
(
Ip6
::
Address
)
+
sizeof
(
ChildIp6AddressListTlvValue
)
)
)
;
network_diagnostic.cpp:754
ot::NetworkDiagnostic::Server
ot::NetworkDiagnostic::Server::AppendChildIp6AddressListTlv()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.cpp:48
ot::NetworkDiagnostic::ChildTlv::InitFrom()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.cpp:82
ot::NetworkDiagnostic::RouterNeighborTlv::InitFrom()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.cpp:101
ot::NetworkDiagnostic::AnswerTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.cpp:109
ot::NetworkDiagnostic::MleCountersTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.hpp:327
ot::NetworkDiagnostic::MacCountersTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.hpp:593
ot::NetworkDiagnostic::ChannelPagesTlv::Init()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
network_diagnostic_tlvs.hpp:632
ot::NetworkDiagnostic::TypeListTlv::Init()
SetLength
(
0
)
;
network_diagnostic_tlvs.hpp:664
ot::NetworkDiagnostic::ChildTlv::InitAsEmpty()
SetLength
(
0
)
;
network_diagnostic_tlvs.hpp:863
ot::NetworkDiagnostic::RouterNeighborTlv::InitAsEmpty()
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
ThreadTlv
)
)
;
thread_tlvs.hpp:194
ot::ThreadRouterMaskTlv::Init()
SetLength
(
0
)
;
thread_tlvs.hpp:259
ot::ThreadNetworkDataTlv::Init()
tlv
.
SetLength
(
static_cast
<
uint8_t
>
(
aLength
)
)
;
tlvs.cpp:287
ot::Tlv
ot::Tlv::AppendTlv()
Tlv
::
SetLength
(
kExtendedLength
)
;
tlvs.hpp:726
ot::ExtendedTlv
ot::ExtendedTlv::SetLength()
Call Tree
from
examples
ot::Tlv::SetLength()
is called by 11 functions:
ot::ExtendedTlv::SetLength()
ot::Tlv::AppendTlv()
ot::Mle::DiscoverScanner::Discover()
ot::Mle::Mle::TxMessage::AppendAddressRegistrationTlv()
ot::Mle::MleRouter::SendDiscoveryResponse()
ot::NetworkData::Notifier::SendServerDataNotification()
ot::NetworkDiagnostic::Server::AppendIp6AddressList()
ot::NetworkDiagnostic::Server::AppendChildTable()
ot::NetworkDiagnostic::Server::AppendChildTableIp6AddressList()
ot::NetworkDiagnostic::Server::AppendChildIp6AddressListTlv()
ot::MeshCoP::Dataset::WriteTlv()
All items filtered out
ot::Tlv::SetLength()
All items filtered out
Data Use
from
examples
ot::Tlv::SetLength()
writes 34 variables:
All items filtered out
ot::Tlv::SetLength()
ot::MeshCoP::NetworkNameTlv::Init()
ot::MeshCoP::SteeringDataTlv::Init()
ot::MeshCoP::BorderAgentLocatorTlv::Init()
ot::MeshCoP::CommissionerSessionIdTlv::Init()
ot::MeshCoP::SecurityPolicyTlv::Init()
ot::MeshCoP::EnergyListTlv::Init()
ot::MeshCoP::VendorStackVersionTlv::Init()
ot::MeshCoP::DiscoveryRequestTlv::Init()
ot::MeshCoP::DiscoveryResponseTlv::Init()
ot::MeshCoP::JoinerAdvertisementTlv::Init()
ot::MeshCoP::JoinerAdvertisementTlv::SetAdvData()
ot::Mle::LeaderDataTlv::Init()
ot::Mle::ConnectivityTlv::Init()
ot::Mle::CslClockAccuracyTlv::Init()
ot::ThreadRouterMaskTlv::Init()
ot::ThreadNetworkDataTlv::Init()
ot::NetworkDiagnostic::MacCountersTlv::Init()
ot::NetworkDiagnostic::ChannelPagesTlv::Init()
ot::NetworkDiagnostic::TypeListTlv::Init()
ot::NetworkDiagnostic::ChildTlv::InitAsEmpty()
ot::NetworkDiagnostic::RouterNeighborTlv::InitAsEmpty()
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
ot::Mle::MleRouter::HandleDiscoveryRequest()
ot::Mle::RouteTlv::Init()
ot::MlrManager::SendMlrMessage()
ot::NetworkDiagnostic::Server::AppendDiagTlv()
ot::NetworkDiagnostic::ChildTlv::InitFrom()
ot::NetworkDiagnostic::RouterNeighborTlv::InitFrom()
ot::NetworkDiagnostic::AnswerTlv::Init()
ot::NetworkDiagnostic::MleCountersTlv::Init()
ot::BackboneRouter::Manager::SendMulticastListenerRegistrationResponse()
ot::BackboneRouter::Manager::SendBackboneMulticastListenerRegistration()
ot::MeshCoP::NetworkNameTlv::SetNetworkName()
ot::Tlv::mLength
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