ESP-IDF
ot::Coap::CoapBase::NewMessage()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Coap::CoapBase::NewMessage()
ot::Coap::CoapBase::NewMessage() method
Allocates a new message with a CoAP header.
Syntax
Show:
Summary
Declaration
Definition
from
coap.hpp:417
Message
*
NewMessage
(
const
Message
::
Settings
&
aSettings
)
;
Implemented in
coap.cpp:97
Arguments
Argument
Description
aSettings
The message settings.
Return value
A pointer to the message or `nullptr` if failed to allocate message.
Related Functions
Found 2 other functions taking a
Settings
argument:
Function
Description
ot::MessagePool::Allocate()
Allocates a new message with specified settings.
ot::Ip6::Ip6::NewMessageFromData()
Allocates a new message buffer from the buffer pool and writes the IPv6 datagram to the message. The message priority is always determined from IPv6 message itself (@p aData) and the priority included in @p aSetting is ignored.
Examples
References
from
examples
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
Lifecycle
from
examples
All items filtered out
All items filtered out