blob: 5160ef5d4d5cf8b5008b439b6efcd8cfce7a73d0 [file] [log] [blame] [view]
# Matter ASR All Clusters Example
A prototype application that demonstrates device commissioning and cluster
control on ASR platform.
---
- [Matter ASR All Clusters Example](#matter-asr-all-clusters-example)
- [Building and Commissioning](#building-and-commissioning)
- [Cluster Control](#cluster-control)
---
## Building and Commissioning
Please refer
[Building and Commissioning](../../../docs/guides/asr_getting_started_guide.md#building-the-example-application)
guides to get started
```
./scripts/build/build_examples.py --target asr-$ASR_BOARD-all-clusters-minimal build
```
## Cluster Control
After successful commissioning, use `chip-tool` to control the board
For example,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
```