This example demonstrates the Matter Bridge application on ASR platform.
A prototype application that demonstrates dynamic endpoint with device commissioning and cluster control. It adds the non-chip device as endpoints on a bridge(Matter device). In this example four light devices supporting on-off cluster have been added as endpoints
Please refer Building and Commissioning guides to get started
./scripts/build/build_examples.py --target asr-$ASR_BOARD-bridge build
An additional light-switch device is required to complete this example.
Commission bridge device with node-id 1
Commission light-switch device with node-id 2
After bridge device and light-switch device successful commissioning, use the GUI tool DOGO
to input AT command subdevice sync
for the bridge device, and then use chip-tool to write ACL to the bridge device.
./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [2], "targets": null }]' 1 0
After successful commissioning, use the chip-tool
for binding light-switch‘s endpoint 1 with bridge device’s endpoint 3 respectively.
./chip-tool binding write binding '[{"fabricIndex": 1, "node":1, "endpoint":3, "cluster":6}]' 2 1
Light switch button
This demo uses button to test changing the Light1
, and the bridge device will output log information:
Name | Pin |
---|---|
BUTTON | PAD12 |