Home
last modified time | relevance | path

Searched refs:AppendOption (Results 1 – 4 of 4) sorted by relevance

/openthread-2.7.6/src/core/coap/
Dcoap_message.cpp174 Error Message::AppendOption(uint16_t aNumber, uint16_t aLength, const void *aValue) in AppendOption() function in ot::Coap::Message
219 return AppendOption(aNumber, length, value); in AppendUintOption()
224 return AppendOption(aNumber, static_cast<uint16_t>(strlen(aValue)), aValue); in AppendStringOption()
235 SuccessOrExit(error = AppendOption(kOptionUriPath, static_cast<uint16_t>(end - cur), cur)); in AppendUriPathOptions()
Dcoap_message.hpp434 Error AppendOption(uint16_t aNumber, uint16_t aLength, const void *aValue);
Dcoap.cpp617 …SuccessOrExit(error = aRequest.AppendOption(optionNumber, iterator.GetOption()->GetLength(), &opti… in PrepareNextBlockRequest()
912 …SuccessOrExit(error = response->AppendOption(optionNumber, iterator.GetOption()->GetLength(), &opt… in ProcessBlock2Request()
/openthread-2.7.6/src/core/api/
Dcoap_api.cpp86 return static_cast<Coap::Message *>(aMessage)->AppendOption(aNumber, aLength, aValue); in otCoapMessageAppendOption()