esp-idf/examples/openthread/ot_rcp
Xia Qi Lin 63d04942e5 Merge branch 'feature/esp32h2_support_ieee802154' into 'master'
ieee802154: add support esp32h2

Closes TZ-59

See merge request espressif/esp-idf!22379
2023-03-01 18:30:55 +08:00
..
main openthread: add the configurable option of uart buffer size 2023-02-22 03:01:38 +00:00
CMakeLists.txt tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
partitions.csv fix review comments 2022-05-17 12:56:22 +08:00
README.md CI: add openthread build CI for ESP32-H2 2023-02-27 17:51:19 +08:00
sdkconfig.ci.rcp openthread:add openthread CI 2022-09-16 14:07:31 +08:00
sdkconfig.defaults openthread: fix compile errors when disabling openthread cli 2023-01-13 22:12:54 +08:00

Supported Targets ESP32-C6 ESP32-H2 ESP32-H4

OpenThread Radio Co-Processor (RCP) Example

This example demonstrates an OpenThread Radio Co-Processor.

OpenThread RCP doesn't function alone, it needs to work together with a Host and this example covers two common user scenarios:

How to use example

Hardware Required

To run this example, an ESP32-H4 board is required.

Configure the project

The default communication interface is port 0 of ESP32-H4 UART running at 115200 baud, change the configuration in esp_ot_config.h if you want to use another interface or need different communication parameters.

Build and Flash

Build the project and flash it to the board:

idf.py -p <PORT> build flash

Now you'll get an OpenThread RCP, you can try the following use cases:

Thread Border Router

Please refer to ot_br example for the setup steps.

Thread Sniffer

Please refer to Thread Sniffer for the detailed instructions.