tree: 1c913b2cb5da0d880f1bea53242e352446b52cc9 [path history] [tgz]
  1. main/
  2. third_party/
  3. .gitignore
  4. CMakeLists.txt
  5. partitions.csv
  6. README.md
  7. sdkconfig.defaults
  8. sdkconfig.optimize.defaults
  9. sdkconfig_rpc.defaults
examples/temperature-measurement-app/esp32/README.md

CHIP ESP32 Temperature Sensor Example

This example is meant to represent a minimal-sized application.

Refer to setup ESP-IDF and CHIP Environment and Build, Flash, Monitor, and Commissioning guides to get started.



Cluster control

temperaturemeasurement

Usage:
  ./out/debug/chip-tool temperaturemeasurement read measured-value <NODE ID> 1

Optimization

Optimization related to WiFi, BLuetooth, Asserts etc are the part of this example by default. To enable this option set is_debug=false from command-line.

# Reconfigure the project for additional optimizations
rm -rf sdkconfig build/
idf.py -Dis_debug=false reconfigure

# Set additional configurations if required
idf.py menuconfig

# Build, flash, and monitor the device
idf.py -p /dev/tty.SLAB_USBtoUART build flash monitor