A prototype application that demonstrates device commissioning and cluster control on ASR platform.
Please refer Building and Commissioning guides to get started
./scripts/build/build_examples.py --target asr-$ASR_BOARD-all-clusters build
After successful commissioning, use chip-tool
to control the board
For example, read sensor measured value:
./chip-tool temperaturemeasurement read measured-value <NODE ID> 1 ./chip-tool relativehumiditymeasurement read measured-value <NODE ID> 1 ./chip-tool pressuremeasurement read measured-value <NODE ID> 1
Or,control the OnOff Cluster attribute:
./chip-tool onoff read on-off <NODE ID> 1 ./chip-tool onoff on <NODE ID> 1 ./chip-tool onoff off <NODE ID> 1 ./chip-tool onoff toggle <NODE ID> 1
This demo uses button to test changing the light states and LED to show the state of these changes.
Name | Pin |
---|---|
LED | PAD6 |
BUTTON | PAD12 |