@@ -219,7 +219,14 @@ tests:
219
219
" Step 2a: TH configures AC1 on DUT for all implemented application
220
220
clusters supporting scenes."
221
221
verification : |
222
- Is DUT configured with AC1?
222
+ ./chip-tool levelcontrol move-to-level-with-on-off 100 0 0 0 1 1
223
+
224
+ DUT is configured with AC1 for application clusters which is implemented and supporting scenes
225
+
226
+ [1705040301.476123][6423:6425] CHIP:DMG: StatusIB =
227
+ [1705040301.476139][6423:6425] CHIP:DMG: {
228
+ [1705040301.476152][6423:6425] CHIP:DMG: status = 0x00 (SUCCESS),
229
+ [1705040301.476164][6423:6425] CHIP:DMG: },
223
230
cluster : " LogCommands"
224
231
command : " UserPrompt"
225
232
PICS : PICS_SKIP_SAMPLE_APP
@@ -315,7 +322,16 @@ tests:
315
322
" Step 3a: TH configures AC2 on DUT for all implemented application
316
323
clusters supporting scenes."
317
324
verification : |
318
- Is DUT configured with AC2?
325
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC2 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
326
+
327
+ ./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
328
+
329
+ DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
330
+
331
+ [1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
332
+ [1705040820.918056][6555:6557] CHIP:DMG: {
333
+ [1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
334
+ [1705040820.918080][6555:6557] CHIP:DMG: },
319
335
cluster : " LogCommands"
320
336
command : " UserPrompt"
321
337
PICS : PICS_SKIP_SAMPLE_APP
@@ -340,6 +356,47 @@ tests:
340
356
- name : " SceneID"
341
357
value : 0x01
342
358
359
+ - label : " Wait 250 ms for instant transition"
360
+ PICS : PICS_SDK_CI_ONLY
361
+ cluster : " DelayCommands"
362
+ command : " WaitForMs"
363
+ arguments :
364
+ values :
365
+ - name : " ms"
366
+ value : 250
367
+
368
+ - label :
369
+ " TH confirm the DUT reached AC1 (on level control cluster) after 250ms"
370
+ PICS : PICS_SDK_CI_ONLY && S.S.C05.Rsp
371
+ cluster : " Level Control"
372
+ command : " readAttribute"
373
+ attribute : " CurrentLevel"
374
+ response :
375
+ value : 100
376
+
377
+ - label : " Verify DUT returns to AC1."
378
+ verification : |
379
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC1 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
380
+
381
+ Read CurrentLevel attribute from level control cluster
382
+
383
+ ./chip-tool levelcontrol read current-level 1 1
384
+
385
+ Verify CurrentLevel attribute value on TH(chip-tool)
386
+
387
+ [1708072116.730389][7757:7759] CHIP:DMG: }
388
+ [1708072116.730518][7757:7759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 2359286215
389
+ [1708072116.730552][7757:7759] CHIP:TOO: CurrentLevel: 100
390
+ cluster : " LogCommands"
391
+ command : " UserPrompt"
392
+ PICS : PICS_SKIP_SAMPLE_APP
393
+ arguments :
394
+ values :
395
+ - name : " message"
396
+ value : " Please confirm AC1 on DUT and enter 'y'."
397
+ - name : " expectedValue"
398
+ value : " y"
399
+
343
400
- label : " Step 3c: TH reads attribute SceneTableSize from DUT."
344
401
command : " readAttribute"
345
402
attribute : " SceneTableSize"
@@ -411,7 +468,16 @@ tests:
411
468
" Step 4c: TH configures AC2 on DUT for all implemented application
412
469
clusters supporting scenes."
413
470
verification : |
414
- Is DUT configured with AC2?
471
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC1 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
472
+
473
+ ./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
474
+
475
+ DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
476
+
477
+ [1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
478
+ [1705040820.918056][6555:6557] CHIP:DMG: {
479
+ [1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
480
+ [1705040820.918080][6555:6557] CHIP:DMG: },
415
481
cluster : " LogCommands"
416
482
command : " UserPrompt"
417
483
PICS : PICS_SKIP_SAMPLE_APP
@@ -436,6 +502,47 @@ tests:
436
502
- name : " SceneID"
437
503
value : 0x01
438
504
505
+ - label : " Wait 250 ms for instant transition"
506
+ PICS : PICS_SDK_CI_ONLY
507
+ cluster : " DelayCommands"
508
+ command : " WaitForMs"
509
+ arguments :
510
+ values :
511
+ - name : " ms"
512
+ value : 250
513
+
514
+ - label :
515
+ " TH confirm the DUT reached AC1 (on level control cluster) after 250ms"
516
+ PICS : PICS_SDK_CI_ONLY && S.S.C05.Rsp
517
+ cluster : " Level Control"
518
+ command : " readAttribute"
519
+ attribute : " CurrentLevel"
520
+ response :
521
+ value : 100
522
+
523
+ - label : " Verify DUT returns to AC1."
524
+ verification : |
525
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC1 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
526
+
527
+ Read CurrentLevel attribute from level control cluster
528
+
529
+ ./chip-tool levelcontrol read current-level 1 1
530
+
531
+ Verify CurrentLevel attribute value on TH(chip-tool)
532
+
533
+ [1708072116.730389][7757:7759] CHIP:DMG: }
534
+ [1708072116.730518][7757:7759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 2359286215
535
+ [1708072116.730552][7757:7759] CHIP:TOO: CurrentLevel: 100
536
+ cluster : " LogCommands"
537
+ command : " UserPrompt"
538
+ PICS : PICS_SKIP_SAMPLE_APP
539
+ arguments :
540
+ values :
541
+ - name : " message"
542
+ value : " Please confirm AC1 on DUT and enter 'y'."
543
+ - name : " expectedValue"
544
+ value : " y"
545
+
439
546
- label :
440
547
" Step 4e: TH sends a RecallScene command to DUT with the GroupID field
441
548
set to G1 and the SceneID field set to 0xFF, which is outside of the
@@ -516,24 +623,93 @@ tests:
516
623
- label :
517
624
" Step 5a: TH sends a ViewScene command to DUT with the GroupID field
518
625
set to G1 and the SceneID field set to 0x01."
626
+ verification : |
627
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC1 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
628
+
629
+ ./chip-tool scenesmanagement view-scene 0x0001 0x01 1 1
630
+
631
+ Verify DUT sends a ViewSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0000 and a set of extension fields appropriate to AC1 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
632
+
633
+
634
+ [1720440014.726] [13252:13254] [DMG] Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
635
+ [1720440014.726] [13252:13254] [TOO] Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
636
+ [1720440014.726] [13252:13254] [TOO] ViewSceneResponse: {
637
+ [1720440014.726] [13252:13254] [TOO] status: 0
638
+ [1720440014.726] [13252:13254] [TOO] groupID: 1
639
+ [1720440014.726] [13252:13254] [TOO] sceneID: 1
640
+ [1720440014.726] [13252:13254] [TOO] transitionTime: 0
641
+ [1720440014.727] [13252:13254] [TOO] sceneName:
642
+ [1720440014.727] [13252:13254] [TOO] extensionFieldSets: 3 entries
643
+ [1720440014.727] [13252:13254] [TOO] [1]: {
644
+ [1720440014.727] [13252:13254] [TOO] ClusterID: 6
645
+ [1720440014.727] [13252:13254] [TOO] AttributeValueList: 1 entries
646
+ [1720440014.727] [13252:13254] [TOO] [1]: {
647
+ [1720440014.727] [13252:13254] [TOO] AttributeID: 0
648
+ [1720440014.727] [13252:13254] [TOO] ValueUnsigned8: 1
649
+ [1720440014.727] [13252:13254] [TOO] }
650
+ [1720440014.727] [13252:13254] [TOO] }
651
+ [1720440014.727] [13252:13254] [TOO] [2]: {
652
+ [1720440014.727] [13252:13254] [TOO] ClusterID: 8
653
+ [1720440014.727] [13252:13254] [TOO] AttributeValueList: 1 entries
654
+ [1720440014.727] [13252:13254] [TOO] [1]: {
655
+ [1720440014.727] [13252:13254] [TOO] AttributeID: 0
656
+ [1720440014.727] [13252:13254] [TOO] ValueUnsigned8: 100
657
+ [1720440014.727] [13252:13254] [TOO] }
658
+ [1720440014.727] [13252:13254] [TOO] }
659
+ [1720440014.727] [13252:13254] [TOO] [3]: {
660
+ [1720440014.727] [13252:13254] [TOO] ClusterID: 768
661
+ [1720440014.727] [13252:13254] [TOO] AttributeValueList: 9 entries
662
+ [1720440014.727] [13252:13254] [TOO] [1]: {
663
+ [1720440014.727] [13252:13254] [TOO] AttributeID: 3
664
+ [1720440014.727] [13252:13254] [TOO] ValueUnsigned16: 24939
665
+ [1720440014.727] [13252:13254] [TOO] }
666
+ [1720440014.727] [13252:13254] [TOO] [2]: {
667
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 4
668
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned16: 24701
669
+ [1720440014.728] [13252:13254] [TOO] }
670
+ [1720440014.728] [13252:13254] [TOO] [3]: {
671
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 16384
672
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned16: 0
673
+ [1720440014.728] [13252:13254] [TOO] }
674
+ [1720440014.728] [13252:13254] [TOO] [4]: {
675
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 1
676
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned8: 0
677
+ [1720440014.728] [13252:13254] [TOO] }
678
+ [1720440014.728] [13252:13254] [TOO] [5]: {
679
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 16386
680
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned8: 0
681
+ [1720440014.728] [13252:13254] [TOO] }
682
+ [1720440014.728] [13252:13254] [TOO] [6]: {
683
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 16387
684
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned8: 0
685
+ [1720440014.728] [13252:13254] [TOO] }
686
+ [1720440014.728] [13252:13254] [TOO] [7]: {
687
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 16388
688
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned16: 25
689
+ [1720440014.728] [13252:13254] [TOO] }
690
+ [1720440014.728] [13252:13254] [TOO] [8]: {
691
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 7
692
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned16: 0
693
+ [1720440014.728] [13252:13254] [TOO] }
694
+ [1720440014.728] [13252:13254] [TOO] [9]: {
695
+ [1720440014.728] [13252:13254] [TOO] AttributeID: 16385
696
+ [1720440014.728] [13252:13254] [TOO] ValueUnsigned8: 2
697
+ [1720440014.728] [13252:13254] [TOO] }
698
+ [1720440014.729] [13252:13254] [TOO] }
699
+ [1720440014.729] [13252:13254] [TOO] }
519
700
PICS : S.S.C01.Rsp && PICS_SKIP_SAMPLE_APP
520
- command : " ViewScene"
701
+ cluster : " LogCommands"
702
+ command : " UserPrompt"
521
703
arguments :
522
704
values :
523
- - name : " GroupID"
524
- value : G1
525
- - name : " SceneID"
526
- value : 0x01
527
- response :
528
- values :
529
- - name : " Status"
530
- value : 0x00
531
- - name : " GroupID"
532
- value : G1
533
- - name : " SceneID"
534
- value : 0x01
535
- - name : " TransitionTime"
536
- value : 0x0000
705
+ - name : " message"
706
+ value :
707
+ " Please execute the view-scene command and verify that the
708
+ extensionfieldsets, status, groupID and SceneID are in
709
+ accordance with AC1 on DUT and enter 'y' if the command is
710
+ successful"
711
+ - name : " expectedValue"
712
+ value : " y"
537
713
538
714
- label :
539
715
" Step 5b: TH sends a ViewScene command to DUT with the GroupID field
@@ -728,7 +904,7 @@ tests:
728
904
set to GI (Where GI is a group currently absent from the group table),
729
905
the SceneID field set to 0x01, the TransitionTime field set to 1000
730
906
(1s) and a set of extension fields appropriate to AC1."
731
- PICS : S.S.C00.Rsp
907
+ PICS : S.S.C00.Rsp && PICS_SDK_CI_ONLY
732
908
command : " AddScene"
733
909
arguments :
734
910
values :
@@ -751,6 +927,55 @@ tests:
751
927
- name : " SceneID"
752
928
value : 0x01
753
929
930
+ - label :
931
+ " Step 8b: TH sends a AddScene command to DUT with the GroupID field
932
+ set to GI (Where GI is a group currently absent from the group table),
933
+ the SceneID field set to 0x01, the TransitionTime field set to 1000
934
+ (1s) and a set of extension fields appropriate to AC1."
935
+ verification : |
936
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC1 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
937
+ ./chip-tool groupkeymanagement read group-table 1 0
938
+
939
+ Verify the GroupTable entries on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
940
+
941
+ [1705676728.146505][4668:4670] CHIP:DMG: }
942
+ [1705676728.146723][4668:4670] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 3010518007
943
+ [1705676728.146781][4668:4670] CHIP:TOO: GroupTable: 1 entries
944
+ [1705676728.147147][4668:4670] CHIP:TOO: [1]: {
945
+ [1705676728.147155][4668:4670] CHIP:TOO: GroupId: 1
946
+ [1705676728.147160][4668:4670] CHIP:TOO: Endpoints: 1 entries
947
+ [1705676728.147164][4668:4670] CHIP:TOO: [1]: 1
948
+ [1705676728.147167][4668:4670] CHIP:TOO: GroupName: Gp1
949
+ [1705676728.147170][4668:4670] CHIP:TOO: FabricIndex: 1
950
+ [1705676728.147173][4668:4670] CHIP:TOO: }
951
+
952
+ Select the group (G1) that is absent from the above group table
953
+
954
+ ./chip-tool scenesmanagement add-scene 0x0002 0x01 1000 "scene name" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4000", "valueUnsigned16": "0x01"}]}]' 1 1
955
+
956
+ Verify DUT sends a AddSceneResponse command to TH with the Status field set to 0x85 (INVALID_COMMAND), the GroupID field set to GI and the SceneID field set to 0x01. on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
957
+
958
+ [1706763629.927365][4236:4238] CHIP:DMG: },
959
+ [1706763629.927382][4236:4238] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
960
+ [1706763629.927390][4236:4238] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
961
+ [1706763629.927407][4236:4238] CHIP:TOO: AddSceneResponse: {
962
+ [1706763629.927413][4236:4238] CHIP:TOO: status: 133
963
+ [1706763629.927416][4236:4238] CHIP:TOO: groupID: 2
964
+ [1706763629.927419][4236:4238] CHIP:TOO: sceneID: 1
965
+ [1706763629.927422][4236:4238] CHIP:TOO: }
966
+ cluster : " LogCommands"
967
+ command : " UserPrompt"
968
+ PICS : PICS_SKIP_SAMPLE_APP
969
+ arguments :
970
+ values :
971
+ - name : " message"
972
+ value :
973
+ " Please execute the add scene command with
974
+ extensionfieldsets in accordance with AC1 on DUT and enter
975
+ 'y' if the command is successful"
976
+ - name : " expectedValue"
977
+ value : " y"
978
+
754
979
- label :
755
980
" Step 8c: TH sends a GetSceneMembership command to DUT with the
756
981
GroupID field set to G1."
@@ -1051,7 +1276,14 @@ tests:
1051
1276
" Step 10a: TH configures AC2 on DUT for all implemented application
1052
1277
clusters supporting scenes."
1053
1278
verification : |
1054
- Is DUT configured with AC2?
1279
+ ./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
1280
+
1281
+ DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
1282
+
1283
+ [1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
1284
+ [1705040820.918056][6555:6557] CHIP:DMG: {
1285
+ [1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
1286
+ [1705040820.918080][6555:6557] CHIP:DMG: },
1055
1287
cluster : " LogCommands"
1056
1288
command : " UserPrompt"
1057
1289
PICS : PICS_SKIP_SAMPLE_APP
@@ -1099,7 +1331,14 @@ tests:
1099
1331
" Step 11a: TH configures AC1 on DUT for all implemented application
1100
1332
clusters supporting scenes."
1101
1333
verification : |
1102
- Is DUT configured with AC1?
1334
+ ./chip-tool levelcontrol move-to-level-with-on-off 100 0 0 0 1 1
1335
+
1336
+ DUT is configured with AC1 for application clusters which is implemented and supporting scenes
1337
+
1338
+ [1705040301.476123][6423:6425] CHIP:DMG: StatusIB =
1339
+ [1705040301.476139][6423:6425] CHIP:DMG: {
1340
+ [1705040301.476152][6423:6425] CHIP:DMG: status = 0x00 (SUCCESS),
1341
+ [1705040301.476164][6423:6425] CHIP:DMG: },
1103
1342
cluster : " LogCommands"
1104
1343
command : " UserPrompt"
1105
1344
PICS : PICS_SKIP_SAMPLE_APP
@@ -1153,7 +1392,16 @@ tests:
1153
1392
" Step 12a: TH configures AC2 on DUT for all implemented application
1154
1393
clusters supporting scenes."
1155
1394
verification : |
1156
- Is DUT configured with AC2?
1395
+ THIS COMMAND SHALL VARY DEPENDING ON THE DUT, TESTER NEEDS TO ENSURE THAT AC1 REPRESENTS CLUSTER ATTRIBUTES PRESENT ON DUT
1396
+
1397
+ ./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
1398
+
1399
+ DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
1400
+
1401
+ [1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
1402
+ [1705040820.918056][6555:6557] CHIP:DMG: {
1403
+ [1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
1404
+ [1705040820.918080][6555:6557] CHIP:DMG: },
1157
1405
cluster : " LogCommands"
1158
1406
command : " UserPrompt"
1159
1407
PICS : PICS_SKIP_SAMPLE_APP
@@ -1304,7 +1552,14 @@ tests:
1304
1552
clusters supporting scenes."
1305
1553
runIf : ContinueTest
1306
1554
verification : |
1307
- Is DUT configured with AC3?
1555
+ ./chip-tool levelcontrol move-to-level-with-on-off 1 0 0 0 1 1
1556
+
1557
+ DUT is configured with AC3 for application clusters which is implemented, supporting scenes and different from AC1, AC2
1558
+
1559
+ [1705045707.240304][8006:8008] CHIP:DMG: StatusIB =
1560
+ [1705045707.240308][8006:8008] CHIP:DMG: {
1561
+ [1705045707.240311][8006:8008] CHIP:DMG: status = 0x00 (SUCCESS),
1562
+ [1705045707.240314][8006:8008] CHIP:DMG: },
1308
1563
cluster : " LogCommands"
1309
1564
command : " UserPrompt"
1310
1565
PICS : PICS_SKIP_SAMPLE_APP
0 commit comments