mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
openthread: change readme about specific target to 802.15.4 Soc
This commit is contained in:
@@ -12,4 +12,4 @@ In this folder, it contains following OpenThread examples:
|
|||||||
|
|
||||||
* [ot_br](ot_br) is an [OpenThread Border Router](https://openthread.io/guides/border-router) example. It runs on a Wi-Fi SoC such as ESP32, ESP32-C3 and ESP32-S3. It needs an 802.15.4 SoC like ESP32-H2 running [ot_rcp](ot_rcp) example to provide 802.15.4 radio.
|
* [ot_br](ot_br) is an [OpenThread Border Router](https://openthread.io/guides/border-router) example. It runs on a Wi-Fi SoC such as ESP32, ESP32-C3 and ESP32-S3. It needs an 802.15.4 SoC like ESP32-H2 running [ot_rcp](ot_rcp) example to provide 802.15.4 radio.
|
||||||
|
|
||||||
* [ot_sleepy_device](ot_sleepy_device) is an OpenThread sleepy device example, it supports 802.15.4 radio light sleep. It runs on an 802.15.4 SoC like ESP32-C6.
|
* [ot_sleepy_device](ot_sleepy_device) is an OpenThread sleepy device example, it supports 802.15.4 radio light sleep. It runs on an 802.15.4 SoC.
|
||||||
|
@@ -8,28 +8,22 @@ The example demonstrates the Thread Sleepy End Device (SED), the device will ent
|
|||||||
|
|
||||||
### Hardware Required
|
### Hardware Required
|
||||||
|
|
||||||
* Prepare an ESP32-C6 development board as an OpenThread Sleepy End Device (SED).
|
* Prepare an 802.15.4 SoC development board as an OpenThread Sleepy End Device (SED).
|
||||||
* Connect the board using a USB cable for power supply and programming.
|
* Connect the board using a USB cable for power supply and programming.
|
||||||
* Choose another ESP32-C6 as the OpenThread Leader.
|
* Choose another 802.15.4 SoC as the OpenThread Leader.
|
||||||
|
|
||||||
|
|
||||||
## Configure the Openthread Dataset
|
## Configure the Openthread Dataset
|
||||||
|
|
||||||
* Run [ot_cli](../ot_cli/) on another ESP32-C6 device to create openthread dataset configuration and start an openthread network as the leader.
|
* Run [ot_cli](../ot_cli/) on another 802.15.4 SoC device to create openthread dataset configuration and start an openthread network as the leader.
|
||||||
* Configure the Openthread dataset using `idf.py menuconfig` in `Component config ---> Openthread ---> Thread Operation Dataset`, ensuring that the openthread sleepy device's dataset matches the dataset of the leader.
|
* Configure the Openthread dataset using `idf.py menuconfig` in `Component config ---> Openthread ---> Thread Operation Dataset`, ensuring that the openthread sleepy device's dataset matches the dataset of the leader.
|
||||||
|
|
||||||
## Erase the ot_storage
|
|
||||||
|
|
||||||
If desired, erase the ot_storage by running `idf.py -p <PORT> erase-flash` before flashing the board to remove previous examples or other project data.
|
|
||||||
|
|
||||||
### Build and Flash
|
### Build and Flash
|
||||||
|
|
||||||
Build the project and flash it to the board. Use the following command: `idf.py -p <PORT> build flash monitor`.
|
Build the project and flash it to the board. Use the following command: `idf.py -p <PORT> erase-flash flash monitor`.
|
||||||
|
|
||||||
|
|
||||||
### Example Output
|
### Example Output
|
||||||
|
|
||||||
As the example runs, you will see the log output indicating the initialization and operation of OpenThread, including the device joining the OpenThread network as a Sleepy End Device (SED) and periodic polling of the leader.
|
As the example runs, you will see the log output indicating the initialization and operation of OpenThread, including the device joining the OpenThread network as a Sleepy End Device (SED) and periodic polling of the leader.
|
||||||
|
|
||||||
```
|
```
|
||||||
I (769) btbb_init: btbb sleep retention initialization
|
I (769) btbb_init: btbb sleep retention initialization
|
||||||
|
Reference in New Issue
Block a user