Home
last modified time | relevance | path

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

/openthread-2.7.6/src/cli/
Dcli_commissioner.hpp55 class Commissioner class
66 explicit Commissioner(Interpreter &aInterpreter) in Commissioner() function in ot::Cli::Commissioner
88 otError (Commissioner::*mHandler)(Arg aArgs[]);
127 {"announce", &Commissioner::ProcessAnnounce}, {"energy", &Commissioner::ProcessEnergy},
128 {"help", &Commissioner::ProcessHelp}, {"joiner", &Commissioner::ProcessJoiner},
129 {"mgmtget", &Commissioner::ProcessMgmtGet}, {"mgmtset", &Commissioner::ProcessMgmtSet},
130 …{"panid", &Commissioner::ProcessPanId}, {"provisioningurl", &Commissioner::ProcessProvisio…
131 {"sessionid", &Commissioner::ProcessSessionId}, {"start", &Commissioner::ProcessStart},
132 {"state", &Commissioner::ProcessState}, {"stop", &Commissioner::ProcessStop},
Dcli_commissioner.cpp43 constexpr Commissioner::Command Commissioner::sCommands[];
45 otError Commissioner::ProcessHelp(Arg aArgs[]) in ProcessHelp()
57 otError Commissioner::ProcessAnnounce(Arg aArgs[]) in ProcessAnnounce()
76 otError Commissioner::ProcessEnergy(Arg aArgs[]) in ProcessEnergy()
92 &Commissioner::HandleEnergyReport, this); in ProcessEnergy()
98 otError Commissioner::ProcessJoiner(Arg aArgs[]) in ProcessJoiner()
167 otError Commissioner::ProcessMgmtGet(Arg aArgs[]) in ProcessMgmtGet()
214 otError Commissioner::ProcessMgmtSet(Arg aArgs[]) in ProcessMgmtSet()
276 otError Commissioner::ProcessPanId(Arg aArgs[]) in ProcessPanId()
287 …error = otCommissionerPanIdQuery(mInterpreter.mInstance, panId, mask, &address, &Commissioner::Han… in ProcessPanId()
[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
190 Start the Commissioner role.
196 Commissioner: petitioning
198 Commissioner: active
205 Get Commissioner state.
207 This command will return the current Commissioner state.
219 Stop the Commissioner role.
Dcli.hpp102 friend class Commissioner;
975 Commissioner mCommissioner;
DREADME_DATASET.md515 - c: External Commissioner authentication is allowed using PSKc.
DREADME.md1663 NOTE: Only for Thread 1.2 Commissioner FTD device.
/openthread-2.7.6/src/core/api/
Dcommissioner_api.cpp52 …return instance.Get<MeshCoP::Commissioner>().Start(aStateCallback, aJoinerCallback, aCallbackConte… in otCommissionerStart()
59 return instance.Get<MeshCoP::Commissioner>().Stop(/* aResign */ true); in otCommissionerStop()
65 …MeshCoP::Commissioner &commissioner = static_cast<Instance *>(aInstance)->Get<MeshCoP::Commissione… in otCommissionerAddJoiner()
86 …return instance.Get<MeshCoP::Commissioner>().AddJoiner(*static_cast<const MeshCoP::JoinerDiscerner… in otCommissionerAddJoinerWithDiscerner()
94 return instance.Get<MeshCoP::Commissioner>().GetNextJoinerInfo(*aIterator, *aJoiner); in otCommissionerGetNextJoinerInfo()
100 …MeshCoP::Commissioner &commissioner = static_cast<Instance *>(aInstance)->Get<MeshCoP::Commissione… in otCommissionerRemoveJoiner()
118 return instance.Get<MeshCoP::Commissioner>().RemoveJoiner( in otCommissionerRemoveJoinerWithDiscerner()
126 return instance.Get<MeshCoP::Commissioner>().SetProvisioningUrl(aProvisioningUrl); in otCommissionerSetProvisioningUrl()
133 return instance.Get<MeshCoP::Commissioner>().GetProvisioningUrl(); in otCommissionerGetProvisioningUrl()
144 return instance.Get<MeshCoP::Commissioner>().GetAnnounceBeginClient().SendRequest( in otCommissionerAnnounceBegin()
[all …]
/openthread-2.7.6/src/core/meshcop/
Dcommissioner.cpp57 Commissioner::Commissioner(Instance &aInstance) in Commissioner() function in ot::MeshCoP::Commissioner
66 , mRelayReceive(UriPath::kRelayRx, &Commissioner::HandleRelayReceive, this) in Commissioner()
67 , mDatasetChanged(UriPath::kDatasetChanged, &Commissioner::HandleDatasetChanged, this) in Commissioner()
68 , mJoinerFinalize(UriPath::kJoinerFinalize, &Commissioner::HandleJoinerFinalize, this) in Commissioner()
89 void Commissioner::SetState(State aState) in SetState()
108 void Commissioner::SignalJoinerEvent(JoinerEvent aEvent, const Joiner *aJoiner) const in SignalJoinerEvent()
138 void Commissioner::AddCoapResources(void) in AddCoapResources()
145 void Commissioner::RemoveCoapResources(void) in RemoveCoapResources()
152 void Commissioner::HandleCoapsConnected(bool aConnected, void *aContext) in HandleCoapsConnected()
154 static_cast<Commissioner *>(aContext)->HandleCoapsConnected(aConnected); in HandleCoapsConnected()
[all …]
Dannounce_begin_client.cpp66 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendRequest()
73 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendRequest()
Dpanid_query_client.cpp71 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendQuery()
78 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendQuery()
Denergy_scan_client.cpp74 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in SendQuery()
81 …error = Tlv::Append<MeshCoP::CommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetS… in SendQuery()
Dcommissioner.hpp62 class Commissioner : public InstanceLocator, private NonCopyable class
82 explicit Commissioner(Instance &aInstance);
Ddataset_manager.cpp518 if (Get<Commissioner>().IsActive()) in SendSetRequest()
536 …SuccessOrExit(error = Tlv::Append<CommissionerSessionIdTlv>(*message, Get<Commissioner>().GetSessi… in SendSetRequest()
Dborder_agent.cpp305 VerifyOrExit(Get<MeshCoP::Commissioner>().IsDisabled()); in HandleNotifierEvents()
/openthread-2.7.6/tools/otci/
DREADME.md35 # Start Commissioner on node1
/openthread-2.7.6/src/core/thread/
Dmlr_manager.cpp329 VerifyOrExit(Get<MeshCoP::Commissioner>().IsActive(), error = kErrorInvalidState); in RegisterMulticastListeners()
331 if (!Get<MeshCoP::Commissioner>().IsActive()) in RegisterMulticastListeners()
417 if (Get<MeshCoP::Commissioner>().IsActive()) in SendMulticastListenerRegistrationMessage()
420 …error = Tlv::Append<ThreadCommissionerSessionIdTlv>(*message, Get<MeshCoP::Commissioner>().GetSess… in SendMulticastListenerRegistrationMessage()
Dthread_netif.hpp257 MeshCoP::Commissioner mCommissioner;
Dmle.cpp874 Get<MeshCoP::Commissioner>().ApplyMeshLocalPrefix(); in ApplyMeshLocalPrefix()
/openthread-2.7.6/examples/
DREADME.md11 … agent. In most cases, enable this switch if you are building On-mesh Commissioner or Border Route…
20 …T_COMMISSIONER | Enables support for Commissioner. Enable this switch on device that is able to pe…
68 …the NCP design) with External Commissioning support to service Thread Commissioner packets on the …
/openthread-2.7.6/tools/gerrit/
DREADME.md50 a9d32b7be [ncp] add support for Commissioner APIs in spinel and NCP (#2911)
/openthread-2.7.6/zephyr/
DCMakeLists.txt71 set(OT_COMMISSIONER ON CACHE BOOL "Enable Commissioner" FORCE)
73 set(OT_COMMISSIONER OFF CACHE BOOL "Enable Commissioner" FORCE)
/openthread-2.7.6/src/core/common/
Dinstance.hpp714 template <> inline MeshCoP::Commissioner &Instance::Get(void) in Get()
/openthread-2.7.6/tools/harness-thci/
DOpenThread_WpanCtl.py2074 if self.deviceRole == Thread_Device_Role.Commissioner:
DOpenThread.py2374 if self.deviceRole == Thread_Device_Role.Commissioner: