ESP-IDF
ot::Mle::MleRouter::RouterRoleRestorer
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::Mle::MleRouter::RouterRoleRestorer
ot::Mle::MleRouter::RouterRoleRestorer class
Syntax
Show:
Summary
Declaration
from
mle_router.hpp:563
class
RouterRoleRestorer
:
public
InstanceLocator
{
public
:
RouterRoleRestorer
(
Instance
&
aInstance
)
;
bool
IsActive
(
void
)
const
{
return
mAttempts
>
0
;
}
void
Start
(
DeviceRole
aPreviousRole
)
;
void
Stop
(
void
)
{
mAttempts
=
0
;
}
void
HandleTimer
(
void
)
;
void
GenerateRandomChallenge
(
void
)
{
mChallenge
.
GenerateRandom
(
)
;
}
const
TxChallenge
&
GetChallenge
(
void
)
const
{
return
mChallenge
;
}
private
:
void
SendMulticastLinkRequest
(
void
)
;
uint8_t
mAttempts
;
TxChallenge
mChallenge
;
}
;
Fields
Field
Declared as
ot::Mle::MleRouter::RouterRoleRestorer::mAttempts
uint8_t
ot::Mle::MleRouter::RouterRoleRestorer::mChallenge
TxChallenge
Methods
IsActive() const
Start()
Stop()
HandleTimer()
GenerateRandomChallenge()
GetChallenge() const
SendMulticastLinkRequest()
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