ot::Coap::Message::AppendStringOption() method
Appends a string CoAP option.
Arguments
aNumber
The CoAP Option number.
aValue
The CoAP Option string value.
Return value
kErrorNone Successfully appended the option. kErrorInvalidArgs The option type is not equal or greater than the last option type. kErrorNoBufs The option length exceeds the buffer size.
ot::Coap::Message::AppendStringOption() is called by 4 functions and calls 1 function:
![]()
ot::Coap::Message::AppendStringOption()
ot::Coap::Message::AppendStringOption():
![]()
ot::Coap::Message::AppendStringOption()