ot::Coap::Option::Iterator::GetOption() const method
Gets a pointer to the current CoAP Option to which the iterator is currently pointing.
Syntax
const Option *GetOption(void) const; Return value
A pointer to the current CoAP Option, or `nullptr` if iterator is done (or there was an earlier parse error).
ot::Coap::Option::Iterator::GetOption() const is called by 6 functions and calls 1 function:
![]()
ot::Coap::Option::Iterator::GetOption() const