Home
last modified time | relevance | path

Searched refs:kBlockType1 (Results 1 – 8 of 8) sorted by relevance

/external/openthread/src/cli/
Dcli_coap.hpp84 kBlockType1, enumerator
Dcli_coap.cpp376 BlockType coapBlockType = (aCoapCode == OT_COAP_CODE_GET) ? kBlockType2 : kBlockType1; in ProcessRequest()
382 coapBlockType = kBlockType1; in ProcessRequest()
471 if (coapBlockType == kBlockType1) in ProcessRequest()
Dcli_coap_secure.hpp92 kBlockType1, enumerator
Dcli_coap_secure.cpp249 BlockType coapBlockType = (aCoapCode == OT_COAP_CODE_GET) ? kBlockType2 : kBlockType1; in ProcessRequest()
318 if (coapBlockType == kBlockType1) in ProcessRequest()
/external/openthread/src/core/coap/
Dcoap_message.cpp262 VerifyOrExit(aType == kBlockType1 || aType == kBlockType2, error = kErrorInvalidArgs); in AppendBlockOption()
269 error = AppendUintOption((aType == kBlockType1) ? kOptionBlock1 : kOptionBlock2, encoded); in AppendBlockOption()
Dcoap.cpp638 blockOption = (aType == Message::kBlockType1) ? kOptionBlock1 : kOptionBlock2; in PrepareNextBlockRequest()
724 …SuccessOrExit(error = PrepareNextBlockRequest(Message::kBlockType1, moreBlocks, aRequest, *request… in SendNextBlock1Request()
839 …SuccessOrExit(error = response->AppendBlockOption(Message::kBlockType1, response->GetBlockWiseBloc… in ProcessBlock1Request()
Dcoap_message.hpp185 kBlockType1 = 1, enumerator
/external/openthread/src/core/api/
Dcoap_api.cpp114 … return AsCoapMessage(aMessage).AppendBlockOption(Coap::Message::kBlockType1, aNum, aMore, aSize); in otCoapMessageAppendBlock1Option()