esp-idf/examples/openthread/ot_rcp
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
..
main uart: add default source clock for all targets 2022-05-09 11:26:30 +08: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 openthread: refine ot_rcp example documentation and APIs 2021-08-26 16:10:16 +08:00
sdkconfig.defaults openthread: add ot_rcp example 2021-08-25 18:04:45 +08:00

Supported Targets ESP32-H2

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-H2 board is required.

Configure the project

The default communication interface is port 0 of ESP32-H2 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.