ESP-IDF
ot::Coap::Message::SetCode()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Coap::Message::SetCode()
ot::Coap::Message::SetCode() method
Sets the Code value.
Syntax
Show:
Summary
Declaration
from
coap_message.hpp:280
void
SetCode
(
Code
aCode
)
;
Arguments
Argument
Description
aCode
The Code value.
Examples
References
from
examples
Code
Location
Scope
Referrer
void
SetCode
(
Code
aCode
)
{
GetHelpData
(
)
.
mHeader
.
mCode
=
static_cast
<
uint8_t
>
(
aCode
)
;
}
coap_message.hpp:280
void
otCoapMessageSetCode
(
otMessage
*
aMessage
,
otCoapCode
aCode
)
{
AsCoapMessage
(
aMessage
)
.
SetCode
(
MapEnum
(
aCode
)
)
;
}
coap_api.cpp:145
otCoapMessageSetCode()
SetCode
(
aCode
)
;
coap_message.cpp:60
ot::Coap::Message
ot::Coap::Message::Init()
Call Tree
from
examples
ot::Coap::Message::SetCode()
is called by 2 functions and calls 1 function:
otCoapMessageSetCode()
ot::Coap::Message::Init()
All items filtered out
ot::Coap::Message::SetCode()
ot::Coap::Message::GetHelpData()
All items filtered out
Data Use
from
examples
ot::Coap::Message::SetCode()
reads 1 variable and writes 1 variable:
ot::Coap::Message::HelpData::mHeader
All items filtered out
ot::Coap::Message::SetCode()
ot::Coap::Message::Header::mCode
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