ESP-IDF
ot::Coap::Message::GetOptionStart() 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::Coap::Message::GetOptionStart() const
ot::Coap::Message::GetOptionStart() const method
Returns the offset of the first CoAP option.
Syntax
Show:
Summary
Declaration
from
coap_message.hpp:587
uint16_t
GetOptionStart
(
void
)
const
;
Return value
The offset of the first CoAP option.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetOptionStart
(
void
)
const
{
return
kMinHeaderLength
+
GetTokenLength
(
)
;
}
coap_message.hpp:587
copyLength
=
aMessage
.
GetOptionStart
(
)
;
coap.cpp:270
ot::Coap::CoapBase
ot::Coap::CoapBase::SendMessage()
WriteBytes
(
0
,
&
GetHelpData
(
)
.
mHeader
,
GetOptionStart
(
)
)
;
coap_message.cpp:96
ot::Coap::Message
ot::Coap::Message::Finish()
uint32_t
offset
=
static_cast
<
uint32_t
>
(
aMessage
.
GetHelpData
(
)
.
mHeaderOffset
)
+
aMessage
.
GetOptionStart
(
)
;
coap_message.cpp:501
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Init()
Call Tree
from
examples
ot::Coap::Message::GetOptionStart() const
is called by 3 functions and calls 1 function:
ot::Coap::CoapBase::SendMessage()
ot::Coap::Message::Finish()
ot::Coap::Option::Iterator::Init()
All items filtered out
ot::Coap::Message::GetOptionStart() const
ot::Coap::Message::GetTokenLength() const
All items filtered out
Data Use
from
examples
ot::Coap::Message::GetOptionStart() const
reads 1 variable:
ot::Coap::Message::kMinHeaderLength
All items filtered out
ot::Coap::Message::GetOptionStart() 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