ESP-IDF
ot::Mac::Address::IsBroadcast() 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::Mac::Address::IsBroadcast() const
ot::Mac::Address::IsBroadcast() const method
Indicates whether or not the address is a Short Broadcast Address.
Syntax
Show:
Summary
Declaration
from
mac_types.hpp:352
bool
IsBroadcast
(
void
)
const
;
Return value
TRUE if address is Short Broadcast Address, FALSE otherwise.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsBroadcast
(
void
)
const
{
return
(
(
mType
==
kTypeShort
)
&&
(
GetShort
(
)
==
kShortAddrBroadcast
)
)
;
}
mac_types.hpp:352
if
(
dstAddr
.
IsBroadcast
(
)
)
mac.cpp:1234
ot::Mac::Mac
ot::Mac::Mac::RecordFrameTransmitStatus()
if
(
dstAddr
.
IsBroadcast
(
)
)
mac.cpp:1263
ot::Mac::Mac
ot::Mac::Mac::HandleTransmitDone()
VerifyOrExit
(
(
mRxOnWhenIdle
&&
dstaddr
.
IsBroadcast
(
)
)
||
dstaddr
.
GetShort
(
)
==
GetShortAddress
(
)
,
mac.cpp:1798
ot::Mac::Mac
ot::Mac::Mac::HandleReceivedFrame()
if
(
neighbor
==
nullptr
&&
dstaddr
.
IsBroadcast
(
)
&&
Get
<
Mle
::
MleRouter
>
(
)
.
IsFullThreadDevice
(
)
)
mac.cpp:1803
ot::Mac::Mac
ot::Mac::Mac::HandleReceivedFrame()
if
(
dstaddr
.
IsBroadcast
(
)
)
mac.cpp:1849
ot::Mac::Mac
ot::Mac::Mac::HandleReceivedFrame()
VerifyOrExit
(
!
address
.
IsNone
(
)
&&
!
address
.
IsBroadcast
(
)
,
error
=
kErrorParse
)
;
mac_frame.cpp:1401
ot::Mac::TxFrame
ot::Mac::TxFrame::GenerateEnhAck()
VerifyOrExit
(
!
aRxInfo
.
GetDstAddr
(
)
.
IsBroadcast
(
)
&&
aRxInfo
.
GetSrcAddr
(
)
.
IsShort
(
)
)
;
mesh_forwarder_ftd.cpp:673
ot::MeshForwarder
ot::MeshForwarder::UpdateRoutes()
if
(
destAddr
.
IsNone
(
)
||
destAddr
.
IsBroadcast
(
)
)
trel_link.cpp:134
ot::Trel::Link
ot::Trel::Link::BeginTransmit()
Call Tree
from
examples
ot::Mac::Address::IsBroadcast() const
is called by 6 functions and calls 1 function:
ot::Mac::Mac::RecordFrameTransmitStatus()
ot::Mac::Mac::HandleTransmitDone()
ot::Mac::Mac::HandleReceivedFrame()
ot::Mac::TxFrame::GenerateEnhAck()
ot::Trel::Link::BeginTransmit()
ot::MeshForwarder::UpdateRoutes()
All items filtered out
ot::Mac::Address::IsBroadcast() const
ot::Mac::Address::GetShort() const
All items filtered out
Data Use
from
examples
ot::Mac::Address::IsBroadcast() const
reads 3 variables:
ot::Mac::kShortAddrBroadcast
ot::Mac::Address::Type::kTypeShort
ot::Mac::Address::mType
All items filtered out
ot::Mac::Address::IsBroadcast() 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