Shu Chen c09633d41b openthread: enrich documentation for openthread examples 4 лет назад
..
main c09633d41b openthread: enrich documentation for openthread examples 4 лет назад
CMakeLists.txt 4175aa0892 openthread: add ot_rcp example 4 лет назад
Makefile 4175aa0892 openthread: add ot_rcp example 4 лет назад
README.md e770817dc7 openthread: refine ot_rcp example documentation and APIs 4 лет назад
partitions.csv 4175aa0892 openthread: add ot_rcp example 4 лет назад
sdkconfig.defaults 4175aa0892 openthread: add ot_rcp example 4 лет назад

README.md

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.