ESP-IDF
otCoapOption::mLength
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
otCoapOption::mLength
otCoapOption::mLength field
Syntax
Show:
Summary
Declaration
from
coap.h:155
uint16_t
mLength
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
mLength
;
///< Option Length
coap.h:155
mOption
.
mLength
=
0
;
coap_message.cpp:510
ot::Coap::Option::Iterator
ot::Coap::Option::Iterator::Init()
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
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()
uint16_t
GetLength
(
void
)
const
{
return
mLength
;
}
coap_message.hpp:1166
ot::Coap::Option
ot::Coap::Option::GetLength() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otCoapOption::mLength
is written by 3 functions and is read by 4 functions:
ot::Coap::Option::Iterator::MarkAsDone()
ot::Coap::Option::Iterator::Init()
ot::Coap::Option::Iterator::Advance()
All items filtered out
otCoapOption::mLength
ot::Coap::Option::Iterator::IsDone() const
ot::Coap::Option::Iterator::GetOptionValueMessageOffset() const
ot::Coap::Option::GetLength() const
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