ESP-IDF
ot::Neighbor::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::Neighbor::IsRxOnWhenIdle() const
ot::Neighbor::IsRxOnWhenIdle() const method
Indicates whether or not the device is rx-on-when-idle.
Syntax
Show:
Summary
Declaration
from
neighbor.hpp:321
bool
IsRxOnWhenIdle
(
void
)
const
;
Return value
TRUE if rx-on-when-idle, FALSE otherwise.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsRxOnWhenIdle
(
void
)
const
{
return
GetDeviceMode
(
)
.
IsRxOnWhenIdle
(
)
;
}
neighbor.hpp:321
mRxOnWhenIdle
=
aChild
.
IsRxOnWhenIdle
(
)
;
child.cpp:61
ot::Child::Info::SetFrom()
if
(
child
->
IsStateValidOrRestoring
(
)
&&
!
child
->
IsRxOnWhenIdle
(
)
&&
child
->
HasIp6Address
(
aIp6Address
)
)
child_table.cpp:339
ot::ChildTable::HasSleepyChildWithAddress() const
OT_ASSERT
(
!
aChild
.
IsRxOnWhenIdle
(
)
)
;
indirect_sender.cpp:90
ot::IndirectSender::AddMessageForSleepyChild()
if
(
!
aChild
.
IsRxOnWhenIdle
(
)
&&
(
aChild
.
IsStateValid
(
)
)
)
indirect_sender.cpp:183
ot::IndirectSender::HandleChildModeChange()
if
(
!
aOldMode
.
IsRxOnWhenIdle
(
)
&&
aChild
.
IsRxOnWhenIdle
(
)
&&
(
aChild
.
GetIndirectMessageCount
(
)
>
0
)
)
indirect_sender.cpp:191
ot::IndirectSender::HandleChildModeChange()
if
(
aFrame
->
GetType
(
)
==
Frame
::
kTypeData
&&
!
neighbor
->
IsRxOnWhenIdle
(
)
&&
mac.cpp:1924
ot::Mac::Mac
ot::Mac::Mac::HandleReceivedFrame()
if
(
(
neighbor
!=
nullptr
)
&&
!
neighbor
->
IsRxOnWhenIdle
(
)
&&
!
message
.
IsDirectTransmission
(
)
&&
mesh_forwarder_ftd.cpp:96
ot::MeshForwarder
ot::MeshForwarder::SendMessage()
OT_ASSERT
(
(
child
!=
nullptr
)
&&
!
child
->
IsRxOnWhenIdle
(
)
)
;
mesh_forwarder_ftd.cpp:113
ot::MeshForwarder::SendMessage()
if
(
!
child
->
IsRxOnWhenIdle
(
)
)
mesh_forwarder_ftd.cpp:422
ot::MeshForwarder::UpdateIp6RouteFtd()
if
(
child
->
IsRxOnWhenIdle
(
)
)
mle_router.cpp:2271
ot::Mle::MleRouter::HandleChildUpdateRequestOnParent()
if
(
!
aChild
.
IsRxOnWhenIdle
(
)
)
mle_router.cpp:2812
ot::Mle::MleRouter::SendChildIdResponse()
if
(
!
aChild
.
IsRxOnWhenIdle
(
)
&&
aChild
.
IsStateRestoring
(
)
)
mle_router.cpp:2842
ot::Mle::MleRouter::SendChildUpdateRequest()
if
(
aChild
.
IsRxOnWhenIdle
(
)
)
mle_router.cpp:2890
ot::Mle::MleRouter::SendChildUpdateRequest()
mRxOnWhenIdle
=
aNeighbor
.
IsRxOnWhenIdle
(
)
;
neighbor.cpp:100
ot::Neighbor::Info
ot::Neighbor::Info::SetFrom()
bool
IsThreadVersionCslCapable
(
void
)
const
{
return
IsThreadVersion1p2OrHigher
(
)
&&
!
IsRxOnWhenIdle
(
)
;
}
neighbor.hpp:526
ot::Neighbor
ot::Neighbor::IsThreadVersionCslCapable() const
mFlags
|=
aChild
.
IsRxOnWhenIdle
(
)
?
kFlagsRxOnWhenIdle
:
0
;
network_diagnostic_tlvs.cpp:50
ot::NetworkDiagnostic::ChildTlv::InitFrom()
mSupervisionInterval
=
aChild
.
IsRxOnWhenIdle
(
)
?
0
:
BigEndian
::
HostSwap16
(
aChild
.
GetSupervisionInterval
(
)
)
;
network_diagnostic_tlvs.cpp:61
ot::NetworkDiagnostic::ChildTlv::InitFrom()
Call Tree
from
examples
ot::Neighbor::IsRxOnWhenIdle() const
is called by 4 functions and calls 2 functions:
ot::Neighbor::IsThreadVersionCslCapable() const
ot::Mac::Mac::HandleReceivedFrame()
ot::MeshForwarder::SendMessage()
ot::Neighbor::Info::SetFrom()
All items filtered out
ot::Neighbor::IsRxOnWhenIdle() const
ot::Mle::DeviceMode::IsRxOnWhenIdle() const
ot::Neighbor::GetDeviceMode() const
All items filtered out
Data Use
from
examples
ot::Neighbor::IsRxOnWhenIdle() const
writes 10 variables:
All items filtered out
ot::Neighbor::IsRxOnWhenIdle() const
ot::Child::Info::SetFrom()
ot::ChildTable::HasSleepyChildWithAddress() const
ot::IndirectSender::AddMessageForSleepyChild()
ot::IndirectSender::HandleChildModeChange()
ot::MeshForwarder::SendMessage()
ot::MeshForwarder::UpdateIp6RouteFtd()
ot::Mle::MleRouter::HandleChildUpdateRequestOnParent()
ot::Mle::MleRouter::SendChildIdResponse()
ot::Mle::MleRouter::SendChildUpdateRequest()
ot::NetworkDiagnostic::ChildTlv::InitFrom()
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