Home
last modified time | relevance | path

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

/external/openthread/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.cpp142 …return AsCoreType(aInstance).GetApplicationCoapSecure().SendMessage(AsCoapMessage(aMessage), aHand… in otCoapSecureSendRequestBlockWise()
152 …return AsCoreType(aInstance).GetApplicationCoapSecure().SendMessage(AsCoapMessage(aMessage), aHand… in otCoapSecureSendRequest()
197 AsCoapMessage(aMessage), AsCoreType(aMessageInfo), nullptr, aContext, aTransmitHook); in otCoapSecureSendResponseBlockWise()
203 return AsCoreType(aInstance).GetApplicationCoapSecure().SendMessage(AsCoapMessage(aMessage), in otCoapSecureSendResponse()
Dnetdiag_api.cpp49 …return NetworkDiagnostic::NetworkDiagnostic::GetNextDiagTlv(AsCoapMessage(aMessage), *aIterator, *… in otThreadGetNextDiagnosticTlv()
/external/openthread/src/core/meshcop/
Dborder_agent.cpp228 AsCoapMessage(aMessage), AsCoreType(aMessageInfo), in HandleRequest()
237 …IgnoreError(static_cast<BorderAgent *>(aContext)->ForwardToLeader(AsCoapMessage(aMessage), AsCoreT… in HandleRequest()
246 …static_cast<BorderAgent *>(aContext)->HandleKeepAlive(AsCoapMessage(aMessage), AsCoreType(aMessage… in HandleRequest()
255 static_cast<BorderAgent *>(aContext)->HandleRelayTransmit(AsCoapMessage(aMessage)); in HandleRequest()
264 static_cast<BorderAgent *>(aContext)->HandleRelayReceive(AsCoapMessage(aMessage)); in HandleRequest()
273 static_cast<BorderAgent *>(aContext)->HandleProxyTransmit(AsCoapMessage(aMessage)); in HandleRequest()
Dmeshcop_leader.cpp72 …static_cast<Leader *>(aContext)->HandlePetition(AsCoapMessage(aMessage), AsCoreType(aMessageInfo)); in HandlePetition()
157 …static_cast<Leader *>(aContext)->HandleKeepAlive(AsCoapMessage(aMessage), AsCoreType(aMessageInfo)… in HandleKeepAlive()
Dpanid_query_client.cpp104 …static_cast<PanIdQueryClient *>(aContext)->HandleConflict(AsCoapMessage(aMessage), AsCoreType(aMes… in HandleConflict()
Denergy_scan_client.cpp109 …static_cast<EnergyScanClient *>(aContext)->HandleReport(AsCoapMessage(aMessage), AsCoreType(aMessa… in HandleReport()
Ddataset_manager_ftd.cpp410 …static_cast<ActiveDatasetManager *>(aContext)->HandleSet(AsCoapMessage(aMessage), AsCoreType(aMess… in HandleSet()
435 …static_cast<PendingDatasetManager *>(aContext)->HandleSet(AsCoapMessage(aMessage), AsCoreType(aMes… in HandleSet()
Dcommissioner.cpp983 …static_cast<Commissioner *>(aContext)->HandleRelayReceive(AsCoapMessage(aMessage), AsCoreType(aMes… in HandleRelayReceive()
1051 …static_cast<Commissioner *>(aContext)->HandleDatasetChanged(AsCoapMessage(aMessage), AsCoreType(aM… in HandleDatasetChanged()
1070 …static_cast<Commissioner *>(aContext)->HandleJoinerFinalize(AsCoapMessage(aMessage), AsCoreType(aM… in HandleJoinerFinalize()
Ddataset_manager.cpp694 …static_cast<ActiveDatasetManager *>(aContext)->HandleGet(AsCoapMessage(aMessage), AsCoreType(aMess… in HandleGet()
847 …static_cast<PendingDatasetManager *>(aContext)->HandleGet(AsCoapMessage(aMessage), AsCoreType(aMes… in HandleGet()
Djoiner_router.cpp171 …static_cast<JoinerRouter *>(aContext)->HandleRelayTransmit(AsCoapMessage(aMessage), AsCoreType(aMe… in HandleRelayTransmit()
Djoiner.cpp562 …static_cast<Joiner *>(aContext)->HandleJoinerEntrust(AsCoapMessage(aMessage), AsCoreType(aMessageI… in HandleJoinerEntrust()
/external/openthread/src/core/thread/
Dannounce_begin_server.cpp70 …static_cast<AnnounceBeginServer *>(aContext)->HandleRequest(AsCoapMessage(aMessage), AsCoreType(aM… in HandleRequest()
Dnetwork_diagnostic.cpp160 static_cast<NetworkDiagnostic *>(aContext)->HandleDiagnosticGetAnswer(AsCoapMessage(aMessage), in HandleDiagnosticGetAnswer()
455 static_cast<NetworkDiagnostic *>(aContext)->HandleDiagnosticGetQuery(AsCoapMessage(aMessage), in HandleDiagnosticGetQuery()
511 static_cast<NetworkDiagnostic *>(aContext)->HandleDiagnosticGetRequest(AsCoapMessage(aMessage), in HandleDiagnosticGetRequest()
581 static_cast<NetworkDiagnostic *>(aContext)->HandleDiagnosticReset(AsCoapMessage(aMessage), in HandleDiagnosticReset()
Dpanid_query_server.cpp64 …static_cast<PanIdQueryServer *>(aContext)->HandleQuery(AsCoapMessage(aMessage), AsCoreType(aMessag… in HandleQuery()
Danycast_locator.cpp134 …static_cast<AnycastLocator *>(aContext)->HandleAnycastLocate(AsCoapMessage(aMessage), AsCoreType(a… in HandleAnycastLocate()
Denergy_scan_server.cpp69 …static_cast<EnergyScanServer *>(aContext)->HandleRequest(AsCoapMessage(aMessage), AsCoreType(aMess… in HandleRequest()
Daddress_resolver.cpp599 static_cast<AddressResolver *>(aContext)->HandleAddressNotification(AsCoapMessage(aMessage), in HandleAddressNotification()
714 …static_cast<AddressResolver *>(aContext)->HandleAddressError(AsCoapMessage(aMessage), AsCoreType(a… in HandleAddressError()
800 …static_cast<AddressResolver *>(aContext)->HandleAddressQuery(AsCoapMessage(aMessage), AsCoreType(a… in HandleAddressQuery()
Dnetwork_data_leader_ftd.cpp147 …static_cast<Leader *>(aContext)->HandleServerData(AsCoapMessage(aMessage), AsCoreType(aMessageInfo… in HandleServerData()
193 …static_cast<Leader *>(aContext)->HandleCommissioningSet(AsCoapMessage(aMessage), AsCoreType(aMessa… in HandleCommissioningSet()
295 …static_cast<Leader *>(aContext)->HandleCommissioningGet(AsCoapMessage(aMessage), AsCoreType(aMessa… in HandleCommissioningGet()
Ddua_manager.cpp590 …static_cast<DuaManager *>(aContext)->HandleDuaNotification(AsCoapMessage(aMessage), AsCoreType(aMe… in HandleDuaNotification()
Dmle_router.cpp3892 …static_cast<MleRouter *>(aContext)->HandleAddressSolicit(AsCoapMessage(aMessage), AsCoreType(aMess… in HandleAddressSolicit()
4027 …static_cast<MleRouter *>(aContext)->HandleAddressRelease(AsCoapMessage(aMessage), AsCoreType(aMess… in HandleAddressRelease()
/external/openthread/src/core/coap/
Dcoap_message.hpp1243 inline Coap::Message &AsCoapMessage(otMessage *aMessage) in AsCoapMessage() function
1269 inline const Coap::Message &AsCoapMessage(const otMessage *aMessage) in AsCoapMessage() function
Dcoap.cpp205 Get<Utils::Otns>().EmitCoapSend(AsCoapMessage(&aMessage), aMessageInfo); in Send()
213 Get<Utils::Otns>().EmitCoapSendFailure(error, AsCoapMessage(&aMessage), aMessageInfo); in Send()
1060 Message &message = AsCoapMessage(&aMessage); in Receive()
1740 static_cast<Coap *>(aContext)->Receive(AsCoapMessage(aMessage), AsCoreType(aMessageInfo)); in HandleUdpReceive()
/external/openthread/src/core/backbone_router/
Dbbr_manager.cpp558 …static_cast<Manager *>(aContext)->HandleBackboneQuery(AsCoapMessage(aMessage), AsCoreType(aMessage… in HandleBackboneQuery()
592 …static_cast<Manager *>(aContext)->HandleBackboneAnswer(AsCoapMessage(aMessage), AsCoreType(aMessag… in HandleBackboneAnswer()