Home
last modified time | relevance | path

Searched refs:BorderAgent (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/src/core/api/
Dborder_agent_api.cpp48 return AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().GetId(AsCoreType(aId)); in otBorderAgentGetId()
53 return AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().SetId(AsCoreType(aId)); in otBorderAgentSetId()
61 switch (AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().GetState()) in otBorderAgentGetState()
63 case MeshCoP::BorderAgent::kStateStopped: in otBorderAgentGetState()
65 case MeshCoP::BorderAgent::kStateStarted: in otBorderAgentGetState()
68 case MeshCoP::BorderAgent::kStateConnected: in otBorderAgentGetState()
69 case MeshCoP::BorderAgent::kStateAccepted: in otBorderAgentGetState()
79 return AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().GetUdpPort(); in otBorderAgentGetUdpPort()
91 …return AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().SetEphemeralKey(aKeyString, aTimeout, aUd… in otBorderAgentSetEphemeralKey()
96 AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().ClearEphemeralKey(); in otBorderAgentClearEphemeralKey()
[all …]
/openthread-latest/src/core/meshcop/
Dborder_agent.hpp59 class BorderAgent : public InstanceLocator, private NonCopyable class
110 explicit BorderAgent(Instance &aInstance);
322 using TimeoutTimer = TimerMilliIn<BorderAgent, &BorderAgent::HandleTimeout>;
324 using EphemeralKeyTimer = TimerMilliIn<BorderAgent, &BorderAgent::HandleEphemeralKeyTimeout>;
325 using EphemeralKeyTask = TaskletIn<BorderAgent, &BorderAgent::InvokeEphemeralKeyCallback>;
347 DeclareTmfHandler(BorderAgent, kUriRelayRx);
348 DeclareTmfHandler(BorderAgent, kUriCommissionerPetition);
349 DeclareTmfHandler(BorderAgent, kUriCommissionerKeepAlive);
350 DeclareTmfHandler(BorderAgent, kUriRelayTx);
351 DeclareTmfHandler(BorderAgent, kUriCommissionerGet);
[all …]
Dborder_agent.cpp60 Error BorderAgent::ForwardContext::Init(Instance &aInstance, in Init()
76 Error BorderAgent::ForwardContext::ToHeader(Coap::Message &aMessage, uint8_t aCode) const in ToHeader()
98 Coap::Message::Code BorderAgent::CoapCodeFromError(Error aError) in CoapCodeFromError()
120 void BorderAgent::SendErrorMessage(const ForwardContext &aForwardContext, Error aError) in SendErrorMessage()
134 void BorderAgent::SendErrorMessage(const Coap::Message &aRequest, bool aSeparate, Error aError) in SendErrorMessage()
164 Error BorderAgent::SendMessage(Coap::Message &aMessage) in SendMessage()
169 void BorderAgent::HandleCoapResponse(void *aContext, in HandleCoapResponse()
178 …forwardContext->Get<BorderAgent>().HandleCoapResponse(*forwardContext.Get(), AsCoapMessagePtr(aMes… in HandleCoapResponse()
181 void BorderAgent::HandleCoapResponse(const ForwardContext &aForwardContext, in HandleCoapResponse()
249 BorderAgent::BorderAgent(Instance &aInstance) in BorderAgent() function in ot::MeshCoP::BorderAgent
[all …]
Dcommissioner.cpp287 Get<BorderAgent>().Stop(); in Start()
343 Get<BorderAgent>().Start(); in Stop()
/openthread-latest/src/core/thread/
Dtmf.cpp98 Get<MeshCoP::BorderAgent>().HandleTmf<kUriRelayRx>(aMessage, aMessageInfo); in HandleTmf()
310 Case(kUriCommissionerPetition, MeshCoP::BorderAgent); in HandleResource()
311 Case(kUriCommissionerKeepAlive, MeshCoP::BorderAgent); in HandleResource()
312 Case(kUriRelayTx, MeshCoP::BorderAgent); in HandleResource()
313 Case(kUriCommissionerGet, MeshCoP::BorderAgent); in HandleResource()
314 Case(kUriActiveGet, MeshCoP::BorderAgent); in HandleResource()
315 Case(kUriPendingGet, MeshCoP::BorderAgent); in HandleResource()
316 Case(kUriProxyTx, MeshCoP::BorderAgent); in HandleResource()
Dmle_router.cpp2752 …error = Tlv::Append<MeshCoP::CommissionerUdpPortTlv>(*message, Get<MeshCoP::BorderAgent>().GetUdpP… in SendDiscoveryResponse()
/openthread-latest/tests/scripts/thread-cert/
Dfind_border_agents.py40 class BorderAgent(object): class
70 border_agents.append(BorderAgent(ptr.alias))
/openthread-latest/src/core/common/
Dsettings.hpp795 const MeshCoP::BorderAgent::Id &GetId(void) const { return mId; } in GetId()
803 MeshCoP::BorderAgent::Id &GetId(void) { return mId; } in GetId()
809 void SetId(const MeshCoP::BorderAgent::Id &aId) { mId = aId; } in SetId()
814 MeshCoP::BorderAgent::Id mId;
Dnotifier.cpp148 Get<MeshCoP::BorderAgent>().HandleNotifierEvents(events); in EmitEvents()
/openthread-latest/src/core/net/
Dip6_filter.cpp89 dstPort == Get<MeshCoP::BorderAgent>().GetUdpPort()) in Accept()
Dudp6.cpp560 && aPort != Get<MeshCoP::BorderAgent>().GetUdpProxyPort() in ShouldUsePlatformUdp()
/openthread-latest/src/core/instance/
Dinstance.hpp581 MeshCoP::BorderAgent mBorderAgent;
1001 template <> inline MeshCoP::BorderAgent &Instance::Get(void) { return mBorderAgent; } in Get()
/openthread-latest/src/cli/
DREADME.md443 BorderAgent callback: Ephemeral key active, port:49155
444 BorderAgent callback: Ephemeral key inactive