tree: 550857d4e6206f10b92ecc9f8ef4cf3cd30f9f8a [path history] [tgz]
  1. main/
  2. third_party/
  3. .gitignore
  4. CMakeLists.txt
  5. echo_test_config.yml
  6. partitions.csv
  8. sdkconfig.defaults

CHIP ESP32 Pigweed Example Application

Please setup ESP-IDF and CHIP Environment and refer building and commissioning guides to get started.


The ESP32 example demonstrates the usage of Pigweed module functionalities in an application.

The example is based on CHIP, the Pigweed module, which is a collection of libraries that provide different functionalities for embedded systems, and the ESP32 platform.

You can use this example as a training ground for making experiments, testing Pigweed module features and checking what actions are necessary to fully integrate Pigweed in a CHIP project.

Pigweed functionalities are being gradually integrated into CHIP. Currently, the following features are available:

  • Echo RPC - Creates a Remote Procedure Call server and allows sending commands through the serial port to the device, which makes echo and sends the received commands back.

Testing the Example Application

Run the following command to start an interactive Python shell, where the Echo RPC commands can be invoked:

python -m pw_hdlc.rpc_console --device /dev/tty.SLAB_USBtoUART -b 115200 $CHIP_ROOT/third_party/pigweed/repo/pw_rpc/pw_rpc_protos/echo.proto -o /tmp/pw_rpc.out

To send an Echo RPC message, type the following command, where the actual message is the text in quotation marks after the msg= phrase:"hi")