Home
last modified time | relevance | path

Searched refs:Commissioner (Results 1 – 22 of 22) sorted by relevance

/openthread-3.6.0/src/core/api/
Dcommissioner_api.cpp50 …return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().Start(aStateCallback, aJoinerCallback, a… in otCommissionerStart()
55 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetId(); in otCommissionerGetId()
60 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().SetId(aId); in otCommissionerSetId()
63 …erStop(otInstance *aInstance) { return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().Stop(); } in otCommissionerStop()
68 MeshCoP::Commissioner &commissioner = AsCoreType(aInstance).Get<MeshCoP::Commissioner>(); in otCommissionerAddJoiner()
87 …return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().AddJoiner(AsCoreType(aDiscerner), aPskd,… in otCommissionerAddJoinerWithDiscerner()
92 … return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetNextJoinerInfo(*aIterator, *aJoiner); in otCommissionerGetNextJoinerInfo()
98 MeshCoP::Commissioner &commissioner = AsCoreType(aInstance).Get<MeshCoP::Commissioner>(); in otCommissionerRemoveJoiner()
114 … return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().RemoveJoiner(AsCoreType(aDiscerner), 0); in otCommissionerRemoveJoinerWithDiscerner()
119 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().SetProvisioningUrl(aProvisioningUrl); in otCommissionerSetProvisioningUrl()
[all …]
/openthread-3.6.0/src/cli/
Dcli_commissioner.cpp43 template <> otError Commissioner::Process<Cmd("announce")>(Arg aArgs[]) in Process()
62 template <> otError Commissioner::Process<Cmd("energy")>(Arg aArgs[]) in Process()
78 &Commissioner::HandleEnergyReport, this); in Process()
84 template <> otError Commissioner::Process<Cmd("joiner")>(Arg aArgs[]) in Process()
195 template <> otError Commissioner::Process<Cmd("mgmtget")>(Arg aArgs[]) in Process()
242 template <> otError Commissioner::Process<Cmd("mgmtset")>(Arg aArgs[]) in Process()
304 template <> otError Commissioner::Process<Cmd("panid")>(Arg aArgs[]) in Process()
315 …error = otCommissionerPanIdQuery(GetInstancePtr(), panId, mask, &address, &Commissioner::HandlePan… in Process()
321 template <> otError Commissioner::Process<Cmd("provisioningurl")>(Arg aArgs[]) in Process()
328 template <> otError Commissioner::Process<Cmd("sessionid")>(Arg aArgs[]) in Process()
[all …]
DREADME_COMMISSIONING.md7 Form a network with the device that has Commissioner support.
54 ### Start Commissioner
56 1. Start the Commissioner Role
60 Commissioner: petitioning
62 Commissioner: active
116 - [Commissioner CLI Reference](README_COMMISSIONER.md)
DREADME_COMMISSIONER.md1 # OpenThread CLI - Commissioner
211 OpenThread Commissioner
220 > commissioner id "Custom Commissioner Id"
228 Start the Commissioner role.
234 Commissioner: petitioning
236 Commissioner: active
243 Get Commissioner state.
245 This command will return the current Commissioner state.
257 Stop the Commissioner role.
Dcli_commissioner.hpp52 class Commissioner : private Output class
64 Commissioner(otInstance *aInstance, OutputImplementer &aOutputImplementer) in Commissioner() function in ot::Cli::Commissioner
86 using Command = CommandEntry<Commissioner>;
Dcli.hpp116 friend class Commissioner;
568 Commissioner mCommissioner;
DREADME_DATASET.md116Commissioner will set a new Pending Operational Dataset. For testing purposes, we will do this in …
643 - c: External Commissioner authentication is allowed using PSKc.
DREADME.md2291 NOTE: Only for Thread 1.2 Commissioner FTD device.
/openthread-3.6.0/src/core/meshcop/
Dcommissioner.cpp60 Commissioner::Commissioner(Instance &aInstance) in Commissioner() function in ot::MeshCoP::Commissioner
85 void Commissioner::SetState(State aState) in SetState()
101 void Commissioner::SignalJoinerEvent(JoinerEvent aEvent, const Joiner *aJoiner) const in SignalJoinerEvent()
130 void Commissioner::HandleSecureAgentConnected(bool aConnected, void *aContext) in HandleSecureAgentConnected()
132 static_cast<Commissioner *>(aContext)->HandleSecureAgentConnected(aConnected); in HandleSecureAgentConnected()
135 void Commissioner::HandleSecureAgentConnected(bool aConnected) in HandleSecureAgentConnected()
145 Commissioner::Joiner *Commissioner::GetUnusedJoinerEntry(void) in GetUnusedJoinerEntry()
161 Commissioner::Joiner *Commissioner::FindJoinerEntry(const Mac::ExtAddress *aEui64) in FindJoinerEntry()
193 Commissioner::Joiner *Commissioner::FindJoinerEntry(const JoinerDiscerner &aDiscerner) in FindJoinerEntry()
209 Commissioner::Joiner *Commissioner::FindBestMatchingJoinerEntry(const Mac::ExtAddress &aReceivedJoi… in FindBestMatchingJoinerEntry()
[all …]
Dcommissioner.hpp66 class Commissioner : public InstanceLocator, private NonCopyable class
105 explicit Commissioner(Instance &aInstance);
469 …using JoinerExpirationTimer = TimerMilliIn<Commissioner, &Commissioner::HandleJoinerExpirationTime…
470 using CommissionerTimer = TimerMilliIn<Commissioner, &Commissioner::HandleTimer>;
471 … using JoinerSessionTimer = TimerMilliIn<Commissioner, &Commissioner::HandleJoinerSessionTimer>;
500 DeclareTmfHandler(Commissioner, kUriDatasetChanged);
501 DeclareTmfHandler(Commissioner, kUriRelayRx);
502 DeclareTmfHandler(Commissioner, kUriJoinerFinalize);
506 DefineMapEnum(otCommissionerState, MeshCoP::Commissioner::State);
507 DefineMapEnum(otCommissionerJoinerEvent, MeshCoP::Commissioner::JoinerEvent);
Dannounce_begin_client.cpp67 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendRequest()
74 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendRequest()
Dpanid_query_client.cpp69 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendQuery()
76 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendQuery()
Denergy_scan_client.cpp73 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendQuery()
80 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendQuery()
Ddataset_manager.cpp466 if (Get<Commissioner>().IsActive()) in SendSetRequest()
484 …SuccessOrExit(error = Tlv::Append<CommissionerSessionIdTlv>(*message, Get<Commissioner>().GetSessi… in SendSetRequest()
Dborder_agent.cpp291 VerifyOrExit(Get<Commissioner>().IsDisabled()); in HandleNotifierEvents()
/openthread-3.6.0/src/core/thread/
Dtmf.cpp96 Get<MeshCoP::Commissioner>().HandleTmf<kUriRelayRx>(aMessage, aMessageInfo); in HandleTmf()
152 Case(kUriDatasetChanged, MeshCoP::Commissioner); in HandleResource()
306 Case(kUriJoinerFinalize, MeshCoP::Commissioner); in HandleResource()
Dmlr_manager.cpp314 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in RegisterMulticastListeners()
316 if (!Get<MeshCoP::Commissioner>().IsActive()) in RegisterMulticastListeners()
387 if (Get<MeshCoP::Commissioner>().IsActive()) in SendMlrMessage()
390 …error = Tlv::Append<ThreadCommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetSess… in SendMlrMessage()
/openthread-3.6.0/tools/otci/
DREADME.md35 # Start Commissioner on node1
/openthread-3.6.0/tools/gerrit/
DREADME.md50 a9d32b7be [ncp] add support for Commissioner APIs in spinel and NCP (#2911)
/openthread-3.6.0/src/core/instance/
Dinstance.hpp548 MeshCoP::Commissioner mCommissioner;
855 template <> inline MeshCoP::Commissioner &Instance::Get(void) { return mCommissioner; } in Get()
/openthread-3.6.0/tools/harness-thci/
DOpenThread_WpanCtl.py2074 if self.deviceRole == Thread_Device_Role.Commissioner:
DOpenThread.py2245 if self.deviceRole == Thread_Device_Role.Commissioner: