/openthread-3.6.0/tests/scripts/expect/ |
D | cli-commissioner.exp | 35 set eui64 "d45e64fa83f81cf7" 37 send "commissioner joiner add $eui64 J01NME\n" 39 wait_for "netdata steeringdata check $eui64" "Done" 40 send "commissioner joiner remove $eui64\n" 42 wait_for "netdata steeringdata check $eui64" "NotFound"
|
D | _multinode.exp | 53 set eui64 $expect_out(1,string) 69 send "commissioner joiner add $eui64 $::JOINER_PSK\n" 71 wait_for "netdata steeringdata check $eui64" "Done" 87 send "commissioner joiner remove $eui64\n"
|
/openthread-3.6.0/tests/scripts/thread-cert/ |
D | test_common.py | 115 eui64 = any_eui64() 118 mac_address = common.MacAddress.from_eui64(eui64) 122 self.assertEqual(eui64, mac_address.mac_address) 160 eui64 = any_eui64() 162 mac_address = common.MacAddress.from_eui64(eui64) 168 self.assertEqual(bytearray([eui64[0] ^ 0x02]) + eui64[1:], iid)
|
D | common.py | 153 def from_eui64(cls, eui64, big_endian=True): argument 154 if not isinstance(eui64, bytearray): 155 … RuntimeError("Could not create MAC address from EUI64. Invalid data type: {}".format(type(eui64))) 157 return cls(eui64, MacAddressType.LONG)
|
D | net_crypto.py | 145 def _create_nonce(self, eui64, frame_counter, security_level): argument 159 return bytes(eui64 + struct.pack(">LB", frame_counter, security_level))
|
D | test_lowpan.py | 2536 eui64 = any_eui64() 2544 …ual_src_addr = factory._decompress_src_addr(iphc, any_src_mac_addr(), any_sci(), io.BytesIO(eui64)) 2549 self.assertEqual(self.IPV6_LINKLOCAL_PREFIX + eui64, actual_src_addr) 2640 eui64 = any_eui64() 2647 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, eui64) 2650 … actual_src_addr = factory._decompress_src_addr(iphc, any_src_mac_addr(), sci, io.BytesIO(eui64)) 2746 eui64 = any_eui64() 2755 …ual_dst_addr = factory._decompress_dst_addr(iphc, any_dst_mac_addr(), any_dci(), io.BytesIO(eui64)) 2761 self.assertEqual(self.IPV6_LINKLOCAL_PREFIX + eui64, actual_dst_addr) 2837 eui64 = any_eui64() [all …]
|
/openthread-3.6.0/src/cli/ |
D | README_COMMISSIONER.md | 86 Usage: `commissioner joiner add <eui64>|<discerner> <pskd> [timeout]` 90 - eui64: The IEEE EUI-64 of the Joiner or '\*' to match any Joiner. 107 Usage: `commissioner joiner remove <eui64>|<discerner>` 111 - eui64: The IEEE EUI-64 of the Joiner or '\*' to match any Joiner.
|
D | README_COMMISSIONING.md | 49 > eui64
|
D | README_NETDATA.md | 436 ### netdata steeringdata check \<eui64\>|\<discerner\> 440 - eui64: The IEEE EUI-64 of the Joiner.
|
D | README.md | 53 - [eui64](#eui64) 1449 ### eui64 subsection 1454 > eui64
|
/openthread-3.6.0/tests/unit/ |
D | test_spinel_encoder.cpp | 109 spinel_eui64_t *eui64; in TestEncoder() local 155 …_2, &u8, &i8, &u16, &i16, &u32, &i32, &u64, &i64, &u_1, &u_2, &u_3, &u_4, &ip6Addr, &eui48, &eui64, in TestEncoder() 175 VerifyOrQuit(memcmp(eui64, &kEui64, sizeof(spinel_eui64_t)) == 0); in TestEncoder() 346 &u8, &u32, &ip6Addr, &eui64, &utf_1); in TestEncoder() 354 VerifyOrQuit(memcmp(eui64, &kEui64, sizeof(spinel_eui64_t)) == 0); in TestEncoder()
|
D | test_spinel_decoder.cpp | 94 const spinel_eui64_t *eui64; in TestDecoder() local 153 SuccessOrQuit(decoder.ReadEui64(eui64)); in TestDecoder() 179 VerifyOrQuit(memcmp(eui64, &kEui64, sizeof(spinel_eui64_t)) == 0); in TestDecoder()
|
/openthread-3.6.0/src/core/net/ |
D | dhcp6_client.cpp | 317 Mac::ExtAddress eui64; in AppendClientIdentifier() local 319 Get<Radio>().GetIeeeEui64(eui64); in AppendClientIdentifier() 324 option.SetDuidLinkLayerAddress(eui64); in AppendClientIdentifier() 497 Mac::ExtAddress eui64; in ProcessClientIdentifier() local 499 Get<Radio>().GetIeeeEui64(eui64); in ProcessClientIdentifier() 504 …option.GetDuidHardwareType() == kHardwareTypeEui64) && (option.GetDuidLinkLayerAddress() == eui64), in ProcessClientIdentifier()
|
D | dhcp6_server.cpp | 379 Mac::ExtAddress eui64; in AppendServerIdentifier() local 381 Get<Radio>().GetIeeeEui64(eui64); in AppendServerIdentifier() 386 option.SetDuidLinkLayerAddress(eui64); in AppendServerIdentifier()
|
/openthread-3.6.0/src/lib/spinel/ |
D | spinel.c | 1693 const spinel_eui64_t *eui64 = NULL; in main() local 1695 …len = spinel_datatype_unpack(buffer, (spinel_size_t)len, "CiiLUE", &c, &i1, &i2, &l, &str, &eui64); in main() 1733 if (memcmp(eui64, &static_eui64, sizeof(spinel_eui64_t)) != 0) in main() 1746 spinel_eui64_t eui64 = {{0}}; in main() local 1749 &eui64); in main() 1787 if (memcmp(&eui64, &static_eui64, sizeof(spinel_eui64_t)) != 0) in main() 1813 spinel_eui64_t *eui64 = NULL; in main() local 1815 … = spinel_datatype_unpack(buffer, (spinel_size_t)len, "Cit(iL)UE", &c, &i1, &i2, &l, &str, &eui64); in main() 1853 if (memcmp(eui64, &static_eui64, sizeof(spinel_eui64_t)) != 0) in main() 1866 spinel_eui64_t eui64 = {{0}}; in main() local [all …]
|
/openthread-3.6.0/src/ncp/ |
D | ncp_base_ftd.cpp | 764 const otExtAddress *eui64; in HandlePropertyInsert() local 774 eui64 = nullptr; in HandlePropertyInsert() 778 SuccessOrExit(error = mDecoder.ReadEui64(eui64)); in HandlePropertyInsert() 799 error = otCommissionerAddJoiner(mInstance, eui64, psk, timeout); in HandlePropertyInsert() 811 const otExtAddress *eui64; in HandlePropertyRemove() local 819 eui64 = nullptr; in HandlePropertyRemove() 823 SuccessOrExit(error = mDecoder.ReadEui64(eui64)); in HandlePropertyRemove() 841 error = otCommissionerRemoveJoiner(mInstance, eui64); in HandlePropertyRemove() 1074 const otExtAddress *eui64 = nullptr; in HandlePropertyInsert() local 1081 if (mDecoder.ReadEui64(eui64) != OT_ERROR_NONE) in HandlePropertyInsert() [all …]
|
/openthread-3.6.0/tools/otci/ |
D | README.md | 39 node1.commissioner_add_joiner("TEST123",eui64='*')
|
/openthread-3.6.0/src/core/meshcop/ |
D | joiner.cpp | 76 Mac::ExtAddress eui64; in SetIdFromIeeeEui64() local 78 Get<Radio>().GetIeeeEui64(eui64); in SetIdFromIeeeEui64() 79 ComputeJoinerId(eui64, mId); in SetIdFromIeeeEui64()
|
/openthread-3.6.0/tools/otci/otci/ |
D | otci.py | 1459 def commissioner_add_joiner(self, pskd, eui64=None, discerner=None, timeout=None): argument 1467 if (eui64 is not None) == (discerner is not None): 1470 if eui64 is not None and eui64 != '*': 1471 self.__validate_extaddr(eui64) 1480 def commissioner_remove_jointer(self, eui64=None, discerner=None): argument 1481 if (eui64 is not None) == (discerner is not None): 1484 if eui64 is not None and eui64 != '*': 1485 self.__validate_extaddr(eui64)
|
/openthread-3.6.0/tools/otci/tests/ |
D | test_otci.py | 532 node1.commissioner_add_joiner("TEST123", eui64='*') 612 commissioner.commissioner_add_joiner('TEST123', eui64='*')
|
/openthread-3.6.0/tests/toranj/ncp/ |
D | wpan.py | 524 def commissioner_add_joiner(self, eui64, pskd, timeout='100'): argument 525 return self.wpanctl('commissioner joiner-add {} {} {}'.format(eui64, timeout, pskd))
|
/openthread-3.6.0/tools/harness-thci/ |
D | OpenThread_WpanCtl.py | 2046 eui64 = self.__convertLongToHex(xEUI, 16) 2048 eui64 = xEUI 2053 … cmd = self.wpan_cmd_prefix + 'commissioner joiner-add "%s" %s %s' % (eui64, str(timeout), strPSKd)
|
D | OpenThread.py | 2210 eui64 = self.__convertLongToHex(xEUI, 16) 2212 eui64 = xEUI 2217 self._deviceEscapeEscapable(eui64),
|