Home
last modified time | relevance | path

Searched refs:AsCoapMessage (Results 1 – 5 of 5) sorted by relevance

/openthread-3.5.0/src/core/api/
Dcoap_api.cpp53 AsCoapMessage(aMessage).Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInit()
58 Coap::Message &response = AsCoapMessage(aResponse); in otCoapMessageInitResponse()
59 const Coap::Message &request = AsCoapMessage(aRequest); in otCoapMessageInitResponse()
69 return AsCoapMessage(aMessage).SetToken(aToken, aTokenLength); in otCoapMessageSetToken()
74 IgnoreError(AsCoapMessage(aMessage).GenerateRandomToken(aTokenLength)); in otCoapMessageGenerateToken()
79 return AsCoapMessage(aMessage).AppendContentFormatOption(aContentFormat); in otCoapMessageAppendContentFormatOption()
84 return AsCoapMessage(aMessage).AppendOption(aNumber, aLength, aValue); in otCoapMessageAppendOption()
89 return AsCoapMessage(aMessage).AppendUintOption(aNumber, aValue); in otCoapMessageAppendUintOption()
94 return AsCoapMessage(aMessage).AppendObserveOption(aObserve); in otCoapMessageAppendObserveOption()
99 return AsCoapMessage(aMessage).AppendUriPathOptions(aUriPath); in otCoapMessageAppendUriPathOptions()
[all …]
Dcoap_secure_api.cpp135 …return AsCoreType(aInstance).GetApplicationCoapSecure().SendMessage(AsCoapMessage(aMessage), aHand… in otCoapSecureSendRequestBlockWise()
145 …return AsCoreType(aInstance).GetApplicationCoapSecure().SendMessage(AsCoapMessage(aMessage), aHand… in otCoapSecureSendRequest()
190 AsCoapMessage(aMessage), AsCoreType(aMessageInfo), nullptr, aContext, aTransmitHook); in otCoapSecureSendResponseBlockWise()
196 return AsCoreType(aInstance).GetApplicationCoapSecure().SendMessage(AsCoapMessage(aMessage), in otCoapSecureSendResponse()
Dnetdiag_api.cpp52 …return NetworkDiagnostic::Client::GetNextDiagTlv(AsCoapMessage(aMessage), *aIterator, *aNetworkDia… in otThreadGetNextDiagnosticTlv()
/openthread-3.5.0/src/core/coap/
Dcoap_message.hpp1244 inline Coap::Message &AsCoapMessage(otMessage *aMessage) { return *static_cast<Coap::Message *>(aMe… in AsCoapMessage() function
1264 inline const Coap::Message &AsCoapMessage(const otMessage *aMessage) in AsCoapMessage() function
Dcoap.cpp182 Get<Utils::Otns>().EmitCoapSend(AsCoapMessage(&aMessage), aMessageInfo); in Send()
190 Get<Utils::Otns>().EmitCoapSendFailure(error, AsCoapMessage(&aMessage), aMessageInfo); in Send()
1050 Message &message = AsCoapMessage(&aMessage); in Receive()
1744 static_cast<Coap *>(aContext)->Receive(AsCoapMessage(aMessage), AsCoreType(aMessageInfo)); in HandleUdpReceive()