Skip to content

Commit

Permalink
read me update
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored and woody-apple committed Mar 5, 2022
1 parent 6d54a77 commit 7373452
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions examples/light-switch-app/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,18 +259,21 @@ combination with JLinkRTTClient as follows:

**Matter shell**

- 'switch on' : Sends On command to bound device
**_OnOff Cluster_**

- 'switch off' : Sends Off command to bound device
- 'switch onoff on' : Sends unicast On command to bound device
- 'switch onoff off' : Sends unicast Off command to bound device
- 'switch onoff toggle' : Sends unicast Toggle command to bound device

- 'switch toggle : Sends Toggle command to bound device
- 'switch groups onoff on' : Sends On group command to bound group
- 'switch groups onoff off' : Sends On group command to bound group
- 'switch groups onoff toggle' : Sends On group command to bound group

* You can provision and control the Chip device using the python controller,
Chip tool standalone, Android or iOS app

[CHIPTool](https://github.com/project-chip/connectedhomeip/blob/master/examples/chip-tool/README.md)
standalone, Android or iOS app

Here is an example with the CHIPTool:
Here is an example with the CHIPTool for unicast commands only:

```
chip-tool pairing ble-thread 1 hex:<operationalDataset> 20202021 3840
Expand All @@ -280,6 +283,25 @@ combination with JLinkRTTClient as follows:
chip-tool binding write binding '[{"fabricIndex": 1, "node": <lighting-node-id>, "endpoint": 1, "cluster":6}]' 1 1
```
Here is an example with the CHIPTool for groups commands only:
```
chip-tool pairing ble-thread 1 hex:<operationalDataset> 20202021 3840
chip-tool tests TestGroupDemoConfig --nodeId 1
chip-tool tests TestGroupDemoConfig --nodeId <lighting-node-id>
chip-tool binding write binding '[{"fabricIndex": 1, "group": 257}]' 1 1
```
To run the example with unicast and groups commands, run the grousp command
only commands and replace the last one with binding command
```
chip-tool binding write binding '[{"fabricIndex": 1, "group": 257},{"fabricIndex": 1, "node": <lighting-node-id>, "endpoint": 1, "cluster":6} ]' 1 1
```
### Notes
- Depending on your network settings your router might not provide native ipv6
Expand Down

0 comments on commit 7373452

Please sign in to comment.