@@ -31,15 +31,15 @@ tests:
31
31
- name : " nodeId"
32
32
value : nodeId
33
33
34
- - label : " Step 2a : Read the global attribute: ClusterRevision"
34
+ - label : " Step 2 : Read the global attribute: ClusterRevision"
35
35
command : " readAttribute"
36
36
attribute : " ClusterRevision"
37
37
response :
38
38
value : 4
39
39
constraints :
40
40
type : int16u
41
41
42
- - label : " Step 2b : Read the global attribute: FeatureMap"
42
+ - label : " Step 3a : Read the global attribute: FeatureMap"
43
43
command : " readAttribute"
44
44
attribute : " FeatureMap"
45
45
PICS :
51
51
type : bitmap32
52
52
53
53
- label :
54
- " Step 2c : Given FAN.S.F00(Condition ) ensure featuremap has the correct
55
- bit set"
54
+ " Step 3b : Given FAN.S.F00(SPD ) ensure featuremap has the correct bit
55
+ set"
56
56
command : " readAttribute"
57
57
attribute : " FeatureMap"
58
58
PICS : FAN.S.F00
62
62
hasMasksSet : [0x1]
63
63
64
64
- label :
65
- " Step 2d : Given FAN.S.F01(Warning ) ensure featuremap has the correct
66
- bit set"
65
+ " Step 3c : Given FAN.S.F01(AUT ) ensure featuremap has the correct bit
66
+ set"
67
67
command : " readAttribute"
68
68
attribute : " FeatureMap"
69
69
PICS : FAN.S.F01
73
73
hasMasksSet : [0x2]
74
74
75
75
- label :
76
- " Step 2e : Given FAN.S.F02(Condition ) ensure featuremap has the correct
77
- bit set"
76
+ " Step 3d : Given FAN.S.F02(RCK ) ensure featuremap has the correct bit
77
+ set"
78
78
command : " readAttribute"
79
79
attribute : " FeatureMap"
80
80
PICS : FAN.S.F02
84
84
hasMasksSet : [0x4]
85
85
86
86
- label :
87
- " Step 2f : Given FAN.S.F03(Warning ) ensure featuremap has the correct
88
- bit set"
87
+ " Step 3e : Given FAN.S.F03(WND ) ensure featuremap has the correct bit
88
+ set"
89
89
command : " readAttribute"
90
90
attribute : " FeatureMap"
91
91
PICS : FAN.S.F03
95
95
hasMasksSet : [0x8]
96
96
97
97
- label :
98
- " Step 2g : Given FAN.S.F04(Warning ) ensure featuremap has the correct
99
- bit set"
98
+ " Step 3f : Given FAN.S.F04(STEP ) ensure featuremap has the correct bit
99
+ set"
100
100
command : " readAttribute"
101
101
attribute : " FeatureMap"
102
102
PICS : FAN.S.F04
@@ -106,8 +106,8 @@ tests:
106
106
hasMasksSet : [0x10]
107
107
108
108
- label :
109
- " Step 2h : Given FAN.S.F05(Warning ) ensure featuremap has the correct
110
- bit set"
109
+ " Step 3g : Given FAN.S.F05(DIR ) ensure featuremap has the correct bit
110
+ set"
111
111
command : " readAttribute"
112
112
attribute : " FeatureMap"
113
113
PICS : FAN.S.F05
@@ -116,7 +116,7 @@ tests:
116
116
type : bitmap32
117
117
hasMasksSet : [0x20]
118
118
119
- - label : " Step 3a : Read the global attribute: AttributeList"
119
+ - label : " Step 4 : Read the global attribute: AttributeList"
120
120
PICS : PICS_EVENT_LIST_ENABLED
121
121
command : " readAttribute"
122
122
attribute : " AttributeList"
@@ -125,7 +125,7 @@ tests:
125
125
type : list
126
126
contains : [0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533]
127
127
128
- - label : " Step 3a : Read the global attribute: AttributeList"
128
+ - label : " Step 4 : Read the global attribute: AttributeList"
129
129
PICS : " !PICS_EVENT_LIST_ENABLED"
130
130
command : " readAttribute"
131
131
attribute : " AttributeList"
@@ -135,7 +135,7 @@ tests:
135
135
contains : [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533]
136
136
137
137
- label :
138
- " Step 3b : Read the feature dependent FAN.S.F00 (SPD) attribute in
138
+ " Step 4 : Read the feature dependent FAN.S.F00 (SPD) attribute in
139
139
AttributeList"
140
140
PICS : FAN.S.F00
141
141
command : " readAttribute"
@@ -146,7 +146,7 @@ tests:
146
146
contains : [4, 5, 6]
147
147
148
148
- label :
149
- " Step 3c : Read the feature dependent FAN.S.F02(RCK) attribute in
149
+ " Step 4 : Read the feature dependent FAN.S.F02(RCK) attribute in
150
150
AttributeList"
151
151
PICS : FAN.S.F02
152
152
command : " readAttribute"
@@ -157,7 +157,7 @@ tests:
157
157
contains : [7, 8]
158
158
159
159
- label :
160
- " Step 3d : Read the feature dependent FAN.S.F03(WND) attribute in
160
+ " Step 4 : Read the feature dependent FAN.S.F03(WND) attribute in
161
161
AttributeList"
162
162
PICS : FAN.S.F03
163
163
command : " readAttribute"
@@ -168,7 +168,7 @@ tests:
168
168
contains : [9, 10]
169
169
170
170
- label :
171
- " Step 3e : Read the feature dependent FAN.S.F05(DIR) attribute in
171
+ " Step 4 : Read the feature dependent FAN.S.F05(DIR) attribute in
172
172
AttributeList"
173
173
PICS : FAN.S.F05
174
174
command : " readAttribute"
@@ -178,57 +178,7 @@ tests:
178
178
type : list
179
179
contains : [11]
180
180
181
- # List values range check support https://github.com/project-chip/connectedhomeip/issues/26570
182
- - label :
183
- " Step 3f: TH reads AttributeList attribute from DUT. 1.The list SHALL
184
- NOT contain any additional values in the standard or scoped range:
185
- (0x0000_0000 - 0x0000_4FFF) and (0x0000_F000 - 0x0000_FFFE). 2.The
186
- list MAY contain values in the Manufacturer Extensible Identifier
187
- (MEI) range: (0xXXXX_0000 - 0xXXXX_4FFF), where XXXX is the allowed
188
- MEI range (0x0001 - 0xFFF1), these values SHALL be ignored. 3.The list
189
- SHALL NOT contain any values in the Test Vendor or invalid range:
190
- (0x0000_5000 - 0x0000_EFFF and 0x0000_FFFF), (0xXXXX_5000 -
191
- 0xXXXX_FFFF) and (0xFFF1_0000 - 0xFFFF_FFFF), where XXXX is the
192
- allowed MEI range (0x0001 - 0xFFF1)"
193
- verification : |
194
- ./chip-tool fancontrol read attribute-list 1 1
195
-
196
- Via the TH (chip-tool), verify that theAttributeListattribute contains
197
- - Mandatory entries:0x0000, 0x0001, 0x0002, 0x0003, 0xfff8, 0xfff9, 0xfffa, 0xfffb, 0xfffc & 0xfffd
198
- - Based on feature support:- 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000a, 0x000b
199
- Below mentioned log is based on the RPI implementation, Value may vary on real DUT
200
-
201
- [1686031154.064099][14930:14933] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0202 Attribute 0x0000_FFFB DataVersion: 3896103279
202
- [1686031154.064331][14930:14933] CHIP:TOO: AttributeList: 18 entries
203
- [1686031154.064408][14930:14933] CHIP:TOO: [1]: 0
204
- [1686031154.064468][14930:14933] CHIP:TOO: [2]: 1
205
- [1686031154.064526][14930:14933] CHIP:TOO: [3]: 2
206
- [1686031154.064584][14930:14933] CHIP:TOO: [4]: 3
207
- [1686031154.064640][14930:14933] CHIP:TOO: [5]: 4
208
- [1686031154.064697][14930:14933] CHIP:TOO: [6]: 5
209
- [1686031154.064754][14930:14933] CHIP:TOO: [7]: 6
210
- [1686031154.064811][14930:14933] CHIP:TOO: [8]: 7
211
- [1686031154.064868][14930:14933] CHIP:TOO: [9]: 8
212
- [1686031154.064929][14930:14933] CHIP:TOO: [10]: 9
213
- [1686031154.064987][14930:14933] CHIP:TOO: [11]: 10
214
- [1686031154.065045][14930:14933] CHIP:TOO: [12]: 11
215
- [1686031154.065103][14930:14933] CHIP:TOO: [13]: 65528
216
- [1686031154.065161][14930:14933] CHIP:TOO: [14]: 65529
217
- [1686031154.065218][14930:14933] CHIP:TOO: [15]: 65530
218
- [1686031154.065275][14930:14933] CHIP:TOO: [16]: 65531
219
- [1686031154.065333][14930:14933] CHIP:TOO: [17]: 65532
220
- [1686031154.065390][14930:14933] CHIP:TOO: [18]: 65533
221
- cluster : " LogCommands"
222
- command : " UserPrompt"
223
- PICS : PICS_USER_PROMPT
224
- arguments :
225
- values :
226
- - name : " message"
227
- value : " Please enter 'y' for success"
228
- - name : " expectedValue"
229
- value : " y"
230
-
231
- - label : " Step 4a: Read the global attribute: AcceptedCommandList"
181
+ - label : " Step 6: Read the global attribute: AcceptedCommandList"
232
182
PICS : " !FAN.S.C00.Rsp "
233
183
command : " readAttribute"
234
184
attribute : " AcceptedCommandList"
@@ -237,71 +187,11 @@ tests:
237
187
constraints :
238
188
type : list
239
189
240
- # List values range check support https://github.com/project-chip/connectedhomeip/issues/26570
241
- - label :
242
- " Step 4b: TH reads AcceptedCommandList attribute from DUT. 1.The list
243
- SHALL NOT contain any additional values in the standard or scoped
244
- range: (0x0000_0000 - 0x0000_00FF). 2.The list MAY contain values in
245
- the Manufacturer Extensible Identifier (MEI) range: (0xXXXX_0000 -
246
- 0xXXXX_00FF), where XXXX is the allowed MEI range (0x0001 - 0xFFF1),
247
- these values SHALL be ignored.3.The list SHALL NOT contain any values
248
- in the Test Vendor or invalid range: (0x0000_0100 - 0x0000_FFFF),
249
- (0xXXXX_0100 - 0xXXXX_FFFF) and (0xFFF1_0000 - 0xFFFF_FFFF), where
250
- XXXX is the allowed MEI range (0x0001 - 0xFFF1)"
251
- verification : |
252
- ./chip-tool fancontrol read accepted-command-list 1 1
253
-
254
- On TH(chip-tool), Verify the AcceptedCommandList attribute that contains 1 entries:
255
- Below mentioned log is based on the RPI implementation, Value may vary on real DUT
256
-
257
- [1686031757.840606][14982:14984] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0202 Attribute 0x0000_FFF9 DataVersion: 3896103279
258
- [1686031757.840879][14982:14984] CHIP:TOO: AcceptedCommandList: 1 entries
259
- [1686031757.840958][14982:14984] CHIP:TOO: [1]: 0
260
- cluster : " LogCommands"
261
- command : " UserPrompt"
262
- PICS : PICS_USER_PROMPT
263
- arguments :
264
- values :
265
- - name : " message"
266
- value : " Please enter 'y' for success"
267
- - name : " expectedValue"
268
- value : " y"
269
-
270
- - label :
271
- " Step 5a: Read the optional command (ResetCondition) in
272
- AcceptedCommandList"
190
+ - label : " Step 6: Read the optional command (Step) in AcceptedCommandList"
273
191
PICS : FAN.S.C00.Rsp
274
192
command : " readAttribute"
275
193
attribute : " AcceptedCommandList"
276
194
response :
277
195
constraints :
278
196
type : list
279
197
contains : [0]
280
-
281
- # List values range check support https://github.com/project-chip/connectedhomeip/issues/26570
282
- - label :
283
- " Step 5b: TH reads from the DUT the GeneratedCommandList attribute.
284
- 1.The list SHALL NOT contain any additional values in the standard or
285
- scoped range: (0x0000_0000 - 0x0000_00FF). 2.The list MAY contain
286
- values in the Manufacturer Extensible Identifier (MEI) range:
287
- (0xXXXX_0000 - 0xXXXX_00FF), where XXXX is the allowed MEI range
288
- (0x0001 - 0xFFF1), these values SHALL be ignored.3.The list SHALL NOT
289
- contain any values in the Test Vendor or invalid range: (0x0000_0100 -
290
- 0x0000_FFFF), (0xXXXX_0100 - 0xXXXX_FFFF) and (0xFFF1_0000 -
291
- 0xFFFF_FFFF), where XXXX is the allowed MEI range (0x0001 - 0xFFF1)"
292
- verification : |
293
- ./chip-tool fancontrol read generated-command-list 1 1
294
-
295
- On TH(chip-tool), Verify the GeneratedCommandList attribute that contains 0 entries:
296
-
297
- [1689587005.212317][9422:9424] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0202 Attribute 0x0000_FFF8 DataVersion: 3321937588
298
- [1689587005.212457][9422:9424] CHIP:TOO: GeneratedCommandList: 0 entries
299
- cluster : " LogCommands"
300
- command : " UserPrompt"
301
- PICS : PICS_USER_PROMPT
302
- arguments :
303
- values :
304
- - name : " message"
305
- value : " Please enter 'y' for success"
306
- - name : " expectedValue"
307
- value : " y"
0 commit comments