Home
last modified time | relevance | path

Searched refs:panId (Results 1 – 16 of 16) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_dataset.cpp69 uint16_t panId; in TestDataset() local
113 SuccessOrQuit(dataset.Read<PanIdTlv>(panId)); in TestDataset()
114 VerifyOrQuit(panId == 0xface); in TestDataset()
129 SuccessOrQuit(dataset.Read<PanIdTlv>(panId)); in TestDataset()
130 VerifyOrQuit(panId == 0xcafe); in TestDataset()
155 VerifyOrQuit(dataset.Read<PanIdTlv>(panId) == kErrorNotFound); in TestDataset()
189 SuccessOrQuit(dataset.Read<PanIdTlv>(panId)); in TestDataset()
190 VerifyOrQuit(panId == 0xcafe); in TestDataset()
207 SuccessOrQuit(dataset.Read<PanIdTlv>(panId)); in TestDataset()
208 VerifyOrQuit(panId == 0xcafe); in TestDataset()
Dtest_mac_frame.cpp293 Mac::PanId panId; in TestMacHeader() local
380 SuccessOrQuit(frame.GetDstPanId(panId)); in TestMacHeader()
381 VerifyOrQuit(panId == panIds.GetDestination()); in TestMacHeader()
387 SuccessOrQuit(frame.GetSrcPanId(panId)); in TestMacHeader()
388 VerifyOrQuit(panId == panIds.GetSource()); in TestMacHeader()
/openthread-3.7.0/src/core/thread/
Dpanid_query_server.cpp63 uint16_t panId; in HandleTmf() local
69 SuccessOrExit(Tlv::Find<MeshCoP::PanIdTlv>(aMessage, panId)); in HandleTmf()
73 mPanId = panId; in HandleTmf()
Dmle.cpp3675 uint16_t panId; in HandleAnnounce() local
3686 SuccessOrExit(error = Tlv::Find<PanIdTlv>(aRxInfo.mMessage, panId)); in HandleAnnounce()
3692 …channelAndPanIdMatch = (channel == Get<Mac::Mac>().GetPanChannel()) && (panId == Get<Mac::Mac>().G… in HandleAnnounce()
3725 mAlternatePanId = panId; in HandleAnnounce()
3730 LogNote("Delay processing Announce - channel %d, panid 0x%02x", channel, panId); in HandleAnnounce()
/openthread-3.7.0/src/core/meshcop/
Dpanid_query_client.cpp97 uint16_t panId; in HandleTmf() local
104 SuccessOrExit(Tlv::Find<MeshCoP::PanIdTlv>(aMessage, panId)); in HandleTmf()
108 mCallback.InvokeIfSet(panId, mask); in HandleTmf()
Ddataset_manager_ftd.cpp79 uint16_t panId; in ProcessSetOrReplaceRequest() local
113 if ((dataset.Read<PanIdTlv>(panId) == kErrorNone) && (panId != Get<Mac::Mac>().GetPanId())) in ProcessSetOrReplaceRequest()
/openthread-3.7.0/src/core/mac/
Dmac_types.cpp47 PanId panId; in GenerateRandomPanId() local
51 panId = Random::NonCrypto::GetUint16(); in GenerateRandomPanId()
52 } while (panId == kPanIdBroadcast); in GenerateRandomPanId()
54 return panId; in GenerateRandomPanId()
Dmac_frame.cpp1408 PanId panId; in GenerateEnhAck() local
1442 SuccessOrExit(error = aRxFrame.GetSrcPanId(panId)); in GenerateEnhAck()
1443 panIds.SetDestination(panId); in GenerateEnhAck()
1447 SuccessOrExit(error = aRxFrame.GetDstPanId(panId)); in GenerateEnhAck()
1448 panIds.SetDestination(panId); in GenerateEnhAck()
/openthread-3.7.0/tests/fuzz/
Dradio_receive_done.cpp62 const otPanId panId = 0xdead; in LLVMFuzzerTestOneInput() local
73 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
Dncp_hdlc_received.cpp71 const otPanId panId = 0xdead; in LLVMFuzzerTestOneInput() local
82 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
Dcli_received.cpp73 const otPanId panId = 0xdead; in LLVMFuzzerTestOneInput() local
84 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
Dip6_send.cpp62 const otPanId panId = 0xdead; in LLVMFuzzerTestOneInput() local
74 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
/openthread-3.7.0/src/cli/
Dcli_commissioner.cpp461 uint16_t panId; in Process() local
465 SuccessOrExit(error = aArgs[0].ParseAsUint16(panId)); in Process()
469 …error = otCommissionerPanIdQuery(GetInstancePtr(), panId, mask, &address, &Commissioner::HandlePan… in Process()
/openthread-3.7.0/src/ncp/
Dncp_base_ftd.cpp942 uint16_t panId; in HandlePropertySet() local
946 SuccessOrExit(error = mDecoder.ReadUint16(panId)); in HandlePropertySet()
950 error = otCommissionerPanIdQuery(mInstance, panId, channelMask, address, in HandlePropertySet()
/openthread-3.7.0/tools/harness-thci/
DOpenThread_WpanCtl.py467 str(hex(self.panId)),
1439 self.panId = ModuleHelper.Default_PanId
1471 self.setPANID(self.panId)
DOpenThread.py1444 self.panId = ModuleHelper.Default_PanId
1495 self.setPANID(self.panId)