@@ -48,9 +48,6 @@ config:
48
48
TEST_EVENT_TRIGGER_END_OF_SERVICE_ALERT_CLEAR :
49
49
type : int64u
50
50
defaultValue : " 0xffffffff000000aa"
51
- EVENT_NUMBER :
52
- type : int64u
53
- defaultValue : 0
54
51
55
52
tests :
56
53
- label : " Step 1: Commission DUT to TH"
@@ -81,6 +78,11 @@ tests:
81
78
constraints :
82
79
type : enum8
83
80
81
+ - label : " TH gets last event number from DUT"
82
+ PICS : SMOKECO.S.E0a
83
+ command : " readEvent"
84
+ event : " AllClear"
85
+
84
86
- label :
85
87
" Step 4: TH reads TestEventTriggersEnabled attribute from General
86
88
Diagnostics Cluster"
@@ -133,7 +135,7 @@ tests:
133
135
PICS : SMOKECO.S.E02
134
136
command : " readEvent"
135
137
event : " LowBattery"
136
- EVENT_NUMBER : EVENT_NUMBER + 1
138
+ eventNumber : " newEventsOnly "
137
139
response :
138
140
value : { AlarmSeverityLevel: 1 }
139
141
@@ -178,7 +180,7 @@ tests:
178
180
PICS : SMOKECO.S.E02
179
181
command : " readEvent"
180
182
event : " LowBattery"
181
- EVENT_NUMBER : EVENT_NUMBER + 2
183
+ eventNumber : " newEventsOnly "
182
184
response :
183
185
value : { AlarmSeverityLevel: 2 }
184
186
@@ -223,7 +225,7 @@ tests:
223
225
PICS : SMOKECO.S.E0a
224
226
command : " readEvent"
225
227
event : " AllClear"
226
- EVENT_NUMBER : EVENT_NUMBER + 3
228
+ eventNumber : " newEventsOnly "
227
229
response :
228
230
value : {}
229
231
@@ -279,7 +281,7 @@ tests:
279
281
PICS : SMOKECO.S.E03
280
282
command : " readEvent"
281
283
event : " HardwareFault"
282
- EVENT_NUMBER : EVENT_NUMBER + 4
284
+ eventNumber : " newEventsOnly "
283
285
response :
284
286
value : {}
285
287
@@ -325,7 +327,7 @@ tests:
325
327
PICS : SMOKECO.S.E0a
326
328
command : " readEvent"
327
329
event : " AllClear"
328
- EVENT_NUMBER : EVENT_NUMBER + 5
330
+ eventNumber : " newEventsOnly "
329
331
response :
330
332
value : {}
331
333
@@ -381,7 +383,7 @@ tests:
381
383
PICS : SMOKECO.S.E04
382
384
command : " readEvent"
383
385
event : " EndOfService"
384
- EVENT_NUMBER : EVENT_NUMBER + 6
386
+ eventNumber : " newEventsOnly "
385
387
response :
386
388
value : {}
387
389
@@ -427,7 +429,7 @@ tests:
427
429
PICS : SMOKECO.S.E0a
428
430
command : " readEvent"
429
431
event : " AllClear"
430
- EVENT_NUMBER : EVENT_NUMBER + 7
432
+ eventNumber : " newEventsOnly "
431
433
response :
432
434
value : {}
433
435
@@ -499,7 +501,7 @@ tests:
499
501
PICS : SMOKECO.S.E05
500
502
command : " readEvent"
501
503
event : " SelfTestComplete"
502
- EVENT_NUMBER : EVENT_NUMBER + 8
504
+ eventNumber : " newEventsOnly "
503
505
response :
504
506
value : {}
505
507
@@ -516,7 +518,7 @@ tests:
516
518
PICS : SMOKECO.S.E0a
517
519
command : " readEvent"
518
520
event : " AllClear"
519
- EVENT_NUMBER : EVENT_NUMBER + 9
521
+ eventNumber : " newEventsOnly "
520
522
response :
521
523
value : {}
522
524
@@ -561,7 +563,7 @@ tests:
561
563
PICS : SMOKECO.S.E05
562
564
command : " readEvent"
563
565
event : " SelfTestComplete"
564
- EVENT_NUMBER : EVENT_NUMBER + 10
566
+ eventNumber : " newEventsOnly "
565
567
response :
566
568
value : {}
567
569
@@ -578,6 +580,6 @@ tests:
578
580
PICS : SMOKECO.S.E0a
579
581
command : " readEvent"
580
582
event : " AllClear"
581
- EVENT_NUMBER : EVENT_NUMBER + 11
583
+ eventNumber : " newEventsOnly "
582
584
response :
583
585
value : {}
0 commit comments