Home
last modified time | relevance | path

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

/openthread-latest/tests/nexus/
Dtest_border_agent.cpp68 … VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateStarted); in TestBorderAgent()
70 …SuccessOrQuit(node0.Get<Ip6::Filter>().AddUnsecurePort(node0.Get<MeshCoP::BorderAgent>().GetUdpPor… in TestBorderAgent()
76 sockAddr.SetPort(node0.Get<MeshCoP::BorderAgent>().GetUdpPort()); in TestBorderAgent()
88 …VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateConnected… in TestBorderAgent()
98 … VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateStarted); in TestBorderAgent()
110 …VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateConnected… in TestBorderAgent()
122 …VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateAccepted); in TestBorderAgent()
129 …VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateAccepted); in TestBorderAgent()
142 …VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateAccepted); in TestBorderAgent()
149 … VerifyOrQuit(node0.Get<MeshCoP::BorderAgent>().GetState() == MeshCoP::BorderAgent::kStateStarted); in TestBorderAgent()
[all …]
/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.cpp48 BorderAgent::BorderAgent(Instance &aInstance) in BorderAgent() function in ot::MeshCoP::BorderAgent
51 , mUdpReceiver(BorderAgent::HandleUdpReceive, this) in BorderAgent()
71 Error BorderAgent::GetId(Id &aId) in GetId()
94 Error BorderAgent::SetId(const Id &aId) in SetId()
107 Error BorderAgent::Start(uint16_t aUdpPort) in Start()
119 Error BorderAgent::Start(uint16_t aUdpPort, const uint8_t *aPsk, uint8_t aPskLength) in Start()
150 void BorderAgent::Stop(void) in Stop()
173 void BorderAgent::Disconnect(void) in Disconnect()
184 uint16_t BorderAgent::GetUdpPort(void) const { return mDtlsTransport.GetUdpPort(); } in GetUdpPort()
186 void BorderAgent::HandleNotifierEvents(Events aEvents) in HandleNotifierEvents()
[all …]
Dborder_agent.hpp64 class BorderAgent : public InstanceLocator, private NonCopyable class
109 explicit BorderAgent(Instance &aInstance);
328 using TimeoutTimer = TimerMilliIn<BorderAgent, &BorderAgent::HandleTimeout>;
330 using EphemeralKeyTimer = TimerMilliIn<BorderAgent, &BorderAgent::HandleEphemeralKeyTimeout>;
331 using EphemeralKeyTask = TaskletIn<BorderAgent, &BorderAgent::InvokeEphemeralKeyCallback>;
355 DeclareTmfHandler(BorderAgent, kUriRelayRx);
359 DefineCoreType(otBorderAgentId, MeshCoP::BorderAgent::Id);
/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/net/
Dip6_filter.cpp79 dstPort == Get<MeshCoP::BorderAgent>().GetUdpPort()) in Accept()
/openthread-latest/src/core/common/
Dsettings.cpp104 void SettingsBase::BorderAgentId::Log(Action aAction, const MeshCoP::BorderAgent::Id &aId) in Log()
106 static constexpr uint8_t kStringSize = sizeof(MeshCoP::BorderAgent::Id) * 2 + 1; in Log()
544 … BorderAgentId::Log(aAction, *reinterpret_cast<const MeshCoP::BorderAgent::Id *>(aValue)); in Log()
Dsettings.hpp715 typedef MeshCoP::BorderAgent::Id ValueType; ///< The associated value type.
718 static void Log(Action aAction, const MeshCoP::BorderAgent::Id &aId);
Dnotifier.cpp119 Get<MeshCoP::BorderAgent>().HandleNotifierEvents(events); in EmitEvents()
/openthread-latest/src/core/instance/
Dinstance.hpp588 MeshCoP::BorderAgent mBorderAgent;
1018 template <> inline MeshCoP::BorderAgent &Instance::Get(void) { return mBorderAgent; } in Get()
/openthread-latest/src/core/thread/
Dtmf.cpp97 Get<MeshCoP::BorderAgent>().HandleTmf<kUriRelayRx>(aMessage, aMessageInfo); in HandleTmf()
Dmle_router.cpp2839 …error = Tlv::Append<MeshCoP::CommissionerUdpPortTlv>(*message, Get<MeshCoP::BorderAgent>().GetUdpP… in SendDiscoveryResponse()
/openthread-latest/src/cli/
DREADME.md468 BorderAgent callback: Ephemeral key active, port:49155
469 BorderAgent callback: Ephemeral key inactive