ESP-IDF
ot::Mle::MleRouter::SetStateRouterOrLeader()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Mle::MleRouter::SetStateRouterOrLeader()
ot::Mle::MleRouter::SetStateRouterOrLeader() method
Syntax
Show:
Summary
Declaration
Definition
from
mle_router.hpp:634
void
SetStateRouterOrLeader
(
DeviceRole
aRole
,
uint16_t
aRloc16
,
LeaderStartMode
aStartMode
)
;
Implemented in
mle_router.cpp:405
Arguments
Argument
aRole
aRloc16
aStartMode
Examples
References
from
examples
Code
Location
Scope
Referrer
void
MleRouter
::
SetStateRouterOrLeader
(
DeviceRole
aRole
,
uint16_t
aRloc16
,
LeaderStartMode
aStartMode
)
mle_router.cpp:405
void
SetStateRouterOrLeader
(
DeviceRole
aRole
,
uint16_t
aRloc16
,
LeaderStartMode
aStartMode
)
;
mle_router.hpp:634
SetStateRouterOrLeader
(
kRoleRouter
,
aRloc16
,
/* aStartMode */
kStartingAsLeader
)
;
mle_router.cpp:397
ot::Mle::MleRouter
ot::Mle::MleRouter::SetStateRouter()
SetStateRouterOrLeader
(
kRoleLeader
,
aRloc16
,
aStartMode
)
;
mle_router.cpp:402
ot::Mle::MleRouter
ot::Mle::MleRouter::SetStateLeader()
Call Tree
from
examples
ot::Mle::MleRouter::SetStateRouterOrLeader()
is called by 2 functions and calls 2 functions:
ot::Mle::MleRouter::SetStateRouter()
ot::Mle::MleRouter::SetStateLeader()
All items filtered out
ot::Mle::MleRouter::SetStateRouterOrLeader()
ot::Mle::MleRouter::ResetAdvertiseInterval()
ot::Mle::MleRouter::StopAdvertiseTrickleTimer()
All items filtered out
Data Use
from
examples
ot::Mle::MleRouter::SetStateRouterOrLeader()
reads 6 variables and writes 1 variable:
ot::Mle::DeviceRole::kRoleLeader
ot::TimeTicker::Receiver::kMleRouter
ot::Mle::Mle::AttachState::kAttachStateIdle
ot::Mle::Mle::SetRole()
ot::Mle::Mle::SetAttachState()
ot::Mle::Mle::SetRloc16()
All items filtered out
ot::Mle::MleRouter::SetStateRouterOrLeader()
ot::Mle::Mle::mAttachCounter
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