/openthread-3.6.0/src/core/api/ |
D | commissioner_api.cpp | 50 …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/ |
D | cli_commissioner.cpp | 43 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 …]
|
D | README_COMMISSIONING.md | 7 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)
|
D | README_COMMISSIONER.md | 1 # 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.
|
D | cli_commissioner.hpp | 52 class Commissioner : private Output class 64 Commissioner(otInstance *aInstance, OutputImplementer &aOutputImplementer) in Commissioner() function in ot::Cli::Commissioner 86 using Command = CommandEntry<Commissioner>;
|
D | cli.hpp | 116 friend class Commissioner; 568 Commissioner mCommissioner;
|
D | README_DATASET.md | 116 …Commissioner will set a new Pending Operational Dataset. For testing purposes, we will do this in … 643 - c: External Commissioner authentication is allowed using PSKc.
|
D | README.md | 2291 NOTE: Only for Thread 1.2 Commissioner FTD device.
|
/openthread-3.6.0/src/core/meshcop/ |
D | commissioner.cpp | 60 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 …]
|
D | commissioner.hpp | 66 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);
|
D | announce_begin_client.cpp | 67 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendRequest() 74 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendRequest()
|
D | panid_query_client.cpp | 69 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendQuery() 76 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendQuery()
|
D | energy_scan_client.cpp | 73 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendQuery() 80 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendQuery()
|
D | dataset_manager.cpp | 466 if (Get<Commissioner>().IsActive()) in SendSetRequest() 484 …SuccessOrExit(error = Tlv::Append<CommissionerSessionIdTlv>(*message, Get<Commissioner>().GetSessi… in SendSetRequest()
|
D | border_agent.cpp | 291 VerifyOrExit(Get<Commissioner>().IsDisabled()); in HandleNotifierEvents()
|
/openthread-3.6.0/src/core/thread/ |
D | tmf.cpp | 96 Get<MeshCoP::Commissioner>().HandleTmf<kUriRelayRx>(aMessage, aMessageInfo); in HandleTmf() 152 Case(kUriDatasetChanged, MeshCoP::Commissioner); in HandleResource() 306 Case(kUriJoinerFinalize, MeshCoP::Commissioner); in HandleResource()
|
D | mlr_manager.cpp | 314 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/ |
D | README.md | 35 # Start Commissioner on node1
|
/openthread-3.6.0/tools/gerrit/ |
D | README.md | 50 a9d32b7be [ncp] add support for Commissioner APIs in spinel and NCP (#2911)
|
/openthread-3.6.0/src/core/instance/ |
D | instance.hpp | 548 MeshCoP::Commissioner mCommissioner; 855 template <> inline MeshCoP::Commissioner &Instance::Get(void) { return mCommissioner; } in Get()
|
/openthread-3.6.0/tools/harness-thci/ |
D | OpenThread_WpanCtl.py | 2074 if self.deviceRole == Thread_Device_Role.Commissioner:
|
D | OpenThread.py | 2245 if self.deviceRole == Thread_Device_Role.Commissioner:
|