ESP-IDF
ot::Message::Type
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Message::Type
ot::Message::Type enum
Represents the message type.
Syntax
Show:
Summary
Declaration
from
message.hpp:277
enum
Type
:
uint8_t
{
kTypeIp6
=
0
,
kType6lowpan
=
1
,
kTypeSupervision
=
2
,
kTypeMacEmptyData
=
3
,
kTypeIp4
=
4
,
kTypeBle
=
5
,
kTypeOther
=
6
,
}
;
Values
Value
Declared as
ot::Message::Type::kTypeIp6
=
0
ot::Message::Type::kType6lowpan
=
1
ot::Message::Type::kTypeSupervision
=
2
ot::Message::Type::kTypeMacEmptyData
=
3
ot::Message::Type::kTypeIp4
=
4
ot::Message::Type::kTypeBle
=
5
ot::Message::Type::kTypeOther
=
6
Examples
References
from
examples
Code
Location
Scope
Referrer
enum
Type
:
uint8_t
message.hpp:277
Message
*
MessagePool
::
Allocate
(
Message
::
Type
aType
,
uint16_t
aReserveHeader
,
const
Message
::
Settings
&
aSettings
)
message.cpp:61
ot::MessagePool::Allocate()
ot::MessagePool::Allocate()::aType
Message
*
MessagePool
::
Allocate
(
Message
::
Type
aType
)
{
return
Allocate
(
aType
,
0
,
Message
::
Settings
::
GetDefault
(
)
)
;
}
message.cpp:89
ot::MessagePool::Allocate()
ot::MessagePool::Allocate()::aType
Message
*
MessagePool
::
Allocate
(
Message
::
Type
aType
,
uint16_t
aReserveHeader
)
message.cpp:91
ot::MessagePool::Allocate()
ot::MessagePool::Allocate()::aType
Type
GetType
(
void
)
const
{
return
static_cast
<
Type
>
(
GetMetadata
(
)
.
mType
)
;
}
message.hpp:540
ot::Message::GetType() const
void
SetType
(
Type
aType
)
{
GetMetadata
(
)
.
mType
=
aType
;
}
message.hpp:547
ot::Message::SetType()
ot::Message::SetType()::aType
Message
*
Allocate
(
Message
::
Type
aType
,
uint16_t
aReserveHeader
,
const
Message
::
Settings
&
aSettings
)
;
message.hpp:1826
ot::MessagePool::Allocate()
ot::MessagePool::Allocate()::aType
Message
*
Allocate
(
Message
::
Type
aType
)
;
message.hpp:1835
ot::MessagePool::Allocate()
ot::MessagePool::Allocate()::aType
Message
*
Allocate
(
Message
::
Type
aType
,
uint16_t
aReserveHeader
)
;
message.hpp:1845
ot::MessagePool::Allocate()
ot::MessagePool::Allocate()::aType
Call Tree
from
examples
All items filtered out
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
Instance
Scope
Location
Project
return
ot::Message::GetType() const
message.hpp:540
ot::Message::SetType()::aType
ot::Message::SetType()
message.hpp:547
ot::MessagePool::Allocate()::aType
ot::MessagePool::Allocate()
message.hpp:1826
ot::MessagePool::Allocate()::aType
ot::MessagePool::Allocate()
message.hpp:1835
ot::MessagePool::Allocate()::aType
ot::MessagePool::Allocate()
message.hpp:1845
ot::MessagePool::Allocate()::aType
ot::MessagePool::Allocate()
message.cpp:61
ot::MessagePool::Allocate()::aType
ot::MessagePool::Allocate()
message.cpp:89
ot::MessagePool::Allocate()::aType
ot::MessagePool::Allocate()
message.cpp:91
Lifecycle
from
examples
All items filtered out
All items filtered out