ESP-IDF
ot::Message::GetType() 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::Message::GetType() const
ot::Message::GetType() const method
Returns the type of the message.
Syntax
Show:
Summary
Declaration
from
message.hpp:540
Type
GetType
(
void
)
const
;
Return value
The type of the message.
Examples
References
from
examples
Code
Location
Scope
Referrer
Type
GetType
(
void
)
const
{
return
static_cast
<
Type
>
(
GetMetadata
(
)
.
mType
)
;
}
message.hpp:540
VerifyOrExit
(
aMessage
.
GetType
(
)
==
Message
::
kTypeSupervision
)
;
child_supervision.cpp:54
ot::ChildSupervisor
ot::ChildSupervisor::GetDestination() const
if
(
(
aMessage
.
GetType
(
)
!=
Message
::
kTypeSupervision
)
&&
(
aChild
.
GetIndirectMessageCount
(
)
>
1
)
)
indirect_sender.cpp:98
ot::IndirectSender
ot::IndirectSender::AddMessageForSleepyChild()
switch
(
message
->
GetType
(
)
)
indirect_sender.cpp:334
ot::IndirectSender
ot::IndirectSender::PrepareFrameForChild()
if
(
message
->
GetType
(
)
==
Message
::
kTypeIp6
)
indirect_sender.cpp:514
ot::IndirectSender
ot::IndirectSender::HandleSentFrameToChild()
return
aMessage
.
GetType
(
)
==
Message
::
kTypeSupervision
;
indirect_sender.cpp:566
ot::IndirectSender
ot::IndirectSender::AcceptSupervisionMessage()
if
(
aMessage
.
GetType
(
)
==
Message
::
kTypeIp6
)
mesh_forwarder.cpp:228
ot::MeshForwarder
ot::MeshForwarder::UpdateEcnOrDrop()
else
if
(
aMessage
.
GetType
(
)
==
Message
::
kType6lowpan
)
mesh_forwarder.cpp:261
ot::MeshForwarder
ot::MeshForwarder::UpdateEcnOrDrop()
switch
(
curMessage
->
GetType
(
)
)
mesh_forwarder.cpp:551
ot::MeshForwarder
ot::MeshForwarder::PrepareNextDirectTransmission()
switch
(
mSendMessage
->
GetType
(
)
)
mesh_forwarder.cpp:753
ot::MeshForwarder
ot::MeshForwarder::HandleFrameRequest()
if
(
aMessage
.
GetType
(
)
==
Message
::
kTypeIp6
)
mesh_forwarder.cpp:1319
ot::MeshForwarder
ot::MeshForwarder::FinalizeMessageDirectTx()
if
(
aMessage
.
GetType
(
)
==
Message
::
kTypeIp6
)
mesh_forwarder.cpp:1685
ot::MeshForwarder
ot::MeshForwarder::HandleDatagram()
switch
(
aMessage
.
GetType
(
)
)
mesh_forwarder.cpp:1952
ot::MeshForwarder
ot::MeshForwarder::LogMessage()
switch
(
message
.
GetType
(
)
)
mesh_forwarder_ftd.cpp:53
ot::MeshForwarder
ot::MeshForwarder::SendMessage()
messageCopy
=
GetMessagePool
(
)
->
Allocate
(
GetType
(
)
,
GetReserved
(
)
,
settings
)
;
message.cpp:772
ot::Message
ot::Message::Clone() const
Call Tree
from
examples
ot::Message::GetType() const
is called by 13 functions:
ot::Message::Clone() const
ot::ChildSupervisor::GetDestination() const
ot::IndirectSender::AddMessageForSleepyChild()
ot::IndirectSender::PrepareFrameForChild()
ot::IndirectSender::HandleSentFrameToChild()
ot::IndirectSender::AcceptSupervisionMessage()
ot::MeshForwarder::UpdateEcnOrDrop()
ot::MeshForwarder::PrepareNextDirectTransmission()
ot::MeshForwarder::HandleFrameRequest()
ot::MeshForwarder::FinalizeMessageDirectTx()
ot::MeshForwarder::HandleDatagram()
ot::MeshForwarder::LogMessage()
ot::MeshForwarder::SendMessage()
All items filtered out
ot::Message::GetType() const
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