ot::Coap::Option::Iterator::Advance() method
Advances the iterator to the next CoAP Option in the header. The iterator is updated to point to the next option or marked as done when there are no more options.
Return value
kErrorNone Successfully advanced the iterator. kErrorParse CoAP Option header is not well-formed.
ot::Coap::Option::Iterator::Advance() is called by 6 functions and calls 7 functions:
![]()
ot::Coap::Option::Iterator::Advance()
ot::Coap::Option::Iterator::Advance() reads 11 variables and writes 3 variables:
![]()
ot::Coap::Option::Iterator::Advance()