ot::Coap::Message::AppendContentFormatOption() method
Appends a Content-Format option.
Arguments
aContentFormat
The Content Format 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::AppendContentFormatOption() is called by 1 function and calls 1 function:
![]()
ot::Coap::Message::AppendContentFormatOption()
ot::Coap::Message::AppendContentFormatOption() reads 1 variable:
![]()
ot::Coap::Message::AppendContentFormatOption()