ESP-IDF
ot::MeshCoP::NameData::GetBuffer() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
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::GetBuffer() const
ot::MeshCoP::NameData::GetBuffer() const method
Returns the pointer to char buffer (not necessarily null terminated).
Syntax
Show:
Summary
Declaration
from
network_name.hpp:74
const
char
*
GetBuffer
(
void
)
const
;
Return value
The pointer to the char buffer.
Examples
References
from
examples
Code
Location
Scope
Referrer
const
char
*
GetBuffer
(
void
)
const
{
return
reinterpret_cast
<
const
char
*
>
(
GetBytes
(
)
)
;
}
network_name.hpp:74
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::GetBuffer() 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::GetBuffer() 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