ESP-IDF
otCoapOptionIterator::mOption
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
otCoapOptionIterator::mOption
otCoapOptionIterator::mOption field
Syntax
Show:
Summary
Declaration
from
coap.h:164
otCoapOption
mOption
;
Examples
References
from
examples
Code
Location
Scope
Referrer
otCoapOption
mOption
;
///< CoAP message option
coap.h:164
mOption
.
mNumber
=
0
;
coap_message.cpp:509
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Init()
mOption
.
mLength
=
0
;
coap_message.cpp:510
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Init()
mOption
.
mNumber
+=
optionDelta
;
coap_message.cpp:558
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Advance()
mOption
.
mLength
=
optionLength
;
coap_message.cpp:559
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Advance()
GetMessage
(
)
.
ReadBytes
(
mNextOptionOffset
-
mOption
.
mLength
,
aValue
,
mOption
.
mLength
)
;
coap_message.cpp:575
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::ReadOptionValue() const
VerifyOrExit
(
mOption
.
mLength
<=
sizeof
(
uint64_t
)
,
error
=
kErrorNoBufs
)
;
coap_message.cpp:588
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::ReadOptionValue() const
for
(
uint16_t
pos
=
0
;
pos
<
mOption
.
mLength
;
pos
++
)
coap_message.cpp:593
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::ReadOptionValue() const
bool
IsDone
(
void
)
const
{
return
mOption
.
mLength
==
kIteratorDoneLength
;
}
coap_message.hpp:1049
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::IsDone() const
const
Option
*
GetOption
(
void
)
const
{
return
IsDone
(
)
?
nullptr
:
static_cast
<
const
Option
*
>
(
&
mOption
)
;
}
coap_message.hpp:1097
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::GetOption() const
uint16_t
GetOptionValueMessageOffset
(
void
)
const
{
return
mNextOptionOffset
-
mOption
.
mLength
;
}
coap_message.hpp:1137
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::GetOptionValueMessageOffset() const
void
MarkAsDone
(
void
)
{
mOption
.
mLength
=
kIteratorDoneLength
;
}
coap_message.hpp:1146
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::MarkAsDone()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otCoapOptionIterator::mOption
is read by 6 functions:
All items filtered out
otCoapOptionIterator::mOption
ot::Coap::Option::Iterator::IsDone() const
ot::Coap::Option::Iterator::GetOptionValueMessageOffset() const
ot::Coap::Option::Iterator::MarkAsDone()
ot::Coap::Option::Iterator::Init()
ot::Coap::Option::Iterator::Advance()
ot::Coap::Option::Iterator::ReadOptionValue() 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