@@ -53,24 +53,25 @@ tests:
53
53
saveAs : th1FabricIndex
54
54
55
55
- label :
56
- " Step 3 & 4 : TH1 puts DUT into commissioning mode, TH2 commissions DUT
56
+ " Step 2 & 3 : TH1 puts DUT into commissioning mode, TH2 commissions DUT
57
57
using admin node ID N2"
58
58
verification : |
59
- Open a commissioning window On TH1(Chiptool)using below command
59
+ ./chip-tool pairing open- commissioning- window 1 1 400 2000 3841
60
60
61
- ./ chip-tool pairing open-commissioning-window 1 1 400 2000 3841
61
+ On TH1( chip-tool) note the manual pairing code for commissioning the TH2
62
62
63
- [1657186324.710951][10820:10825 ] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
64
- [1657186324.710980][10820:10825 ] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device
65
- [1657186324.711048][10820:10825 ] CHIP:CTL: Manual pairing code : [36253605617 ]
66
- [1657186324.711108][10820:10825 ] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700 ]
63
+ [1684416077.831754][118314:118316 ] CHIP:CTL: Successfully opened pairing window on the device
64
+ [1684416077.831763][118314:118316 ] CHIP:CTL: Manual pairing code: [36283142515]
65
+ [1684416077.831771][118314:118316 ] CHIP:CTL: SetupQRCode : [MT:-24J0IRV010UJE7ZH10 ]
66
+ [1684416077.831791][118314:118316 ] CHIP:DMG: ICR moving to [AwaitingDe ]
67
67
68
+ ./chip-tool pairing code 2 36283142515 --commissioner-name beta
68
69
69
- Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
70
+ On TH2 (chip-tool) verify the commissioning completed with success
70
71
71
- ./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
72
- [1657186359.584672][3509:3514 ] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
73
- [1657186359.584743][3509:3514 ] CHIP:TOO: Device commissioning completed with success
72
+ [1684416247.482777][118352:118354] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
73
+ [1684416247.482789][118352:118354 ] CHIP:TOO: Device commissioning completed with success
74
+ [1684416247.482823][118352:118354 ] CHIP:DMG: ICR moving to [AwaitingDe]
74
75
cluster : " LogCommands"
75
76
command : " UserPrompt"
76
77
PICS : PICS_SKIP_SAMPLE_APP
@@ -132,12 +133,33 @@ tests:
132
133
133
134
- label : " TH2 reads the fabric index"
134
135
identity : " beta"
136
+ PICS : PICS_SDK_CI_ONLY
135
137
cluster : " Operational Credentials"
136
138
command : " readAttribute"
137
139
attribute : " CurrentFabricIndex"
138
140
response :
139
141
saveAs : th2FabricIndex
140
142
143
+ # Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
144
+ - label : " TH2 reads the fabric index"
145
+ verification : |
146
+ ./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-name beta
147
+
148
+ On TH2 (chip-tool) note the CurrentFabricIndex for the further use
149
+
150
+ [1684416368.885484][118383:118385] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3654336520
151
+ [1684416368.885511][118383:118385] CHIP:TOO: CurrentFabricIndex: 2
152
+ [1684416368.885577][118383:118385] CHIP:EM: <<< [E:65212i S:18077 M:83303022 (Ack:184536262)] (S) Msg TX to 2:0000000000000002 [C33E] --- Type 0000:10 (SecureChannel:StandaloneAck)
153
+ cluster : " LogCommands"
154
+ command : " UserPrompt"
155
+ PICS : PICS_SKIP_SAMPLE_APP
156
+ arguments :
157
+ values :
158
+ - name : " message"
159
+ value : " Enter 'y' after success"
160
+ - name : " expectedValue"
161
+ value : " y"
162
+
141
163
- label : " Read the commissioner node ID from the alpha fabric"
142
164
identity : " alpha"
143
165
cluster : " CommissionerCommands"
@@ -171,6 +193,7 @@ tests:
171
193
]
172
194
173
195
- label : " Read the commissioner node ID from the beta fabric"
196
+ PICS : PICS_SDK_CI_ONLY
174
197
identity : " beta"
175
198
cluster : " CommissionerCommands"
176
199
command : " GetCommissionerNodeId"
@@ -181,6 +204,7 @@ tests:
181
204
182
205
- label : " TH2 writes ACL giving view privilge for basic cluster"
183
206
identity : beta
207
+ PICS : PICS_SDK_CI_ONLY
184
208
command : " writeAttribute"
185
209
attribute : " ACL"
186
210
arguments :
@@ -203,6 +227,28 @@ tests:
203
227
},
204
228
]
205
229
230
+ # Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
231
+ - label : " TH2 writes ACL giving view privilge for basic cluster"
232
+ verification : |
233
+ ./chip-tool accesscontrol write acl '[{"fabricIndex": 2, "privilege": 5, "authMode": 2, "subjects": [223344], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]}, {"fabricIndex": 2, "privilege": 1, "authMode": 2, "subjects": null, "targets": [{ "cluster": 40, "endpoint": 0, "deviceType": null }]}]' 2 0 --commissioner-name beta
234
+
235
+ On TH2 (chip-tool) verify the success response for the write function
236
+
237
+ [1684416510.660175][118418:118420] CHIP:DMG: StatusIB =
238
+ [1684416510.660184][118418:118420] CHIP:DMG: {
239
+ [1684416510.660192][118418:118420] CHIP:DMG: status = 0x00 (SUCCESS),
240
+ [1684416510.660201][118418:118420] CHIP:DMG: },
241
+ [1684416510.660211][118418:118420] CHIP:DMG:
242
+ cluster : " LogCommands"
243
+ command : " UserPrompt"
244
+ PICS : PICS_SKIP_SAMPLE_APP
245
+ arguments :
246
+ values :
247
+ - name : " message"
248
+ value : " Enter 'y' after success"
249
+ - name : " expectedValue"
250
+ value : " y"
251
+
206
252
- label : " TH1 reads descriptor cluster - expect SUCCESS"
207
253
command : " readAttribute"
208
254
cluster : " Descriptor"
@@ -217,18 +263,61 @@ tests:
217
263
218
264
- label : " TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"
219
265
identity : " beta"
266
+ PICS : PICS_SDK_CI_ONLY
220
267
command : " readAttribute"
221
268
cluster : " Descriptor"
222
269
attribute : " DeviceTypeList"
223
270
response :
224
271
error : UNSUPPORTED_ACCESS
225
272
273
+ # Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
274
+ - label : " TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS"
275
+ verification : |
276
+ ./chip-tool descriptor read device-type-list 2 0 --commissioner-name beta
277
+
278
+ On TH2(chip-tool) verify the UNSUPPORTED_ACCESS (0x7e) response
279
+
280
+ [1684416700.274460][118482:118484] CHIP:DMG: StatusIB =
281
+ [1684416700.274467][118482:118484] CHIP:DMG: {
282
+ [1684416700.274475][118482:118484] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS),
283
+ [1684416700.274482][118482:118484] CHIP:DMG: },
284
+ cluster : " LogCommands"
285
+ command : " UserPrompt"
286
+ PICS : PICS_SKIP_SAMPLE_APP
287
+ arguments :
288
+ values :
289
+ - name : " message"
290
+ value : " Enter 'y' after success"
291
+ - name : " expectedValue"
292
+ value : " y"
293
+
226
294
- label : " TH2 reads basic cluster - expect SUCCESS"
227
295
identity : " beta"
296
+ PICS : PICS_SDK_CI_ONLY
228
297
command : " readAttribute"
229
298
cluster : " Basic Information"
230
299
attribute : " VendorID"
231
300
301
+ # Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
302
+ - label : " TH2 writes Extension attribute value as empty list"
303
+ verification : |
304
+ ./chip-tool basicinformation read vendor-id 2 0 --commissioner-name beta
305
+
306
+ On TH2(chip-tool) verify the success with the Vendor-id
307
+
308
+ [1684416789.682243][118505:118507] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 2033462723
309
+ [1684416789.682271][118505:118507] CHIP:TOO: VendorID: 65521
310
+ [1684416789.682327][118505:118507] CHIP:EM: <<< [E:11340i S:29188 M:208193949 (Ack:232576417)] (S) Msg TX to 2:0000000000000002 [C33E] --- Type 0000:10 (SecureChannel:StandaloneAck)
311
+ cluster : " LogCommands"
312
+ command : " UserPrompt"
313
+ PICS : PICS_SKIP_SAMPLE_APP
314
+ arguments :
315
+ values :
316
+ - name : " message"
317
+ value : " Enter 'y' after success"
318
+ - name : " expectedValue"
319
+ value : " y"
320
+
232
321
- label : " TH1 resets ACL to default"
233
322
command : " writeAttribute"
234
323
attribute : " ACL"
@@ -245,8 +334,33 @@ tests:
245
334
246
335
- label : " TH1 sends RemoveFabric command for TH2"
247
336
cluster : " Operational Credentials"
337
+ PICS : PICS_SDK_CI_ONLY
248
338
command : " RemoveFabric"
249
339
arguments :
250
340
values :
251
341
- name : " FabricIndex"
252
342
value : th2FabricIndex
343
+
344
+ # Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768
345
+ - label : " TH1 sends RemoveFabric command for TH2"
346
+ verification : |
347
+ ./chip-tool operationalcredentials remove-fabric 2 1 0
348
+
349
+ On TH1(chip-tool) verify the success with the nocresponse with statuscode is success(0)
350
+
351
+ [1684416866.004187][118527:118529] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
352
+ [1684416866.004214][118527:118529] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
353
+ [1684416866.004236][118527:118529] CHIP:TOO: NOCResponse: {
354
+ [1684416866.004250][118527:118529] CHIP:TOO: statusCode: 0
355
+ [1684416866.004255][118527:118529] CHIP:TOO: fabricIndex: 2
356
+ [1684416866.004259][118527:118529] CHIP:TOO: }
357
+ [1684416866.004270][118527:118529] CHIP:DMG: ICR moving to [AwaitingDe]
358
+ cluster : " LogCommands"
359
+ command : " UserPrompt"
360
+ PICS : PICS_SKIP_SAMPLE_APP
361
+ arguments :
362
+ values :
363
+ - name : " message"
364
+ value : " Enter 'y' after success"
365
+ - name : " expectedValue"
366
+ value : " y"
0 commit comments