Home
last modified time | relevance | path

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

12

/openthread-latest/tools/tcat_ble_client/
Dbbtc.py74 device = await get_device_by_args(args)
78 if device is not None:
80 ble_sstream = BleStreamSecure(device)
118 device = None
120 device = await ble_scanner.find_first_by_mac(args.mac)
121device = await BleStream.create(device.address, BBTC_SERVICE_UUID, BBTC_TX_CHAR_UUID, BBTC_RX_CHAR…
123 device = await ble_scanner.find_first_by_name(args.name)
124device = await BleStream.create(device.address, BBTC_SERVICE_UUID, BBTC_TX_CHAR_UUID, BBTC_RX_CHAR…
127 device = select_device_by_user_input(tcat_devices)
128 if device:
[all …]
DREADME.md29 In order to connect to a TCAT device, enter the project directory and run:
32 poetry run python3 bbtc.py {<device specifier> | --scan}
35 where `<device specifier>` can be:
37 - `--name <NAME>` - name advertised by the device
38 - `--mac <ADDRESS>` - physical address of the device's Bluetooth interface
40 Using the `--scan` option will scan for every TCAT device and display them in a list, to allow sele…
48 The application will connect to the first matching device discovered and set up a secure TLS channe…
55 poetry run python3 bbtc.py --cert_path <certs-path> {<device specifier> | --scan}
75 - `commission` - Commission the device with current dataset.
/openthread-latest/tools/tcat_ble_client/ble/
Dble_scanner.py30 from bleak.backends.device import BLEDevice
39 device = await BleakScanner.find_device_by_filter(match_name)
40 return device
45 device = await BleakScanner.find_device_by_filter(match_mac)
46 return device
54 for _, (device, adv) in discovered_devices.items():
59 tcat_devices.append((device, ad))
/openthread-latest/tools/harness-simulation/harness/Web/data/
DupdateDeviceFields.py45 added_names = set(device.attrib['name'] for device in added.iter('DEVICE'))
49 for device in removed_devices:
50 root.remove(device)
51 for device in added.iter('DEVICE'):
52 root.append(device)
/openthread-latest/tools/otci/
DREADME.md5 ## Supported device types
8 - SOC device via Serial
10 - SOC device via Serial
12 - OTBR device via SSH
19 # Connect to an OTBR device via SSH
22 # Connect to an OpenThread CLI device via Serial
/openthread-latest/tools/tcat_ble_client/utils/
D__init__.py55 for i, (device, adv) in enumerate(tcat_devices):
64 device = tcat_devices[selected - 1][0]
65 print('Selected ', device)
67 return device
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/THCI/
DOpenThread_Sim.py52 def __init__(self, ip, port, username, password, device, node_id): argument
62 self.__connect(device)
68 def __connect(self, device): argument
86 … self.__stdin, self.__stdout, _ = self.__handle.exec_command(device + ' ' + str(self.node_id))
142 self.device, self.node_id)
164 … self.device = '/'.join([config['ot_path'], ot_subpath[self.tag], 'examples/apps/cli/ot-cli-ftd'])
/openthread-latest/src/cli/
DREADME_COMMISSIONING.md5 Commissioning is the process of adding a new Thread device, called the Joiner, to a Thread network.…
11 Form a network with the Thread device that has Commissioner support.
69 2. Add the Joiner with the device-specific pre-shared key (PSKd)
78 1. Factory reset the device.
101 4. After successful attach, validate the device has the same Active Operational Dataset as above.
DREADME_TCAT.md68 Displays currently set TCAT device id.
78 Sets TCAT device id.
87 Clears TCAT device id.
DREADME_NETDATA.md95 Only the Network Key is required for a device to attach to a Thread network.
99 After the device successfully attaches to a Thread network, the device will retrieve the complete A…
185 - The device is acting as a leader and receives a Network Data registration from a Border Router (B…
186 - The device is acting as a BR and new entries cannot be added to its local Network Data.
187 - The device is acting as a BR and tries to register its local Network Data entries with the leader…
259 …NS/SRP Service Unicast Address" with given port number, version, and the device's mesh-local EID f…
357 - RLOC16 of device which added the on-mesh prefix
367 - RLOC16 of device which added the route prefix
DREADME_BR.md234 Peer BRs are other devices within the Thread mesh that provide external IP connectivity. A device i…
240 The list of peer BRs specifically excludes the current device, even if it is itself acting as a BR.
258 The count does not include the current device, even if it is itself acting as a BR.
344 …fixes) in emitted Router Advertisement message. When cleared BR will use device's role to determin…
378 …ly determine the route preference based on device's role and link quality to parent (when acting a…
401 - `(this BR)` is appended when the router is the local device itself.
DREADME.md143 Prints the attach time (duration since device was last attached).
157 Show current Primary Backbone Router information for Thread 1.2 device.
179 Only for testing/reference device.
203 Only for testing/reference Backbone Router device.
216 Only for testing/reference Backbone Router device.
233 Only for testing/reference Backbone Router device.
246 Only for testing/reference device.
284 …rvice for Thread 1.2 FTD. `SRV_DATA.ntf` would be triggered for attached device if there is no Bac…
304 … Backbone Router Service for Thread 1.2 FTD. `SRV_DATA.ntf` would be triggered for attached device.
817 Get the maximum number of IP addresses that each MTD child may register with this device as parent.
[all …]
/openthread-latest/tools/harness-simulation/harness/Thread_Harness/Sniffer/
DSimSniffer.py95 device = self._devices.get(deviceName)
96 if device is None:
98 return device
121 sniffer.filterNodes(device.node_id for device in sniffer_denied_partition)
124 for device in itertools.chain(self._partition1, self._partition2):
125 device.clearBlockedNodeIds()
314 def validateFirmwareVersion(self, device): argument
/openthread-latest/examples/apps/cli/
DREADME.md3 … the minimal steps required to ping one emulated Thread device from another emulated Thread device.
56 Wait a few seconds and verify that the device has become a Thread Leader:
107 Wait a few seconds and verify that the device has become a Thread Child or Router:
/openthread-latest/tests/scripts/thread-cert/
Dsimulator.py343 for device in recv_devices:
344 if device != addr and self._is_radio(device):
348 device,
421 def _on_ack_seq_change(self, device: tuple, seq_no: int):
422 old_seq = self._node_ack_seq.pop(device, None)
424 self._nodes_by_ack_seq[old_seq].remove(device)
426 self._node_ack_seq[device] = seq_no
427 self._nodes_by_ack_seq.setdefault(seq_no, set()).add(device)
/openthread-latest/src/posix/
DREADME.md54 To build and program the device with RCP application, complete the following steps:
98 6. Depending on the hardware platform, complete the following steps to program the device:
125 …Disable the Mass Storage feature on the device, so that it does not interfere with the core RCP fu…
128 JLinkExe -device NRF52840_XXAA -if SWD -speed 4000 -autoconnect 1
134 Power-cycle the device to apply the changes.
151 # Daemon with real device
/openthread-latest/tools/harness-thci/
DREADME.md20 …iffer, and CC2538DK (or other hardware running OpenThread, as the reference device) to the Host PC.
24 6. Drag the "OpenThread: TI CC2538DK" reference device to the **Test Bed** section with the desired…
46 9. Drag the "OpenThread_WpanCtl: Wpantund + NCP" reference device to the **Test Bed** section with …
60device's IP address Param5 : 'ip' for SSH login Param6 : SSH username Param7 : SSH password Param8…
66 8. Drag the "OpenThread_WpanCtl: Wpantund + NCP (SSH)" reference device to the **Test Bed** section…
/openthread-latest/src/posix/platform/
Dopenthread.conf.example26 # The radio supported channel mask that the device is allowed to be on.
31 # The radio preferred channel mask that the device prefers to form on.
/openthread-latest/tools/harness-automation/autothreadharness/
Dharness_case.py203 for device in settings.GOLDEN_DEVICES:
204 port, _ = device
211 self.history.mark_bad_golden_device(device)
475 device = browser.find_element_by_id(device_type_id)
478 action_chains.click_and_hold(device)
512device for device in settings.GOLDEN_DEVICES if not self.history.is_bad_golden_device(device[0]) a…
513 not (settings.DUT_DEVICE and device[0] == settings.DUT_DEVICE[0])
/openthread-latest/tools/cp-caps/
DREADME.md20 - DUT : The device under test.
21 - Reference Device : The device that supports all tested features.
33 …52840] is set as the reference device by default. Testers can also select the other Thread device
77 REF_ADB_USB=<serial_number> Connect to the reference device via adb usb
78 REF_CLI_SERIAL=<serial_device> Connect to the reference device via cli serial port
79 REF_SSH=<device_ip> Connect to the reference device via ssh
/openthread-latest/tools/spi-hdlc-adapter/
DREADME.md9 spi-hdlc-adapter [options] <spi-device-path>
27 `spi-device-path` is a required argument since it indicates which SPI device to use. An example pat…
41 When resetting the slave device, `spi-hdlc` performs the following procedure:
/openthread-latest/tools/tcat_ble_client/auth-generate/
DMakefile39 ./create-cert-tcat-device.sh $@ $(ca)
/openthread-latest/tools/tcat_ble_client/cli/
Dbase_commands.py364 device = select_device_by_user_input(tcat_devices)
366 if device is None:
372 …ble_stream = await BleStream.create(device.address, BBTC_SERVICE_UUID, BBTC_TX_CHAR_UUID, BBTC_RX_…
/openthread-latest/tools/harness-automation/
DREADME.rst25 If ``-l`` is given, ``NAME`` is the serial port device name. Otherwise ``NAME`` is test case name. …
/openthread-latest/tools/harness-simulation/
DREADME.md48 … Harness. The information field of the device is encoded as `<tag>_<node_id>@<ip_addr>`. Choose th…

12