@@ -156,14 +156,7 @@ The client will send a single command packet and then exit.
156
156
157
157
1 . Commission and pair device with nodeId 1234
158
158
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
167
160
168
161
```
169
162
chip-tool groupkeymanagement key-set-write GroupKeySet node-id endpoint-id
@@ -174,13 +167,20 @@ chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42, \
174
167
"d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }' 1234 0
175
168
```
176
169
177
- 4 . Bind Key to group
170
+ 3 . Bind Key to group
178
171
179
172
```
180
173
chip-tool groupkeymanagement write group-key-map attr-value node-id endpoint-id
181
174
chip-tool groupkeymanagement write group-key-map '[{"groupId": 16705, "groupKeySetID": 42}]' 1234 0
182
175
```
183
176
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
+
184
184
## Configuring the client for Group Commands
185
185
186
186
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
222
222
223
223
To use the Client to send Matter commands, run the built executable and pass it
224
224
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 )
227
229
228
230
E.G. sending to group Id 0x4141
229
231
0 commit comments