ESP-IDF
ot::SettingsBase::NetworkInfo::GetRole() 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::SettingsBase::NetworkInfo::GetRole() const
ot::SettingsBase::NetworkInfo::GetRole() const method
Returns the Thread role.
Syntax
Show:
Summary
Declaration
from
settings.hpp:155
uint8_t
GetRole
(
void
)
const
;
Return value
The Thread role.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetRole
(
void
)
const
{
return
mRole
;
}
settings.hpp:155
mLastSavedRole
=
static_cast
<
DeviceRole
>
(
networkInfo
.
GetRole
(
)
)
;
mle.cpp:370
ot::Mle::Mle
ot::Mle::Mle::Restore()
Mle
::
RoleToString
(
static_cast
<
Mle
::
DeviceRole
>
(
GetRole
(
)
)
)
,
GetDeviceMode
(
)
,
GetVersion
(
)
,
settings.cpp:53
ot::SettingsBase::NetworkInfo
ot::SettingsBase::NetworkInfo::Log() const
Call Tree
from
examples
ot::SettingsBase::NetworkInfo::GetRole() const
is called by 2 functions:
ot::SettingsBase::NetworkInfo::Log() const
ot::Mle::Mle::Restore()
All items filtered out
ot::SettingsBase::NetworkInfo::GetRole() const
All items filtered out
Data Use
from
examples
ot::SettingsBase::NetworkInfo::GetRole() const
reads 1 variable:
ot::SettingsBase::NetworkInfo::mRole
All items filtered out
ot::SettingsBase::NetworkInfo::GetRole() const
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