@@ -44,28 +44,35 @@ config:
44
44
defaultValue : 5000
45
45
46
46
tests :
47
- - label : " Step 1: Wait for the commissioned device to be retrieved"
47
+ - label :
48
+ " Step 1: If (CADMIN.S.C01.Rsp) present, wait for the commissioned
49
+ device to be retrieved"
48
50
cluster : " DelayCommands"
49
51
command : " WaitForCommissionee"
52
+ PICS : CADMIN.S.C01.Rsp
50
53
arguments :
51
54
values :
52
55
- name : " nodeId"
53
56
value : nodeId
54
57
55
58
- label :
56
- " Step 1a: DUT is put in Commissioning Mode using Open Basic
57
- Commissioning Window command "
59
+ " Step 1a: If (CADMIN.S.C01.Rsp) present, DUT is put in Commissioning
60
+ Mode using Open Basic Commissioning Window command "
58
61
cluster : " Administrator Commissioning"
59
62
command : " OpenBasicCommissioningWindow"
63
+ PICS : CADMIN.S.C01.Rsp
60
64
timedInteractionTimeoutMs : 10000
61
65
arguments :
62
66
values :
63
67
- name : " CommissioningTimeout"
64
68
value : 180
65
69
66
- - label : " Waiting after opening commissioning window"
70
+ - label :
71
+ " If (CADMIN.S.C01.Rsp) present, waiting after opening commissioning
72
+ window"
67
73
cluster : " DelayCommands"
68
74
command : " WaitForMs"
75
+ PICS : CADMIN.S.C01.Rsp
69
76
arguments :
70
77
values :
71
78
- name : " ms"
@@ -86,6 +93,16 @@ tests:
86
93
isUpperCase : true
87
94
isHexString : true
88
95
96
+ - label :
97
+ " Step 2aa: If (ICDM.S.A0002) TH reads from the DUT the
98
+ ActiveModeThreshold attribute"
99
+ PICS : ICDM.S.A0002
100
+ cluster : " ICDManagement"
101
+ command : " readAttribute"
102
+ attribute : " ActiveModeThreshold"
103
+ response :
104
+ saveAs : ActiveModeThresholdValue
105
+
89
106
- label : " Step 2b: Service type must be _matterc._udp"
90
107
verification : |
91
108
Run the below commands within the mentioned time interval used in open-commissioning-window in step-1.
@@ -112,6 +129,7 @@ tests:
112
129
port = [5540]
113
130
txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "VP=65521+32769"]
114
131
132
+ If "ICDM.S.A0002" check "SAT=ActiveModeThreshold Value"
115
133
116
134
If we use Thread setup, then the Service Domain will be 422F10CDC290A406.local
117
135
verify CM flag is 1
@@ -208,10 +226,11 @@ tests:
208
226
value : deviceType
209
227
210
228
- label :
211
- " Step 2g: Check Commissioning Mode (_CM) subtype _CM must be present"
229
+ " Step 2g: If (CADMIN.S.C01.Rsp) present, check Commissioning Mode
230
+ (_CM) subtype _CM must be present"
212
231
cluster : " DiscoveryCommands"
213
232
command : " FindCommissionableByCommissioningMode"
214
-
233
+ PICS : CADMIN.S.C01.Rsp
215
234
- label :
216
235
" Step 2h: key D must be present and represents the discriminator which
217
236
must be encoded as a variable-length decimal value with up to 4 digits
@@ -290,9 +309,12 @@ tests:
290
309
constraints :
291
310
maxValue : 65535
292
311
293
- - label : " Step 2n: TXT key for commissioning mode (CM) CM=1 must be present"
312
+ - label :
313
+ " Step 2n: If (CADMIN.S.C01.Rsp) present, TXT key for commissioning
314
+ mode (CM) CM=1 must be present"
294
315
cluster : " DiscoveryCommands"
295
316
command : " FindCommissionable"
317
+ PICS : CADMIN.S.C01.Rsp
296
318
response :
297
319
values :
298
320
- name : " commissioningMode"
@@ -400,9 +422,9 @@ tests:
400
422
value : nodeId
401
423
402
424
- label :
403
- " Step 3a: DUT put in Commissioning Mode using Open Basic Commissioning
404
- Window command, starting advertising Commissionable Node Discovery
405
- service using DNS-SD"
425
+ " Step 3a: If (CADMIN.S.C01.Rsp) present, DUT put in Commissioning Mode
426
+ using Open Basic Commissioning Window command, starting advertising
427
+ Commissionable Node Discovery service using DNS-SD"
406
428
PICS : CADMIN.S.C01.Rsp
407
429
cluster : " Administrator Commissioning"
408
430
command : " OpenBasicCommissioningWindow"
@@ -412,9 +434,12 @@ tests:
412
434
- name : " CommissioningTimeout"
413
435
value : 180
414
436
415
- - label : " Waiting after opening commissioning window"
437
+ - label :
438
+ " If (CADMIN.S.C01.Rsp) present, waiting after opening commissioning
439
+ window"
416
440
cluster : " DelayCommands"
417
441
command : " WaitForMs"
442
+ PICS : CADMIN.S.C01.Rsp
418
443
arguments :
419
444
values :
420
445
- name : " ms"
@@ -436,6 +461,16 @@ tests:
436
461
isHexString : true
437
462
notValue : deviceInstanceNameBeforeReboot
438
463
464
+ - label :
465
+ " Step 4aa: If (ICDM.S.A0002) TH reads from the DUT the
466
+ ActiveModeThreshold attribute"
467
+ PICS : ICDM.S.A0002
468
+ cluster : " ICDManagement"
469
+ command : " readAttribute"
470
+ attribute : " ActiveModeThreshold"
471
+ response :
472
+ saveAs : ActiveModeThresholdValue
473
+
439
474
- label : " Step 4b: service type must be _matterc._udp"
440
475
verification : |
441
476
Run the below avahi browse command in TH terminal
@@ -457,6 +492,7 @@ tests:
457
492
port = [5540]
458
493
txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "VP=65521+32769"]
459
494
495
+ If "ICDM.S.A0002" check "SAT=ActiveModeThreshold Value"
460
496
461
497
Service Domain 422F10CDC290A406.local
462
498
verify CM flag is 1
@@ -553,9 +589,12 @@ tests:
553
589
- name : " value"
554
590
value : deviceType
555
591
556
- - label : " Step 4h: Check Commissioning Mode (_CM) subtype _CM is present"
592
+ - label :
593
+ " Step 4h: If (CADMIN.S.C01.Rsp) present, check Commissioning Mode
594
+ (_CM) subtype _CM is present"
557
595
cluster : " DiscoveryCommands"
558
596
command : " FindCommissionableByCommissioningMode"
597
+ PICS : CADMIN.S.C01.Rsp
559
598
560
599
- label :
561
600
" Step 4i: key D must be present and represents the discriminator which
@@ -636,9 +675,11 @@ tests:
636
675
maxValue : 65535
637
676
638
677
- label :
639
- " Step 4o: TXT key for commissioning mode (CM) key CM=1 must be present"
678
+ " Step 4o: If (CADMIN.S.C01.Rsp) present, TXT key for commissioning
679
+ mode (CM) key CM=1 must be present"
640
680
cluster : " DiscoveryCommands"
641
681
command : " FindCommissionable"
682
+ PICS : CADMIN.S.C01.Rsp
642
683
response :
643
684
values :
644
685
- name : " commissioningMode"
@@ -1095,6 +1136,16 @@ tests:
1095
1136
isUpperCase : true
1096
1137
isHexString : true
1097
1138
1139
+ - label :
1140
+ " Step 10aa: If ( && ICDM.S.A0002) TH reads from the DUT the
1141
+ ActiveModeThreshold attribute"
1142
+ PICS : ICDM.S.A0002
1143
+ cluster : " ICDManagement"
1144
+ command : " readAttribute"
1145
+ attribute : " ActiveModeThreshold"
1146
+ response :
1147
+ saveAs : ActiveModeThresholdValue
1148
+
1098
1149
- label : " Step 10b: service type must be _matterc._udp"
1099
1150
verification : |
1100
1151
Run and Verify on the below output in TH terminal Log: (Below is the sample log , as RPI doesn't support the extended discovery)
0 commit comments