mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8d48ff5818
feat(esp_coex): add external coex slave support See merge request espressif/esp-idf!25444 |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
partitions.csv | ||
README.md | ||
sdkconfig.ci.rcp | ||
sdkconfig.defaults |
Supported Targets | ESP32-C6 | 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:
- Work with a Host Processor to perform a Thread Border Router.
- Work as a Thread Sniffer.
How to use example
Hardware Required
To run this example, a board with IEEE 802.15.4 module (for example ESP32-H2) is required.
Configure the project
The default communication interface is port 0 of ESP32-H2 UART running at 460800 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.