ESP-IDF
ot::Mle::DeviceMode::IsRxOnWhenIdle() 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::Mle::DeviceMode::IsRxOnWhenIdle() const
ot::Mle::DeviceMode::IsRxOnWhenIdle() const method
Indicates whether or not the device is rx-on-when-idle.
Syntax
Show:
Summary
Declaration
from
mle_types.hpp:246
bool
IsRxOnWhenIdle
(
void
)
const
;
Return value
TRUE If the device is rx-on-when-idle (non-sleepy). FALSE If the device is not rx-on-when-idle (sleepy).
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsRxOnWhenIdle
(
void
)
const
{
return
(
mMode
&
kModeRxOnWhenIdle
)
!=
0
;
}
mle_types.hpp:246
if
(
!
aOldMode
.
IsRxOnWhenIdle
(
)
&&
aChild
.
IsRxOnWhenIdle
(
)
&&
(
aChild
.
GetIndirectMessageCount
(
)
>
0
)
)
indirect_sender.cpp:191
ot::IndirectSender
ot::IndirectSender::HandleChildModeChange()
mInitiallyAttachedAsSleepy
=
!
GetDeviceMode
(
)
.
IsRxOnWhenIdle
(
)
;
mle.cpp:325
ot::Mle::Mle
ot::Mle::Mle::SetRole()
if
(
mode
.
IsRxOnWhenIdle
(
)
)
mle_router.cpp:2132
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleChildUpdateRequestOnParent()
aModeConfig
.
mRxOnWhenIdle
=
IsRxOnWhenIdle
(
)
;
mle_types.cpp:50
ot::Mle::DeviceMode
ot::Mle::DeviceMode::Get() const
string
.
Append
(
"rx-on:%s ftd:%s full-net:%s"
,
ToYesNo
(
IsRxOnWhenIdle
(
)
)
,
ToYesNo
(
IsFullThreadDevice
(
)
)
,
mle_types.cpp:67
ot::Mle::DeviceMode
ot::Mle::DeviceMode::ToString() const
bool
IsValid
(
void
)
const
{
return
!
IsFullThreadDevice
(
)
||
IsRxOnWhenIdle
(
)
;
}
mle_types.hpp:286
ot::Mle::DeviceMode
ot::Mle::DeviceMode::IsValid() const
bool
IsRxOnWhenIdle
(
void
)
const
{
return
GetDeviceMode
(
)
.
IsRxOnWhenIdle
(
)
;
}
neighbor.hpp:321
ot::Neighbor
ot::Neighbor::IsRxOnWhenIdle() const
Call Tree
from
examples
ot::Mle::DeviceMode::IsRxOnWhenIdle() const
is called by 7 functions:
ot::Mle::DeviceMode::IsValid() const
ot::Neighbor::IsRxOnWhenIdle() const
ot::IndirectSender::HandleChildModeChange()
ot::Mle::Mle::SetRole()
ot::Mle::MleRouter::HandleChildUpdateRequestOnParent()
ot::Mle::DeviceMode::Get() const
ot::Mle::DeviceMode::ToString() const
All items filtered out
ot::Mle::DeviceMode::IsRxOnWhenIdle() const
All items filtered out
Data Use
from
examples
ot::Mle::DeviceMode::IsRxOnWhenIdle() const
reads 2 variables:
ot::Mle::DeviceMode::kModeRxOnWhenIdle
ot::Mle::DeviceMode::mMode
All items filtered out
ot::Mle::DeviceMode::IsRxOnWhenIdle() 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