Home
last modified time | relevance | path

Searched refs:kOptionBlock2 (Results 1 – 3 of 3) sorted by relevance

/openthread-3.5.0/src/core/coap/
Dcoap.cpp226 … if ((aTransmitHook != nullptr) && (aMessage.ReadBlockOptionValues(kOptionBlock2) == kErrorNone) && in SendMessage()
626 blockOption = (aType == Message::kBlockType1) ? kOptionBlock1 : kOptionBlock2; in PrepareNextBlockRequest()
651 if (optionNumber == kOptionBlock1 || optionNumber == kOptionBlock2) in PrepareNextBlockRequest()
745 SuccessOrExit(error = aMessage.ReadBlockOptionValues(kOptionBlock2)); in SendNextBlock2Request()
868 SuccessOrExit(error = aMessage.ReadBlockOptionValues(kOptionBlock2)); in ProcessBlock2Request()
944 if (optionNumber == kOptionBlock2) in ProcessBlock2Request()
1178 case kOptionBlock2: in ProcessReceivedResponse()
1347 case kOptionBlock2: in ProcessReceivedRequest()
Dcoap_message.cpp263 error = AppendUintOption((aType == kBlockType1) ? kOptionBlock1 : kOptionBlock2, encoded); in AppendBlockOption()
276 …VerifyOrExit((aBlockType == kOptionBlock1) || (aBlockType == kOptionBlock2), error = kErrorInvalid… in ReadBlockOptionValues()
Dcoap_message.hpp155 kOptionBlock2 = OT_COAP_OPTION_BLOCK2, ///< Block2 (RFC7959) enumerator