• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/04-Jan-2025-134

CMakeLists.txtD04-Jan-2025234 106

README.rstD04-Jan-2025869 3625

prj.confD04-Jan-2025393 219

sample.yamlD04-Jan-2025382 1817

README.rst

1.. zephyr:code-sample:: openthread-shell
2   :name: OpenThread shell
3   :relevant-api: net_stats
4
5   Test Thread and IEEE 802.15.4 using the OpenThread shell.
6
7Overview
8********
9
10This sample allows testing the Thread protocol and the underlying IEEE 802.15.4 drivers for various
11boards using the OpenThread shell.
12
13Building and Running
14********************
15
16Verify that the board and chip you are targeting provide IEEE 802.15.4 support.
17
18For instance you can use Nordic's nRF52840 DK.
19
20.. zephyr-app-commands::
21   :zephyr-app: samples/net/openthread/shell
22   :board: nrf52840dk/nrf52840
23   :goals: build
24   :compact:
25
26Sample console interaction
27==========================
28
29.. code-block:: console
30
31   uart:~$ ot scan
32   | PAN  | MAC Address      | Ch | dBm | LQI |
33   +------+------------------+----+-----+-----+
34   | fe09 | abcdef1234567890 | 15 | -78 |  60 |
35   Done
36