@@ -171,51 +171,124 @@ tests:
171
171
" Step 8: TH discovers and connects to DUT on the
172
172
PIXIT.CNET.THREAD_2ND_OPERATIONALDATASET operational network"
173
173
verification : |
174
- Mark as not applicable and proceed to next step
174
+ ./chip-tool networkcommissioning read networks 22 0
175
+
176
+ Via the TH (chip-tool), Verify:
177
+ -the Networks attribute has NetworkID that should be as th_xpan(second network id).
178
+ -that the connected status should be the type of bool value as TRUE.
179
+
180
+ [1659623451.276073][9891:9896] CHIP:TOO: Networks: 1 entries
181
+ [1659623451.276194][9891:9896] CHIP:TOO: [1]: {
182
+ [1659623451.276268][9891:9896] CHIP:TOO: NetworkID: 1111111122222222
183
+ [1659623451.276326][9891:9896] CHIP:TOO: Connected: TRUE
184
+ [1659623451.276381][9891:9896] CHIP:TOO: }
175
185
disabled : true
176
186
177
187
- label :
178
188
" Step 9: TH reads Breadcrumb attribute from the General Commissioning
179
189
cluster of the DUT"
180
190
PICS : CNET.S.C06.Rsp
181
191
verification : |
182
- Mark as not applicable and proceed to next step
192
+ ./chip-tool generalcommissioning read breadcrumb 22 0
193
+
194
+ Verify "breadcrumb value is set to 2" on the TH(Chip-tool) Log:
195
+
196
+ [1659623558.934419][9911:9917] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 808037534
197
+ [1659623558.934529][9911:9917] CHIP:TOO: Breadcrumb: 2
198
+ [1659623558.934681][9911:9917] CHIP:EM: Sending Standalone Ack for MessageCounter:244248455 on exchange 8477i
183
199
disabled : true
184
200
185
201
- label :
186
202
" Step 10: TH sends ArmFailSafe command to the DUT with
187
203
ExpiryLengthSeconds set to 0"
188
204
verification : |
189
- Mark as not applicable and proceed to next step
205
+ ./chip-tool generalcommissioning arm-fail-safe 0 1 22 0
206
+
207
+ Verify "ArmFailSafeResponse" on the TH(Chip-tool) Log:
208
+
209
+ [1659623653.222898][9932:9937] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001
210
+ [1659623653.223029][9932:9937] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001
211
+ [1659623653.223198][9932:9937] CHIP:TOO: ArmFailSafeResponse: {
212
+ [1659623653.223283][9932:9937] CHIP:TOO: errorCode: 0
213
+ [1659623653.223347][9932:9937] CHIP:TOO: debugText:
214
+ [1659623653.223403][9932:9937] CHIP:TOO: }
215
+ [1659623653.223492][9932:9937] CHIP:DMG: ICR moving to [AwaitingDe]
190
216
disabled : true
191
217
192
218
- label :
193
219
" Step 11: TH ensures it can communicate on
194
220
PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET"
195
221
verification : |
196
- Mark as not applicable and proceed to next step
222
+ ./chip-tool networkcommissioning read networks 22 0
223
+
224
+ Via the TH (chip-tool), Verify:
225
+ -the Networks attribute has NetworkID that should be as th_xpan(first network id).
226
+ -that the connected status should be the type of bool value as TRUE.
227
+
228
+ [1659623217.387917][9816:9821] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4196844346
229
+ [1659623217.388007][9816:9821] CHIP:TOO: Networks: 1 entries
230
+ [1659623217.388058][9816:9821] CHIP:TOO: [1]: {
231
+ [1659623217.388089][9816:9821] CHIP:TOO: NetworkID: 1111111122222221
232
+ [1659623217.388110][9816:9821] CHIP:TOO: Connected: TRUE
233
+ [1659623217.388129][9816:9821] CHIP:TOO: }
197
234
disabled : true
198
235
199
236
- label :
200
237
" Step 12: TH discovers and connects to DUT on the
201
238
PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET operational network"
202
239
verification : |
203
- Mark as not applicable and proceed to next step
240
+ ./chip-tool networkcommissioning read networks 22 0
241
+
242
+ Via the TH (chip-tool), Verify:
243
+ -the Networks attribute has NetworkID that should be as th_xpan(first network id).
244
+ -that the connected status should be the type of bool value as TRUE.
245
+
246
+ [1659623217.387917][9816:9821] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4196844346
247
+ [1659623217.388007][9816:9821] CHIP:TOO: Networks: 1 entries
248
+ [1659623217.388058][9816:9821] CHIP:TOO: [1]: {
249
+ [1659623217.388089][9816:9821] CHIP:TOO: NetworkID: 1111111122222221
250
+ [1659623217.388110][9816:9821] CHIP:TOO: Connected: TRUE
251
+ [1659623217.388129][9816:9821] CHIP:TOO: }
204
252
disabled : true
205
253
206
254
- label :
207
255
" Step 13: TH sends ArmFailSafe command to the DUT with
208
256
ExpiryLengthSeconds set to 900"
209
257
verification : |
210
- Mark as not applicable and proceed to next step
258
+ ./chip-tool generalcommissioning arm-fail-safe 900 1 22 0
259
+
260
+ Via the TH (chip-tool), Verify the DUT sends ArmFailSafe with timeout as 900 secs to the TH.
261
+
262
+ [1657808518.577084][5979:5984] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001
263
+ [1657808518.577181][5979:5984] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001
264
+ [1657808518.577311][5979:5984] CHIP:TOO: ArmFailSafeResponse: {
265
+ [1657808518.577409][5979:5984] CHIP:TOO: errorCode: 0
266
+ [1657808518.577466][5979:5984] CHIP:TOO: debugText:
267
+ [1657808518.577518][5979:5984] CHIP:TOO: }
268
+ [1657808518.577604][5979:5984] CHIP:DMG: ICR moving to [AwaitingDe]
269
+ [1657808518.577705][5979:5984] CHIP:EM: Sending Standalone Ack for MessageCounter:240383707 on exchange 56756i
211
270
disabled : true
212
271
213
272
- label :
214
273
" Step 14: TH sends RemoveNetwork Command to the DUT with NetworkID
215
274
field set to th_xpan and Breadcrumb field set to 1"
216
275
PICS : CNET.S.C04.Rsp && CNET.S.C05.Tx
217
276
verification : |
218
- Mark as not applicable and proceed to next step
277
+ ./chip-tool networkcommissioning remove-network hex:<your network id in hex> 1 0 --Breadcrumb 1
278
+
279
+ Below is an example:
280
+
281
+ ./chip-tool networkcommissioning remove-network hex:1111111122222221 22 0 --Breadcrumb 1
282
+
283
+ Via the TH (chip-tool), Verify the NetworkConfigResponse that contains Networking Status value as 0 (success).
284
+
285
+ [1659623277.664477][9824:9831] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005
286
+ [1659623277.664556][9824:9831] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005
287
+ [1659623277.664667][9824:9831] CHIP:TOO: NetworkConfigResponse: {
288
+ [1659623277.664758][9824:9831] CHIP:TOO: networkingStatus: 0
289
+ [1659623277.664810][9824:9831] CHIP:TOO: networkIndex: 0
290
+ [1659623277.664843][9824:9831] CHIP:TOO: }
291
+ [1659623277.664907][9824:9831] CHIP:DMG: ICR moving to [AwaitingDe]
219
292
disabled : true
220
293
221
294
- label :
@@ -224,7 +297,20 @@ tests:
224
297
PIXIT.CNET.THREAD_2ND_OPERATIONALDATASET and Breadcrumb field set to 1"
225
298
PICS : CNET.S.C03.Rsp && CNET.S.C05.Tx
226
299
verification : |
227
- Mark as not applicable and proceed to next step
300
+ ./chip-tool networkcommissioning add-or-update-thread-network-network hex:<your network id in hex> 1 0 --Breadcrumb 1
301
+
302
+ Below is an example:
303
+
304
+ ./chip-tool networkcommissioning add-or-update-thread-network hex:0e08000000000001000035060004001fffe00708fdd235604ef7ccb50c0402a0f7f8051000112233445566778899aabbccddeeff030f4f70656e54687265616444656d6f3104101dfb97da1e39dc596e886f52cb870a84000300000f0208111111112222222201021234 22 0 --Breadcrumb 1(second network dataset value)
305
+
306
+ Via the TH (chip-tool), Verify the NetworkConfigResponse that contains Networking Status value as 0 (success).
307
+
308
+ [1659623353.963125][9870:9875] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005
309
+ [1659623353.963312][9870:9875] CHIP:TOO: NetworkConfigResponse: {
310
+ [1659623353.963406][9870:9875] CHIP:TOO: networkingStatus: 0
311
+ [1659623353.963473][9870:9875] CHIP:TOO: networkIndex: 0
312
+ [1659623353.963530][9870:9875] CHIP:TOO: }
313
+ [1659623353.963623][9870:9875] CHIP:DMG: ICR moving to [AwaitingDe]
228
314
disabled : true
229
315
230
316
- label :
@@ -233,31 +319,81 @@ tests:
233
319
PIXIT.CNET.THREAD_2ND_OPERATIONALDATASET and Breadcrumb field set to 3"
234
320
PICS : CNET.S.C06.Rsp && CNET.S.C07.Tx
235
321
verification : |
236
- Mark as not applicable and proceed to next step
322
+ ./chip-tool networkcommissioning connect-network hex:<your network id in hex> 1 0 --Breadcrumb 3
323
+
324
+ Below is an example:
325
+
326
+ ./chip-tool networkcommissioning connect-network hex:1111111122222222 22 0 --Breadcrumb 3
327
+
328
+ Via the TH (chip-tool), Verify the ConnectNetworkResponse that contains Networking Status value as 0 (success).
329
+
330
+ 1 Command=0x0000_0007
331
+ [1659623520.296630][9903:9908] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007
332
+ [1659623520.296853][9903:9908] CHIP:TOO: ConnectNetworkResponse: {
333
+ [1659623520.296935][9903:9908] CHIP:TOO: networkingStatus: 0
334
+ [1659623520.296987][9903:9908] CHIP:TOO: errorValue: null
335
+ [1659623520.297037][9903:9908] CHIP:TOO: }
336
+ [1659623520.297124][9903:9908] CHIP:DMG: ICR moving to [AwaitingDe]
237
337
disabled : true
238
338
239
339
- label :
240
340
" Step 17: TH discovers and connects to DUT on the
241
341
PIXIT.CNET.THREAD_2ND_OPERATIONALDATASET operational network"
242
342
verification : |
243
- Mark as not applicable and proceed to next step
343
+ ./chip-tool networkcommissioning read networks 22 0
344
+
345
+ Via the TH (chip-tool), Verify:
346
+ -the Networks attribute has NetworkID that should be as th_xpan(Second network id).
347
+ -that the connected status should be the type of bool value as TRUE.
348
+
349
+ [1659623217.387917][9816:9821] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4196844346
350
+ [1659623217.388007][9816:9821] CHIP:TOO: Networks: 1 entries
351
+ [1659623217.388058][9816:9821] CHIP:TOO: [1]: {
352
+ [1659623217.388089][9816:9821] CHIP:TOO: NetworkID: 1111111122222222
353
+ [1659623217.388110][9816:9821] CHIP:TOO: Connected: TRUE
354
+ [1659623217.388129][9816:9821] CHIP:TOO: }
244
355
disabled : true
245
356
246
357
- label :
247
358
" Step 18: TH reads Breadcrumb attribute from the General Commissioning
248
359
cluster of the DUT"
249
360
PICS : CNET.S.C06.Rsp
250
361
verification : |
251
- Mark as not applicable and proceed to next step
362
+ ./chip-tool generalcommissioning read breadcrumb 22 0
363
+
364
+ Verify "breadcrumb value is set to 3" on the TH(Chip-tool) Log:
365
+
366
+ [1659623558.934419][9911:9917] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 808037534
367
+ [1659623558.934529][9911:9917] CHIP:TOO: Breadcrumb: 3
368
+ [1659623558.934681][9911:9917] CHIP:EM: Sending Standalone Ack for MessageCounter:244248455 on exchange 8477i
252
369
disabled : true
253
370
254
371
- label : " Step 19: TH sends the CommissioningComplete command to the DUT"
255
372
verification : |
256
- Mark as not applicable and proceed to next step
373
+ ./chip-tool generalcommissioning commissioning-complete 22 0
374
+
375
+ Via the TH (chip-tool), Verify the DUT sends CommissioningComplete command and the errorCode field is 0(OK).
376
+
377
+ [1657734803.411199][7802:7808] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005
378
+ [1657734803.411256][7802:7808] CHIP:TOO: CommissioningCompleteResponse: {
379
+ [1657734803.411306][7802:7808] CHIP:TOO: errorCode: 0
380
+ [1657734803.411333][7802:7808] CHIP:TOO: debugText:
381
+ [1657734803.411356][7802:7808] CHIP:TOO: }
257
382
disabled : true
258
383
259
384
- label : " Step 20: TH reads Networks attribute from the DUT"
260
385
PICS : CNET.S.A0001
261
386
verification : |
262
- Mark as not applicable and proceed to next step
387
+ ./chip-tool networkcommissioning read networks 22 0
388
+
389
+ Via the TH (chip-tool), Verify:
390
+ -the Networks attribute has NetworkID that should be as th_xpan(Second network id).
391
+ -that the connected status should be the type of bool value as TRUE.
392
+
393
+ [1659623217.387917][9816:9821] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4196844346
394
+ [1659623217.388007][9816:9821] CHIP:TOO: Networks: 1 entries
395
+ [1659623217.388058][9816:9821] CHIP:TOO: [1]: {
396
+ [1659623217.388089][9816:9821] CHIP:TOO: NetworkID: 1111111122222222
397
+ [1659623217.388110][9816:9821] CHIP:TOO: Connected: TRUE
398
+ [1659623217.388129][9816:9821] CHIP:TOO: }
263
399
disabled : true
0 commit comments