ESP-IDF
ot::Mle::MleRouter::IsRouterEligible() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Mle::MleRouter::IsRouterEligible() const
ot::Mle::MleRouter::IsRouterEligible() const method
Indicates whether or not the device is router-eligible.
Syntax
Show:
Summary
Declaration
Definition
from
mle_router.hpp:97
bool
IsRouterEligible
(
void
)
const
;
Implemented in
mle_router.cpp:102
Return value
true If device is router-eligible. false If device is not router-eligible.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
MleRouter
::
IsRouterEligible
(
void
)
const
mle_router.cpp:102
bool
IsRouterEligible
(
void
)
const
;
mle_router.hpp:97
VerifyOrExit
(
IsRouterOrLeader
(
)
&&
!
IsRouterEligible
(
)
)
;
mle_router.cpp:187
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleSecurityPolicyChanged()
VerifyOrExit
(
IsRouterEligible
(
)
,
error
=
kErrorNotCapable
)
;
mle_router.cpp:217
ot::Mle::MleRouter
ot::Mle::MleRouter::BecomeRouter()
VerifyOrExit
(
IsRouterEligible
(
)
,
error
=
kErrorNotCapable
)
;
mle_router.cpp:256
ot::Mle::MleRouter
ot::Mle::MleRouter::BecomeLeader()
VerifyOrExit
(
IsRouterEligible
(
)
,
mAdvertiseTrickleTimer
.
Stop
(
)
)
;
mle_router.cpp:462
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleAdvertiseTrickleTimer()
VerifyOrExit
(
IsAttached
(
)
&&
IsRouterEligible
(
)
)
;
mle_router.cpp:1119
ot::Mle::MleRouter
ot::Mle::MleRouter::IsSingleton() const
VerifyOrExit
(
IsRouterEligible
(
)
,
error
=
kErrorInvalidState
)
;
mle_router.cpp:1348
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleParentRequest()
if
(
roleTransitionTimeoutExpired
&&
!
IsRouterEligible
(
)
)
mle_router.cpp:1529
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleTimeTick()
VerifyOrExit
(
IsRouterEligible
(
)
,
error
=
kErrorInvalidState
)
;
mle_router.cpp:1948
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleChildIdRequest()
VerifyOrExit
(
IsRouterEligible
(
)
,
error
=
kErrorInvalidState
)
;
mle_router.cpp:2595
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleDiscoveryRequest()
return
IsRouterEligible
(
)
&&
IsChild
(
)
&&
!
mAddressSolicitRejected
&&
mle_router.cpp:3360
ot::Mle::MleRouter
ot::Mle::MleRouter::IsExpectedToBecomeRouterSoon() const
Call Tree
from
examples
ot::Mle::MleRouter::IsRouterEligible() const
is called by 10 functions:
ot::Mle::MleRouter::HandleSecurityPolicyChanged()
ot::Mle::MleRouter::BecomeRouter()
ot::Mle::MleRouter::BecomeLeader()
ot::Mle::MleRouter::HandleAdvertiseTrickleTimer()
ot::Mle::MleRouter::IsSingleton() const
ot::Mle::MleRouter::HandleParentRequest()
ot::Mle::MleRouter::HandleTimeTick()
ot::Mle::MleRouter::HandleChildIdRequest()
ot::Mle::MleRouter::HandleDiscoveryRequest()
ot::Mle::MleRouter::IsExpectedToBecomeRouterSoon() const
All items filtered out
ot::Mle::MleRouter::IsRouterEligible() const
All items filtered out
Data Use
from
examples
ot::Mle::MleRouter::IsRouterEligible() const
reads 10 variables:
otSecurityPolicy::mRoutersEnabled
otSecurityPolicy::mCommercialCommissioningEnabled
otSecurityPolicy::mNonCcmRoutersEnabled
otSecurityPolicy::mVersionThresholdForRouting
ot::Mle::Mle::IsFullThreadDevice() const
ot::Mle::MleRouter::mRouterEligible
ot::Mle::MleRouter::mCcmEnabled
ot::Mle::MleRouter::mThreadVersionCheckEnabled
ot::kThreadVersion
ot::SecurityPolicy::kVersionThresholdOffsetVersion
All items filtered out
ot::Mle::MleRouter::IsRouterEligible() 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