Skip to content

Commit 1394e2d

Browse files
Fixed chip-tool guide around Group commands configurations (project-chip#23873)
* Fixed chip-tool guide around Group commands configurations * Restyled by prettier-markdown Co-authored-by: Restyled.io <commits@restyled.io>
1 parent a7807c8 commit 1394e2d

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

examples/chip-tool/README.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,7 @@ The client will send a single command packet and then exit.
156156

157157
1. Commission and pair device with nodeId 1234
158158

159-
2. Add Group to device
160-
161-
```
162-
chip-tool groups add-group GroupId GroupName node-id endpoint-id
163-
chip-tool groups add-group 0x4141 Light 1234 1
164-
```
165-
166-
3. Add group Keyset to device
159+
2. Add group Keyset to device
167160

168161
```
169162
chip-tool groupkeymanagement key-set-write GroupKeySet node-id endpoint-id
@@ -174,13 +167,20 @@ chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42, \
174167
"d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }' 1234 0
175168
```
176169

177-
4. Bind Key to group
170+
3. Bind Key to group
178171

179172
```
180173
chip-tool groupkeymanagement write group-key-map attr-value node-id endpoint-id
181174
chip-tool groupkeymanagement write group-key-map '[{"groupId": 16705, "groupKeySetID": 42}]' 1234 0
182175
```
183176

177+
4. Add Group to device
178+
179+
```
180+
chip-tool groups add-group GroupId GroupName node-id endpoint-id
181+
chip-tool groups add-group 0x4141 Light 1234 1
182+
```
183+
184184
## Configuring the client for Group Commands
185185

186186
Prior to sending a Group command, both the end device and the Client (Chip-tool)
@@ -222,8 +222,10 @@ chip-tool groupsettings bind-keyset 0x4141 0xAAAA
222222

223223
To use the Client to send Matter commands, run the built executable and pass it
224224
the target cluster name, the target command name, the Group Id in Node Id form
225-
(`0xffffffffffffXXXX`) and an unused endpoint Id. Take note that Only commands
226-
and attributes write can be send with Group Id.
225+
(`0xffffffffffffXXXX`) and an used endpoint Id. Take note that Only commands and
226+
attributes write can be send with Group Id. Also note that a group ACL needs to
227+
be installed before a command sent to the group will be accepted. See
228+
[the access control guide](../../docs/guides/access-control-guide.md#installing-a-group-acl)
227229

228230
E.G. sending to group Id 0x4141
229231

0 commit comments

Comments
 (0)