@@ -76,23 +76,22 @@ tests:
7676 disabled : true
7777
7878 - label :
79- " Step 5: TH1 generates fabric-unique GroupID, GroupName, random key,
80- EpochKey0 and GroupKeySetID."
79+ ' Step 5: If the Groupcast cluster is enabled on the RootNode endpoint,
80+ skip to step 9a. Otherwise, TH1 generates a random key (Key1) and
81+ EpochKey0 and uses GroupID 1, GroupName "", and GroupKeySetID 0x01a1.'
8182 verification : |
8283 As Admin generates it is not required to verify
8384 disabled : true
8485
8586 - label :
8687 " Step 6: TH1 sends KeySetWrite command to GroupKeyManagement cluster
87- to TH2 on Endpoint 0."
88+ to TH2 on Endpoint 0 with GroupKeySetID 0x01a1, Key1, and EpochKey0 ."
8889 verification : |
8990 Run this command for [ nRF52840-DK ]Thread device in chip-tool:
9091
91- ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42 ,
92+ ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 417 ,
9293 "groupKeySecurityPolicy": 0, "epochKey0":
93- "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1":
94- "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2":
95- "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002,
94+ "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,
9695 "groupKeyMulticastPolicy": 0}' 74 0
9796
9897 On TH1(Chip-tool), Verify the success response for KeySetWrite
@@ -129,20 +128,21 @@ tests:
129128
130129 Run this command for lighting app in chip-tool:
131130
132- ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42 , "groupKeySecurityPolicy": 0, "epochKey0": "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 , "groupKeyMulticastPolicy": 0 }' 2 0
131+ ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 417 , "groupKeySecurityPolicy": 0, "epochKey0": "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001, "groupKeyMulticastPolicy": 0 }' 2 0
133132
134133 On TH1, Verify the success response for KeySetWrite
135134
136135 [1657719041.075743][4541:4546] CHIP:DMG: status = 0x00 (SUCCESS),
137136 disabled : true
138137
139138 - label :
140- " Step 7: TH1 binds GroupId with GroupKeySetID in the GroupKeyMap
141- attribute list on GroupKeyManagement cluster to TH2 on Endpoint 0"
139+ " Step 7: TH1 binds GroupId 1 with GroupKeySetID 0x01a1 in the
140+ GroupKeyMap attribute list on GroupKeyManagement cluster to TH2 on
141+ Endpoint 0"
142142 verification : |
143143 Run this command for [ nRF52840-DK ]Thread device in chip-tool:
144144
145- ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 42 , "fabricIndex": 1}]' 74 0
145+ ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 417 , "fabricIndex": 1}]' 74 0
146146
147147 On TH1(Chip-tool), Verify the success response for GroupKeySetID
148148
@@ -153,7 +153,7 @@ tests:
153153 [1657719130.464342][4557:4562] CHIP:DMG:
154154
155155 Run this command for lighting app in chip-tool:
156- ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 42 , "fabricIndex": 1}]' 2 0
156+ ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 417 , "fabricIndex": 1}]' 2 0
157157
158158 On TH1(Chip-tool), Verify the success response for GroupKeySetID
159159
@@ -165,8 +165,8 @@ tests:
165165 disabled : true
166166
167167 - label :
168- " Step 8: TH1 sends AddGroup( Group Name and Group-ID) Command to TH2
169- on Endpoint 1."
168+ " Step 8: TH1 sends AddGroup with GroupID 1 ( Group Name, Group-ID)
169+ Command to TH2 on Endpoint 1."
170170 verification : |
171171 Run this command for [ nRF52840-DK ]Thread device in chip-tool:
172172
@@ -198,24 +198,37 @@ tests:
198198
199199 ./chip-tool groupsettings add-group grp1 0x0001
200200
201- ./chip-tool groupsettings add-keysets 0x0042 0 0x000000000021dfe0 hex:d0d1d2d3d4d5d6d7d8d9dadbdcdddedf
201+ ./chip-tool groupsettings add-keysets 0x01a1 0 0x000000000021dfe0 hex:d0d1d2d3d4d5d6d7d8d9dadbdcdddedf
202202
203- ./chip-tool groupsettings bind-keyset 0x0001 0x0042
203+ ./chip-tool groupsettings bind-keyset 0x0001 0x01a1
204204
205205 ./chip-tool groupsettings show-groups
206206
207207 +-------------------------------------------------------------------------------------+
208208 | Available Groups : |
209209 +-------------------------------------------------------------------------------------+
210210 | Group Id | KeySet Id | Group Name |
211- | 0x101 0x1a1 Group #1 |
212- | 0x102 0x1a2 Group #2 |
213- | 0x1 0x42 grp1 |
211+ | 0x1 0x1a1 Group #1 |
214212 +-------------------------------------------------------------------------------------+"
215213 disabled : true
216214
217215 - label :
218- " Step 9: TH1 writes Binding entry into DUT with Entry 1: Group = The
216+ " Step 9a: If the Groupcast cluster is NOT enabled on the RootNode
217+ endpoint, skip to step 10. Otherwise, TH1 reads the DUT Groupcast
218+ featuremap attribute."
219+ verification : |
220+
221+ disabled : true
222+
223+ - label :
224+ " Step 9b: TH1 sends Groupcast JoinGroup command with GroupID=1,
225+ Endpoints=[EP1], KeySetID=0x01a1, Key=Key1 to TH2 endpoint 0."
226+ verification : |
227+
228+ disabled : true
229+
230+ - label :
231+ " Step 10: TH1 writes Binding entry into DUT with Entry 1: Group = The
219232 Group ID in the AddGroup command sent from TH1 to TH2"
220233 verification : |
221234 Before write the binding entries run the ACL Commands:
@@ -253,20 +266,47 @@ tests:
253266 [1657719251.763440][4597:4602] CHIP:DMG: },
254267 disabled : true
255268
256- - label : " Step 10: TH1 sets up group settings on DUT"
269+ - label :
270+ " Step 11: If the Groupcast cluster is enabled on the RootNode
271+ endpoint, skip this step. Otherwise, TH1 sets up group settings on DUT"
257272 verification : |
258273
259274 disabled : true
260275
261276 - label :
262- " Step 11a: DUT is triggered to send Multicast message On command to
277+ " Step 12: If the Groupcast cluster is NOT enabled on the RootNode
278+ endpoint, skip this step. Otherwise, TH1 sends Groupcast JoinGroup
279+ command with GroupID=1, Endpoints=[], KeySetID=0x01a1, Key=Key1 to DUT
280+ endpoint 0."
281+ verification : |
282+
283+ disabled : true
284+
285+ - label : " Step 13a: TH1 sends a unicast Off command to TH2 (Endpoint 1)"
286+ verification : |
287+ Example:
288+
289+ ./chip-tool onoff off 2 1
290+ disabled : true
291+
292+ - label : " Step 13b: TH1 reads OnOff attribute from TH2 (Endpoint 1)"
293+ verification : |
294+ Run this command for lighting app in chip-tool:
295+
296+ ./chip-tool onoff read on-off 2 1
297+
298+ On TH1(Chip-tool), verify that OnOff value is OFF (FALSE).
299+ disabled : true
300+
301+ - label :
302+ " Step 14a: DUT is triggered to send Multicast message On command to
263303 its binding entries"
264304 PICS : OO.C.C01.Tx
265305 verification : |
266306 Press button no.2 on nrf52840 DK thread board
267307 disabled : true
268308
269- - label : " Step 11b : TH1 reads OnOff attribute from TH2 (Endpoint 1)"
309+ - label : " Step 14b : TH1 reads OnOff attribute from TH2 (Endpoint 1)"
270310 PICS : OO.C.C01.Tx
271311 verification : |
272312 Run this command for lighting app in chip-tool:
@@ -279,7 +319,7 @@ tests:
279319 [1657719363.799380][4615:4620] CHIP:TOO: OnOff: TRUE
280320 disabled : true
281321
282- - label : " Step 12 : TH1 removes all the binding entries from DUT"
322+ - label : " Step 15 : TH1 removes all the binding entries from DUT"
283323 verification : |
284324 Run this command for [ nRF52840-DK ]Thread device in chip-tool:
285325
@@ -294,14 +334,14 @@ tests:
294334 disabled : true
295335
296336 - label :
297- " Step 13a : DUT is triggered to send Multicast message off command to
337+ " Step 16a : DUT is triggered to send Multicast message off command to
298338 its binding entries"
299339 PICS : OO.C.C00.Tx
300340 verification : |
301341 Press button no.2 on nrf52840 DK thread board
302342 disabled : true
303343
304- - label : " Step 13b : TH1 reads OnOff attribute from TH2 (Endpoint 1)"
344+ - label : " Step 16b : TH1 reads OnOff attribute from TH2 (Endpoint 1)"
305345 PICS : OO.C.C01.Tx
306346 verification : |
307347 Run this command for lighting app in chip-tool:
0 commit comments