ESP-IDF
ot::MeshCoP::BorderAgentLocatorTlv
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::BorderAgentLocatorTlv
ot::MeshCoP::BorderAgentLocatorTlv class
Syntax
Show:
Summary
Declaration
from
meshcop_tlvs.hpp:371
class
BorderAgentLocatorTlv
:
public
Tlv
,
public
UintTlvInfo
<
Tlv
::
kBorderAgentLocator
,
uint16_t
>
{
public
:
void
Init
(
void
)
{
SetType
(
kBorderAgentLocator
)
;
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
)
;
}
bool
IsValid
(
void
)
const
{
return
GetLength
(
)
>=
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
;
}
uint16_t
GetBorderAgentLocator
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mLocator
)
;
}
void
SetBorderAgentLocator
(
uint16_t
aLocator
)
{
mLocator
=
BigEndian
::
HostSwap16
(
aLocator
)
;
}
private
:
uint16_t
mLocator
;
}
;
Fields
Field
Declared as
ot::MeshCoP::BorderAgentLocatorTlv::mLocator
uint16_t
Methods
Init()
Initializes the TLV.
IsValid() const
Indicates whether or not the TLV appears to be well-formed.
GetBorderAgentLocator() const
Returns the Border Agent Locator value.
SetBorderAgentLocator()
Sets the Border Agent Locator value.
Examples
References
from
examples
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
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