esp-idf/examples/zigbee/esp_zigbee_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 Zigbee example: add rcp and gateway 2022-01-04 17:46:09 +08:00
README.md Zigbee example: add rcp and gateway 2022-01-04 17:46:09 +08:00
sdkconfig.defaults Zigbee example: add rcp and gateway 2022-01-04 17:46:09 +08:00

Supported Targets ESP32-H2

Rcp Example

(See the README.md file in the upper level 'examples' directory for more information about examples.)

This test code shows how to configure Zigbee rcp (radio co-processor) device. Rcp doesn't function alone, it needs to work together with Zigbee gateway (see esp_zigbee_gateway example)

Hardware Required

  • One development board with ESP32-H2 SoC acting as Zigbee rcp (loaded with esp_zigbee_rcp example)
  • A USB cable for power supply and programming
  • Choose ESP32 or ESP32-S3 as Zigbee gateway. The connection and setup refer to the Zigbee gateway example for setup details (see esp_zigbee_gateway example)
  • TX, RX pin can be also configured by user in esp_zigbee_rcp.h

Configure the project

Before project configuration and build, make sure to set the correct chip target using idf.py --preview set-target esp32h2

Build and Flash

Build the project, flash it to the board by running idf.py -p <PORT> build flash

Rcp Functions

  • After rcp starts up, it will send its own MAC ieee address and Zigbee stack version number to the Zigbee gateway and start working together with Zigbee gateway via UART communication
  • For more log info please see Zigbee gateway side

Troubleshooting

For any technical queries, please open an issue on GitHub. We will get back to you soon