The ASR Lock Example demonstrates how to remotely control a door lock device with one basic bolt. It uses buttons to test changing the lock and device states and LEDs to show the state of these changes. You can use this example as a reference for creating your own application.
The Matter demo application is supported on:
Please refer Building and Commissioning guides to get started
./scripts/build/build_examples.py --target asr-$ASR_BOARD-lock build
After successful commissioning, use chip-tool
to control the board
./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 lock and device states and LED to show the state of these changes.
Name | Pin |
---|---|
LOCK-STATE | PAD13 |
LOCK-BUTTON | PAD6 |