ESP-IDF
ot::Coap::Message::GetType() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Coap::Message::GetType() const
ot::Coap::Message::GetType() const method
Returns the Type value.
Syntax
Show:
Summary
Declaration
from
coap_message.hpp:255
uint8_t
GetType
(
void
)
const
;
Return value
The Type value.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetType
(
void
)
const
{
return
(
GetHelpData
(
)
.
mHeader
.
mVersionTypeToken
&
kTypeMask
)
>
>
kTypeOffset
;
}
coap_message.hpp:255
mType
=
aMessage
.
GetType
(
)
;
border_agent.cpp:57
ot::MeshCoP::BorderAgent::ForwardContext
ot::MeshCoP::BorderAgent::ForwardContext::Init()
switch
(
aMessage
.
GetType
(
)
)
coap.cpp:211
ot::Coap::CoapBase
ot::Coap::CoapBase::SendMessage()
switch
(
aRequest
.
GetType
(
)
)
coap.cpp:426
ot::Coap::CoapBase
ot::Coap::CoapBase::SendHeaderResponse()
switch
(
aMessage
.
GetType
(
)
)
coap.cpp:1088
ot::Coap::CoapBase
ot::Coap::CoapBase::ProcessReceivedResponse()
return
static_cast
<
otCoapType
>
(
AsCoapMessage
(
aMessage
)
.
GetType
(
)
)
;
coap_api.cpp:137
otCoapMessageGetType()
bool
IsConfirmable
(
void
)
const
{
return
(
GetType
(
)
==
kTypeConfirmable
)
;
}
coap_message.hpp:693
ot::Coap::Message
ot::Coap::Message::IsConfirmable() const
bool
IsNonConfirmable
(
void
)
const
{
return
(
GetType
(
)
==
kTypeNonConfirmable
)
;
}
coap_message.hpp:701
ot::Coap::Message
ot::Coap::Message::IsNonConfirmable() const
bool
IsAck
(
void
)
const
{
return
(
GetType
(
)
==
kTypeAck
)
;
}
coap_message.hpp:709
ot::Coap::Message
ot::Coap::Message::IsAck() const
bool
IsReset
(
void
)
const
{
return
(
GetType
(
)
==
kTypeReset
)
;
}
coap_message.hpp:717
ot::Coap::Message
ot::Coap::Message::IsReset() const
Call Tree
from
examples
ot::Coap::Message::GetType() const
is called by 9 functions and calls 1 function:
ot::Coap::Message::IsConfirmable() const
ot::Coap::Message::IsNonConfirmable() const
ot::Coap::Message::IsAck() const
ot::Coap::Message::IsReset() const
otCoapMessageGetType()
ot::Coap::CoapBase::SendMessage()
ot::Coap::CoapBase::SendHeaderResponse()
ot::Coap::CoapBase::ProcessReceivedResponse()
ot::MeshCoP::BorderAgent::ForwardContext::Init()
All items filtered out
ot::Coap::Message::GetType() const
ot::Coap::Message::GetHelpData() const
All items filtered out
Data Use
from
examples
ot::Coap::Message::GetType() const
reads 4 variables:
ot::Coap::Message::kTypeOffset
ot::Coap::Message::kTypeMask
ot::Coap::Message::Header::mVersionTypeToken
ot::Coap::Message::HelpData::mHeader
All items filtered out
ot::Coap::Message::GetType() 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