ESP-IDF
ot::SettingsBase::ParentInfo
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
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::SettingsBase::ParentInfo
ot::SettingsBase::ParentInfo class
Syntax
Show:
Summary
Declaration
from
settings.hpp:318
class
ParentInfo
:
private
Clearable
<
ParentInfo
>
{
friend
class
Settings
;
friend
class
Clearable
<
ParentInfo
>
;
public
:
static
constexpr
Key
kKey
=
kKeyParentInfo
;
void
Init
(
void
)
{
Clear
(
)
;
SetVersion
(
kThreadVersion1p1
)
;
}
const
Mac
::
ExtAddress
&
GetExtAddress
(
void
)
const
{
return
mExtAddress
;
}
void
SetExtAddress
(
const
Mac
::
ExtAddress
&
aExtAddress
)
{
mExtAddress
=
aExtAddress
;
}
uint16_t
GetVersion
(
void
)
const
{
return
LittleEndian
::
HostSwap16
(
mVersion
)
;
}
void
SetVersion
(
uint16_t
aVersion
)
{
mVersion
=
LittleEndian
::
HostSwap16
(
aVersion
)
;
}
private
:
void
Log
(
Action
aAction
)
const
;
Mac
::
ExtAddress
mExtAddress
;
uint16_t
mVersion
;
}
;
Fields
Field
Declared as
ot::SettingsBase::ParentInfo::kKey
ot::SettingsBase::ParentInfo::mExtAddress
Mac
::
ExtAddress
ot::SettingsBase::ParentInfo::mVersion
uint16_t
Methods
Init()
Initializes the `ParentInfo` object.
GetExtAddress() const
Returns the extended address.
SetExtAddress()
Sets the extended address.
GetVersion() const
Returns the Thread version.
SetVersion()
Sets the Thread version.
Log() const
Examples
References
from
examples
Code
Location
Scope
Referrer
class
ParentInfo
:
private
Clearable
<
ParentInfo
>
settings.hpp:318
Settings
::
ParentInfo
parentInfo
;
mle.cpp:345
ot::Mle::Mle::Restore()
Settings
::
ParentInfo
parentInfo
;
mle.cpp:464
ot::Mle::Mle::Store()
void
SettingsBase
::
ParentInfo
::
Log
(
Action
aAction
)
const
settings.cpp:60
ot::SettingsBase::ParentInfo::Log() const
reinterpret_cast
<
const
ParentInfo
*
>
(
aValue
)
->
Log
(
aAction
)
;
settings.cpp:509
ot::Settings::Log()
friend
class
Clearable
<
ParentInfo
>
;
settings.hpp:321
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