ESP-IDF
ot::MeshCoP::NameData::GetLength() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::MeshCoP::NameData::GetLength() const
ot::MeshCoP::NameData::GetLength() const method
Returns the length (number of chars in buffer).
Syntax
Show:
Summary
Declaration
from
network_name.hpp:81
uint8_t
GetLength
(
void
)
const
;
Return value
The name length.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetLength
(
void
)
const
{
return
Data
<
kWithUint8Length
>
::
GetLength
(
)
;
}
network_name.hpp:81
SuccessOrExit
(
error
=
WriteTlv
(
Tlv
::
kNetworkName
,
nameData
.
GetBuffer
(
)
,
nameData
.
GetLength
(
)
)
)
;
dataset.cpp:480
ot::MeshCoP::Dataset
ot::MeshCoP::Dataset::WriteTlvsFrom()
IgnoreError
(
dataset
.
WriteTlv
(
Tlv
::
kNetworkName
,
nameData
.
GetBuffer
(
)
,
nameData
.
GetLength
(
)
)
)
;
dataset_manager_ftd.cpp:324
ot::MeshCoP::ActiveDatasetManager
ot::MeshCoP::ActiveDatasetManager::GenerateLocal()
uint8_t
newLen
=
static_cast
<
uint8_t
>
(
StringLength
(
data
.
GetBuffer
(
)
,
data
.
GetLength
(
)
)
)
;
network_name.cpp:85
ot::MeshCoP::NetworkName
ot::MeshCoP::NetworkName::Set()
Call Tree
from
examples
ot::MeshCoP::NameData::GetLength() const
is called by 3 functions:
ot::MeshCoP::Dataset::WriteTlvsFrom()
ot::MeshCoP::ActiveDatasetManager::GenerateLocal()
ot::MeshCoP::NetworkName::Set()
All items filtered out
ot::MeshCoP::NameData::GetLength() const
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