@@ -38,38 +38,75 @@ tests:
38
38
command : " readAttribute"
39
39
attribute : " ClusterRevision"
40
40
response :
41
- value : 5
41
+ value : 6
42
42
constraints :
43
43
type : int16u
44
44
45
- - label : " Step 3a: TH reads from the DUT the FeatureMap attribute."
45
+ - label :
46
+ " Step 3a: Given OO.S.F00(LT) ensure featuremap has the correct bit set"
46
47
command : " readAttribute"
47
48
attribute : " FeatureMap"
48
- PICS : ( ! OO.S.F00 && !OO.S.F01 )
49
+ PICS : ( OO.S.F00 && !OO.S.F02 )
49
50
response :
50
- value : 0
51
51
constraints :
52
52
type : bitmap32
53
-
53
+ hasMasksSet : [0x1]
54
54
- label :
55
55
" Step 3b: Given OO.S.F00(LT) ensure featuremap has the correct bit set"
56
56
command : " readAttribute"
57
57
attribute : " FeatureMap"
58
- PICS : OO.S.F00
58
+ PICS : ( !( OO.S.F00 && !OO.S.F02 ) )
59
59
response :
60
60
constraints :
61
61
type : bitmap32
62
- hasMasksSet : [0x1]
62
+ hasMasksClear : [0x1]
63
63
64
64
- label :
65
65
" Step 3c: Given OO.S.F01(DF) ensure featuremap has the correct bit set"
66
66
command : " readAttribute"
67
67
attribute : " FeatureMap"
68
- PICS : OO.S.F01
68
+ PICS : ( OO.S.F01 && !OO.S.F02 )
69
69
response :
70
70
constraints :
71
71
type : bitmap32
72
72
hasMasksSet : [0x2]
73
+ - label :
74
+ " Step 3d: Given OO.S.F01(DF) ensure featuremap has the correct bit set"
75
+ command : " readAttribute"
76
+ attribute : " FeatureMap"
77
+ PICS : ( !( OO.S.F01 && !OO.S.F02 ) )
78
+ response :
79
+ constraints :
80
+ type : bitmap32
81
+ hasMasksClear : [0x2]
82
+
83
+ - label :
84
+ " Step 3e: Given OO.S.F02(OFFONLY) TH reads from the DUT the FeatureMap
85
+ attribute."
86
+ command : " readAttribute"
87
+ attribute : " FeatureMap"
88
+ PICS : ( OO.S.F02 && !OO.S.F00 && !OO.S.F01 )
89
+ response :
90
+ constraints :
91
+ type : bitmap32
92
+ hasMasksSet : [0x4]
93
+ - label :
94
+ " Step 3f: Given OO.S.F02(OFFONLY) TH reads from the DUT the FeatureMap
95
+ attribute."
96
+ command : " readAttribute"
97
+ attribute : " FeatureMap"
98
+ PICS : ( !( OO.S.F02 && !OO.S.F00 && !OO.S.F01 ) )
99
+ response :
100
+ constraints :
101
+ type : bitmap32
102
+ hasMasksClear : [0x4]
103
+ - label : " Step 3g: All remaining shall be zero"
104
+ command : " readAttribute"
105
+ attribute : " FeatureMap"
106
+ response :
107
+ constraints :
108
+ type : bitmap32
109
+ hasMasksClear : [0xFFFFFFF8]
73
110
74
111
- label : " Step 4a: TH reads from the DUT the AttributeList attribute."
75
112
PICS : PICS_EVENT_LIST_ENABLED
@@ -115,10 +152,32 @@ tests:
115
152
response :
116
153
constraints :
117
154
type : list
118
- contains : [0, 1, 2]
155
+ contains : [0]
156
+
157
+ - label :
158
+ " Step 6b: TH reads the feature dependent(OO.S.F02) commands in
159
+ AcceptedCommandList"
160
+ command : " readAttribute"
161
+ attribute : " AcceptedCommandList"
162
+ PICS : ( !OO.S.F02 )
163
+ response :
164
+ constraints :
165
+ type : list
166
+ contains : [1, 2]
167
+
168
+ - label :
169
+ " Step 6c: TH reads the feature dependent(OO.S.F02) commands in
170
+ AcceptedCommandList"
171
+ command : " readAttribute"
172
+ attribute : " AcceptedCommandList"
173
+ PICS : OO.S.F02
174
+ response :
175
+ constraints :
176
+ type : list
177
+ excludes : [1, 2]
119
178
120
179
- label :
121
- " Step 6b : TH reads the feature dependent(OO.S.F00) commands in
180
+ " Step 6d : TH reads the feature dependent(OO.S.F00) commands in
122
181
AcceptedCommandList"
123
182
command : " readAttribute"
124
183
attribute : " AcceptedCommandList"
@@ -128,6 +187,17 @@ tests:
128
187
type : list
129
188
contains : [64, 65, 66]
130
189
190
+ - label :
191
+ " Step 6e: TH reads the feature dependent(OO.S.F00) commands in
192
+ AcceptedCommandList"
193
+ command : " readAttribute"
194
+ attribute : " AcceptedCommandList"
195
+ PICS : ( !OO.S.F00 )
196
+ response :
197
+ constraints :
198
+ type : list
199
+ excludes : [64, 65, 66]
200
+
131
201
- label : " Step 7: TH reads from the DUT the GeneratedCommandList attribute."
132
202
command : " readAttribute"
133
203
attribute : " GeneratedCommandList"
0 commit comments