@@ -35,6 +35,9 @@ config:
35
35
payload :
36
36
type : char_string
37
37
defaultValue : " MT:-24J0AFN00KA0648G00"
38
+ PIXIT.CADMIN.CwDuration :
39
+ type : int16u
40
+ defaultValue : 180
38
41
39
42
tests :
40
43
- label : " Precondition: Reset Devices to factory defaults"
@@ -56,6 +59,18 @@ tests:
56
59
value : " y"
57
60
58
61
- label : " Step 1: TH_CR1 starts a commissioning process with DUT_CE"
62
+ identity : " alpha"
63
+ cluster : " CommissionerCommands"
64
+ command : " PairWithCode"
65
+ PICS : CADMIN.S
66
+ arguments :
67
+ values :
68
+ - name : " nodeId"
69
+ value : nodeId
70
+ - name : " payload"
71
+ value : payload
72
+
73
+ - label : " Step 1: TH_CR1 commissioned with DUT_CE"
59
74
identity : " alpha"
60
75
cluster : " DelayCommands"
61
76
command : " WaitForCommissionee"
@@ -74,9 +89,10 @@ tests:
74
89
arguments :
75
90
values :
76
91
- name : " CommissioningTimeout"
77
- value : 180
92
+ value : PIXIT.CADMIN.CwDuration
78
93
79
94
- label : " Step 2a: Waiting after opening commissioning window"
95
+ PICS : CADMIN.S.C01.Rsp
80
96
cluster : " DelayCommands"
81
97
command : " WaitForMs"
82
98
arguments :
@@ -115,9 +131,10 @@ tests:
115
131
arguments :
116
132
values :
117
133
- name : " CommissioningTimeout"
118
- value : 180
134
+ value : PIXIT.CADMIN.CwDuration
119
135
120
136
- label : " Step 4a: Waiting after opening commissioning window"
137
+ PICS : CADMIN.S.C01.Rsp
121
138
cluster : " DelayCommands"
122
139
command : " WaitForMs"
123
140
arguments :
@@ -200,29 +217,16 @@ tests:
200
217
response :
201
218
error : FAILURE
202
219
203
- # Issue https://github.com/project-chip/connectedhomeip/issues/21999
204
220
- label :
205
221
" Step 8b: TH_CR2 reads the Basic Information Clusters NodeLabel
206
222
mandatory attribute of DUT_CE"
207
- PICS : BINFO.S.A0005 && PICS_USER_PROMPT
208
- verification : |
209
- Using TH_CR2 read attribute
210
-
211
- Verify read command fail as expected since the DUT_CE is no longer on the network on TH_CR2 (chip-tool) log
212
-
213
- ./chip-tool basicinformation read node-label 2 0 --commissioner-name beta
214
-
215
- [1678876803.495007][714337:714339] CHIP:SC: Received error (protocol code 1) during pairing process: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1727: CHIP Error 0x000000C9: No shared trusted root
216
- [1678876803.495018][714337:714339] CHIP:IN: SecureSession[0x7f2764026220]: Released - Type:2 LSID:16528
217
- [1678876803.495040][714337:714339] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1727: CHIP Error 0x000000C9: No shared trusted root at ../../commands/clusters/ModelCommand.cpp:62
218
- cluster : " LogCommands"
219
- command : " UserPrompt"
220
- arguments :
221
- values :
222
- - name : " message"
223
- value : " Please enter 'y' for success"
224
- - name : " expectedValue"
225
- value : " y"
223
+ PICS : BINFO.S.A0005
224
+ identity : " beta"
225
+ command : " readAttribute"
226
+ cluster : " Basic Information"
227
+ attribute : " NodeLabel"
228
+ response :
229
+ error : FAILURE
226
230
227
231
- label : " Step 9: TH_CR1 reads the list of Fabrics on DUT_CE"
228
232
identity : " alpha"
@@ -232,13 +236,13 @@ tests:
232
236
attribute : " Fabrics"
233
237
fabricFiltered : false
234
238
response :
235
- value :
236
- [
237
- { Label: "", FabricIndex: 1, NodeID: nodeId },
238
- { Label: "", FabricIndex: 3, NodeID: nodeId3 },
239
- ]
240
239
constraints :
241
240
type : list
241
+ contains :
242
+ [
243
+ { Label: "", FabricIndex: 1, NodeID: nodeId },
244
+ { Label: "", FabricIndex: 3, NodeID: nodeId3 },
245
+ ]
242
246
243
247
- label : " Step 11: TH_CR1 opens a commissioning window on DUT_CE using BCM"
244
248
identity : " alpha"
@@ -249,9 +253,10 @@ tests:
249
253
arguments :
250
254
values :
251
255
- name : " CommissioningTimeout"
252
- value : 180
256
+ value : PIXIT.CADMIN.CwDuration
253
257
254
258
- label : " Step 11a: Waiting after opening commissioning window"
259
+ PICS : CADMIN.S.C01.Rsp
255
260
cluster : " DelayCommands"
256
261
command : " WaitForMs"
257
262
arguments :
@@ -299,14 +304,14 @@ tests:
299
304
attribute : " Fabrics"
300
305
fabricFiltered : false
301
306
response :
302
- value :
303
- [
304
- { Label: "", FabricIndex: 1, NodeID: nodeId },
305
- { Label: "", FabricIndex: 4, NodeID: nodeId2 },
306
- { Label: "", FabricIndex: 3, NodeID: nodeId3 },
307
- ]
308
307
constraints :
309
308
type : list
309
+ contains :
310
+ [
311
+ { Label: "", FabricIndex: 1, NodeID: nodeId },
312
+ { Label: "", FabricIndex: 4, NodeID: nodeId2 },
313
+ { Label: "", FabricIndex: 3, NodeID: nodeId3 },
314
+ ]
310
315
311
316
- label : " Step 13a: Remove TH2 FabricIndex"
312
317
PICS : OPCREDS.S.C0a.Rsp && CADMIN.S
0 commit comments