ESP-IDF
otCoapOptionIterator::mNextOptionOffset
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otCoapOptionIterator::mNextOptionOffset
otCoapOptionIterator::mNextOptionOffset field
Syntax
Show:
Summary
Declaration
from
coap.h:165
uint16_t
mNextOptionOffset
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
mNextOptionOffset
;
///< Byte offset of next option
coap.h:165
mNextOptionOffset
=
static_cast
<
uint16_t
>
(
offset
)
;
coap_message.cpp:512
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Init()
VerifyOrExit
(
mNextOptionOffset
<
GetMessage
(
)
.
GetLength
(
)
,
error
=
kErrorParse
)
;
coap_message.cpp:543
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Advance()
VerifyOrExit
(
optionLength
<=
GetMessage
(
)
.
GetLength
(
)
-
mNextOptionOffset
,
error
=
kErrorParse
)
;
coap_message.cpp:555
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Advance()
mNextOptionOffset
+=
optionLength
;
coap_message.cpp:556
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
SuccessOrExit
(
error
=
GetMessage
(
)
.
Read
(
mNextOptionOffset
,
aBuffer
,
aLength
)
)
;
coap_message.cpp:611
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Read()
mNextOptionOffset
+=
aLength
;
coap_message.cpp:612
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Read()
bool
HasParseErrored
(
void
)
const
{
return
mNextOptionOffset
==
kNextOptionOffsetParseError
;
}
coap_message.hpp:1059
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::HasParseErrored() const
uint16_t
GetPayloadMessageOffset
(
void
)
const
{
return
mNextOptionOffset
;
}
coap_message.hpp:1128
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::GetPayloadMessageOffset() 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
MarkAsParseErrored
(
void
)
{
MarkAsDone
(
)
,
mNextOptionOffset
=
kNextOptionOffsetParseError
;
}
coap_message.hpp:1147
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::MarkAsParseErrored()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otCoapOptionIterator::mNextOptionOffset
is written by 4 functions and is read by 6 functions:
ot::Coap::Option::Iterator::MarkAsParseErrored()
ot::Coap::Option::Iterator::Init()
ot::Coap::Option::Iterator::Advance()
ot::Coap::Option::Iterator::Read()
All items filtered out
otCoapOptionIterator::mNextOptionOffset
ot::Coap::Option::Iterator::HasParseErrored() const
ot::Coap::Option::Iterator::GetPayloadMessageOffset() const
ot::Coap::Option::Iterator::GetOptionValueMessageOffset() const
ot::Coap::Option::Iterator::Advance()
ot::Coap::Option::Iterator::ReadOptionValue() const
ot::Coap::Option::Iterator::Read()
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