@@ -102,6 +102,7 @@ tests:
102
102
PICS : ACL.S.E01
103
103
command : " readEvent"
104
104
event : " AccessControlExtensionChanged"
105
+ eventNumber : " LastReceivedEventNumber + 1"
105
106
response :
106
107
value :
107
108
{
@@ -126,52 +127,40 @@ tests:
126
127
arguments :
127
128
value : [{ Data: D_OK_SINGLE, FabricIndex: CurrentFabricIndexValue }]
128
129
129
- # Issue: https://github.com/project-chip/connectedhomeip/issues/24149
130
130
- label :
131
131
" Step 7: TH reads DUT Endpoint 0 AccessControl cluster
132
132
AccessControlExtensionChanged event"
133
- verification : |
134
- ./chip-tool accesscontrol read-event access-control-extension-changed 1 0
135
- On TH1(Chiptool) , Verify AccessControlExtensionChanged containing at least 2 new elements.
136
-
137
- [1661427357.681328][23441:23446] CHIP:TOO: }
138
- [1661427357.681520][23441:23446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001
139
- [1661427357.681555][23441:23446] CHIP:TOO: Event number: 5
140
- [1661427357.681580][23441:23446] CHIP:TOO: Priority: Info
141
- [1661427357.681602][23441:23446] CHIP:TOO: Timestamp: 95095658
142
- [1661427357.681660][23441:23446] CHIP:TOO: AccessControlExtensionChanged: {
143
- [1661427357.681697][23441:23446] CHIP:TOO: AdminNodeID: 112233
144
- [1661427357.681730][23441:23446] CHIP:TOO: AdminPasscodeID: null
145
- [1661427357.681764][23441:23446] CHIP:TOO: ChangeType: 2
146
- [1661427357.681793][23441:23446] CHIP:TOO: LatestValue: {
147
- [1661427357.681826][23441:23446] CHIP:TOO: Data: 1718
148
- [1661427357.681854][23441:23446] CHIP:TOO: FabricIndex: 1
149
- [1661427357.681882][23441:23446] CHIP:TOO: }
150
- [1661427357.681924][23441:23446] CHIP:TOO: FabricIndex: 1
151
- [1661427357.681951][23441:23446] CHIP:TOO: }
152
- [1661427357.682163][23441:23446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001
153
- [1661427357.682207][23441:23446] CHIP:TOO: Event number: 6
154
- [1661427357.682230][23441:23446] CHIP:TOO: Priority: Info
155
- [1661427357.682260][23441:23446] CHIP:TOO: Timestamp: 95095659
156
- [1661427357.682327][23441:23446] CHIP:TOO: AccessControlExtensionChanged: {
157
- [1661427357.682375][23441:23446] CHIP:TOO: AdminNodeID: 112233
158
- [1661427357.682405][23441:23446] CHIP:TOO: AdminPasscodeID: null
159
- [1661427357.682434][23441:23446] CHIP:TOO: ChangeType: 1
160
- [1661427357.682459][23441:23446] CHIP:TOO: LatestValue: {
161
- [1661427357.682495][23441:23446] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018
162
- [1661427357.682524][23441:23446] CHIP:TOO: FabricIndex: 1
163
- [1661427357.682550][23441:23446] CHIP:TOO: }
164
- [1661427357.682579][23441:23446] CHIP:TOO: FabricIndex: 1
165
- [1661427357.682603][23441:23446] CHIP:TOO: }
166
- cluster : " LogCommands"
167
- command : " UserPrompt"
168
- PICS : PICS_SKIP_SAMPLE_APP && ACL.S.E01
169
- arguments :
170
- values :
171
- - name : " message"
172
- value : " Enter 'y' after success"
173
- - name : " expectedValue"
174
- value : " y"
133
+ PICS : ACL.S.E01
134
+ command : " readEvent"
135
+ event : " AccessControlExtensionChanged"
136
+ eventNumber : " LastReceivedEventNumber + 1"
137
+ response :
138
+ - values :
139
+ - value :
140
+ {
141
+ AdminNodeID : CommissionerNodeId,
142
+ AdminPasscodeID : null,
143
+ ChangeType : 2,
144
+ LatestValue :
145
+ {
146
+ Data : D_OK_EMPTY,
147
+ FabricIndex : CurrentFabricIndexValue,
148
+ },
149
+ FabricIndex : CurrentFabricIndexValue,
150
+ }
151
+ - values :
152
+ - value :
153
+ {
154
+ AdminNodeID : CommissionerNodeId,
155
+ AdminPasscodeID : null,
156
+ ChangeType : 1,
157
+ LatestValue :
158
+ {
159
+ Data : D_OK_SINGLE,
160
+ FabricIndex : CurrentFabricIndexValue,
161
+ },
162
+ FabricIndex : CurrentFabricIndexValue,
163
+ }
175
164
176
165
- label :
177
166
" Step 8: TH writes DUT Endpoint 0 AccessControl cluster Extension
@@ -185,37 +174,26 @@ tests:
185
174
response :
186
175
error : CONSTRAINT_ERROR
187
176
188
- # Issue: https://github.com/project-chip/connectedhomeip/issues/24149
189
177
- label :
190
178
" Step 9: TH reads DUT Endpoint 0 AccessControl cluster
191
179
AccessControlExtensionChanged event"
192
- verification : |
193
- ./chip-tool accesscontrol read-event access-control-extension-changed 1 0
194
-
195
- On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged containing at least 1 new element, and MUST NOT contain an added event for the extension with data that is too large
196
-
197
- [1661427763.925039][23523:23528] CHIP:TOO: Event number: 7
198
- [1661427763.925054][23523:23528] CHIP:TOO: Priority: Info
199
- [1661427763.925067][23523:23528] CHIP:TOO: Timestamp: 95411825
200
- [1661427763.925095][23523:23528] CHIP:TOO: AccessControlExtensionChanged: {
201
- [1661427763.925112][23523:23528] CHIP:TOO: AdminNodeID: 112233
202
- [1661427763.925127][23523:23528] CHIP:TOO: AdminPasscodeID: null
203
- [1661427763.925142][23523:23528] CHIP:TOO: ChangeType: 2
204
- [1661427763.925156][23523:23528] CHIP:TOO: LatestValue: {
205
- [1661427763.925174][23523:23528] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018
206
- [1661427763.925191][23523:23528] CHIP:TOO: FabricIndex: 1
207
- [1661427763.925205][23523:23528] CHIP:TOO: }
208
- [1661427763.925220][23523:23528] CHIP:TOO: FabricIndex: 1
209
- [1661427763.925234][23523:23528] CHIP:TOO: }
210
- cluster : " LogCommands"
211
- command : " UserPrompt"
212
- PICS : PICS_SKIP_SAMPLE_APP && ACL.S.E01
213
- arguments :
214
- values :
215
- - name : " message"
216
- value : " Enter 'y' after success"
217
- - name : " expectedValue"
218
- value : " y"
180
+ PICS : ACL.S.E01
181
+ command : " readEvent"
182
+ event : " AccessControlExtensionChanged"
183
+ eventNumber : " LastReceivedEventNumber + 1"
184
+ response :
185
+ value :
186
+ {
187
+ AdminNodeID : CommissionerNodeId,
188
+ AdminPasscodeID : null,
189
+ ChangeType : 2,
190
+ LatestValue :
191
+ {
192
+ Data : D_OK_SINGLE,
193
+ FabricIndex : CurrentFabricIndexValue,
194
+ },
195
+ FabricIndex : CurrentFabricIndexValue,
196
+ }
219
197
220
198
- label :
221
199
" Step 10: TH writes DUT Endpoint 0 AccessControl cluster Extension
@@ -233,38 +211,26 @@ tests:
233
211
response :
234
212
error : CONSTRAINT_ERROR
235
213
236
- # Issue: https://github.com/project-chip/connectedhomeip/issues/24149
237
214
- label :
238
215
" Step 11: TH reads DUT Endpoint 0 AccessControl cluster
239
216
AccessControlExtensionChanged event"
240
- verification : |
241
- ./chip-tool accesscontrol read-event access-control-extension-changed 1 0
242
- On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event
243
- containing at least 1 new element, and MUST NOT contain an added event for the second extension
244
- [[1661428163.049647][23604:23609] CHIP:TOO: Event number: 8
245
- [1661428163.049660][23604:23609] CHIP:TOO: Priority: Info
246
- [1661428163.049673][23604:23609] CHIP:TOO: Timestamp: 95827304
247
- [1661428163.049698][23604:23609] CHIP:TOO: AccessControlExtensionChanged: {
248
- [1661428163.049714][23604:23609] CHIP:TOO: AdminNodeID: 112233
249
- [1661428163.049729][23604:23609] CHIP:TOO: AdminPasscodeID: null
250
- [1661428163.049744][23604:23609] CHIP:TOO: ChangeType: 1
251
- [1661428163.049758][23604:23609] CHIP:TOO: LatestValue: {
252
- [1661428163.049774][23604:23609] CHIP:TOO: Data: 1718
253
- [1661428163.049789][23604:23609] CHIP:TOO: FabricIndex: 1
254
- [1661428163.049803][23604:23609] CHIP:TOO: }
255
- [1661428163.049817][23604:23609] CHIP:TOO: FabricIndex: 1
256
- [1661428163.049831][23604:23609] CHIP:TOO: }
257
- [1661428163.050010][23604:23609] CHIP:EM: Sending Standalone Ack for MessageCounter:70117030 on exchange 55174i
258
- [1661428163.050065][23604:23609] CHIP:IN: Prepared secure message 0x7f2e7d092ff0 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 55174i
259
- cluster : " LogCommands"
260
- command : " UserPrompt"
261
- PICS : PICS_SKIP_SAMPLE_APP && ACL.S.E01
262
- arguments :
263
- values :
264
- - name : " message"
265
- value : " Enter 'y' after success"
266
- - name : " expectedValue"
267
- value : " y"
217
+ PICS : ACL.S.E01
218
+ command : " readEvent"
219
+ event : " AccessControlExtensionChanged"
220
+ eventNumber : " LastReceivedEventNumber + 1"
221
+ response :
222
+ value :
223
+ {
224
+ AdminNodeID : CommissionerNodeId,
225
+ AdminPasscodeID : null,
226
+ ChangeType : 1,
227
+ LatestValue :
228
+ {
229
+ Data : D_OK_EMPTY,
230
+ FabricIndex : CurrentFabricIndexValue,
231
+ },
232
+ FabricIndex : CurrentFabricIndexValue,
233
+ }
268
234
269
235
- label :
270
236
" Step 12: TH writes DUT Endpoint 0 AccessControl cluster Extension
@@ -275,36 +241,23 @@ tests:
275
241
arguments :
276
242
value : []
277
243
278
- # Issue: https://github.com/project-chip/connectedhomeip/issues/24149
279
244
- label :
280
245
" Step 13: TH reads DUT Endpoint 0 AccessControl cluster
281
246
AccessControlExtensionChanged event"
282
- verification : |
283
- ./chip-tool accesscontrol read-event access-control-extension-changed 1 0
284
-
285
- On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event containing at least 1 new element
286
-
287
- [1661428343.982081][23629:23634] CHIP:TOO: Event number: 9
288
- [1661428343.982087][23629:23634] CHIP:TOO: Priority: Info
289
- [1661428343.982092][23629:23634] CHIP:TOO: Timestamp: 96078599
290
- [1661428343.982103][23629:23634] CHIP:TOO: AccessControlExtensionChanged: {
291
- [1661428343.982109][23629:23634] CHIP:TOO: AdminNodeID: 112233
292
- [1661428343.982115][23629:23634] CHIP:TOO: AdminPasscodeID: null
293
- [1661428343.982121][23629:23634] CHIP:TOO: ChangeType: 2
294
- [1661428343.982127][23629:23634] CHIP:TOO: LatestValue: {
295
- [1661428343.982133][23629:23634] CHIP:TOO: Data: 1718
296
- [1661428343.982139][23629:23634] CHIP:TOO: FabricIndex: 1
297
- [1661428343.982145][23629:23634] CHIP:TOO: }
298
- [1661428343.982151][23629:23634] CHIP:TOO: FabricIndex: 1
299
- [1661428343.982157][23629:23634] CHIP:TOO: }
300
- [1661428343.982246][23629:23634] CHIP:EM: Sending Standalone Ack for MessageCounter:13864065 on exchange 38943i
301
- [1661428343.982272][23629:23634] CHIP:IN: Prepared secure message 0x7ff9a8e43ff0 to 0x0000000000000001 (1) of type 0x10 and
302
- cluster : " LogCommands"
303
- command : " UserPrompt"
304
- PICS : PICS_SKIP_SAMPLE_APP && ACL.S.E01
305
- arguments :
306
- values :
307
- - name : " message"
308
- value : " Enter 'y' after success"
309
- - name : " expectedValue"
310
- value : " y"
247
+ PICS : ACL.S.E01
248
+ command : " readEvent"
249
+ event : " AccessControlExtensionChanged"
250
+ eventNumber : " LastReceivedEventNumber + 1"
251
+ response :
252
+ value :
253
+ {
254
+ AdminNodeID : CommissionerNodeId,
255
+ AdminPasscodeID : null,
256
+ ChangeType : 2,
257
+ LatestValue :
258
+ {
259
+ Data : D_OK_EMPTY,
260
+ FabricIndex : CurrentFabricIndexValue,
261
+ },
262
+ FabricIndex : CurrentFabricIndexValue,
263
+ }
0 commit comments