ESP-IDF
ot::MeshCoP::NetworkNameTlv
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::MeshCoP::NetworkNameTlv
ot::MeshCoP::NetworkNameTlv class
Syntax
Show:
Summary
Declaration
from
meshcop_tlvs.hpp:256
class
NetworkNameTlv
:
public
Tlv
,
public
StringTlvInfo
<
Tlv
::
kNetworkName
,
NetworkName
::
kMaxSize
>
{
public
:
void
Init
(
void
)
{
SetType
(
kNetworkName
)
;
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
}
bool
IsValid
(
void
)
const
;
NameData
GetNetworkName
(
void
)
const
;
void
SetNetworkName
(
const
NameData
&
aNameData
)
;
private
:
char
mNetworkName
[
NetworkName
::
kMaxSize
]
;
}
;
Fields
Field
Declared as
ot::MeshCoP::NetworkNameTlv::mNetworkName
char
[
NetworkName
::
kMaxSize
]
Methods
Init()
Initializes the TLV.
IsValid() const
Indicates whether or not the TLV appears to be well-formed.
GetNetworkName() const
Gets the Network Name value.
SetNetworkName()
Sets the Network Name value.
Examples
References
from
examples
Code
Location
Referrer
class
NetworkNameTlv
:
public
Tlv
,
public
StringTlvInfo
<
Tlv
::
kNetworkName
,
NetworkName
::
kMaxSize
>
meshcop_tlvs.hpp:256
isValid
=
As
<
NetworkNameTlv
>
(
aTlv
)
.
IsValid
(
)
;
dataset.cpp:157
ot::MeshCoP::Dataset::IsTlvValid()
IgnoreError
(
aDatasetInfo
.
Update
<
kNetworkName
>
(
)
.
Set
(
As
<
NetworkNameTlv
>
(
cur
)
->
GetNetworkName
(
)
)
)
;
dataset.cpp:276
ot::MeshCoP::Dataset::ConvertTo() const
IgnoreError
(
Get
<
NetworkNameManager
>
(
)
.
SetNetworkName
(
As
<
NetworkNameTlv
>
(
cur
)
->
GetNetworkName
(
)
)
)
;
dataset_manager.cpp:218
ot::MeshCoP::DatasetManager::ApplyConfiguration() const
if
(
!
dataset
.
Contains
<
NetworkNameTlv
>
(
)
)
dataset_manager_ftd.cpp:320
ot::MeshCoP::ActiveDatasetManager::GenerateLocal()
SuccessOrExit
(
error
=
Tlv
::
Read
<
MeshCoP
::
NetworkNameTlv
>
(
aRxInfo
.
mMessage
,
offsetRange
.
GetOffset
(
)
,
discover_scanner.cpp:351
ot::Mle::DiscoverScanner::HandleDiscoveryResponse() const
NameData
NetworkNameTlv
::
GetNetworkName
(
void
)
const
meshcop_tlvs.cpp:41
ot::MeshCoP::NetworkNameTlv::GetNetworkName() const
void
NetworkNameTlv
::
SetNetworkName
(
const
NameData
&
aNameData
)
meshcop_tlvs.cpp:53
ot::MeshCoP::NetworkNameTlv::SetNetworkName()
bool
NetworkNameTlv
::
IsValid
(
void
)
const
{
return
IsValidUtf8String
(
mNetworkName
,
GetLength
(
)
)
;
}
meshcop_tlvs.cpp:61
ot::MeshCoP::NetworkNameTlv::IsValid() const
SuccessOrExit
(
error
=
Tlv
::
Append
<
MeshCoP
::
NetworkNameTlv
>
(
mle_router.cpp:2711
ot::Mle::MleRouter::SendDiscoveryResponse()
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::MeshCoP::NetworkNameTlv
is inherited by 1 classes:
All items filtered out
ot::MeshCoP::NetworkNameTlv
ot::MeshCoP::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