Skip to content

Commit 4fce1e3

Browse files
Removed ./chip-tool when in interactive mode, added the description about comissioning TH1
1 parent a55a477 commit 4fce1e3

File tree

1 file changed

+33
-25
lines changed

1 file changed

+33
-25
lines changed

src/app/tests/suites/certification/Test_TC_S_2_6.yaml

+33-25
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ tests:
3131
- DUT should be commissioned onto TH1, TH2, and TH3.
3232
- The Scene Table capacity for a given fabric SHALL be less than half (rounded down towards 0) of the Scene Table entries (as indicated in the SceneTableSize attribute).
3333
- MaxRemainingCapacity is (SceneTableSize-1)/2.
34+
- TH1, TH2, and TH3 should be on separate, distinct fabrics.
35+
36+
Send the below command in respective DUT
37+
./chip-all-clusters-app
38+
39+
Once DUT reach the commissionable state send the following command ./chip-tool pairing onnetwork 1 20202021 command on TH1.
40+
Verify the commissioning completed with success on TH(chip-tool) from DUT
41+
[1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success
3442
disabled: true
3543

3644
- label: "Precondition: Commission DUT to TH2 (Open Commissioning Window)"
@@ -356,7 +364,7 @@ tests:
356364
set to 20000 (20s) and no extension field sets."
357365
PICS: S.S.C00.Rsp
358366
verification: |
359-
./chip-tool scenesmanagement add-scene 0x0000 0x01 20000 scene1 [] 1 1
367+
scenesmanagement add-scene 0x0000 0x01 20000 scene1 [] 1 1
360368
361369
Verify the AddSceneResponse with following fields:
362370
Status is SUCCESS
@@ -379,7 +387,7 @@ tests:
379387
FabricSceneInfo into Remaining1stCapacity; verify Remaining1stCapacity
380388
equals (MaxRemainingCapacity-1)."
381389
verification: |
382-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 1 1
390+
scenesmanagement subscribe fabric-scene-info 100 200 1 1
383391
384392
Verify the DUT sends a report data to TH1 for FabricSceneInfo after the MinIntervalFloor time; store the RemainingCapacity field from this fabric’s entry reported in FabricSceneInfo into Remaining1stCapacity and is equals to (MaxRemainingCapacity-1) on the TH (Chip-tool) and below is the sample log provided for the raspi platform:
385393
@@ -439,7 +447,7 @@ tests:
439447
becomes 0."
440448
PICS: S.S.C00.Rsp
441449
verification: |
442-
./chip-tool scenesmanagement add-scene 0x0000 0x02 20000 scene2 [] 1 1
450+
scenesmanagement add-scene 0x0000 0x02 20000 scene2 [] 1 1
443451
444452
Verify the AddSceneResponse with following fields:
445453
Status is SUCCESS
@@ -455,7 +463,7 @@ tests:
455463
[1700827508.579697][16026:16028] CHIP:TOO: }
456464
457465
458-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 1 1
466+
scenesmanagement subscribe fabric-scene-info 100 200 1 1
459467
Verify the DUT sends a report data messages after the MinIntervalFloor time to TH1 for RemainingCapacity field in FabricSceneInfo for that fabric with updated valueon the TH1 (Chip-tool) and below is the sample log provided for the raspi platform:
460468
[1701243677.717829][7642:7644] CHIP:DMG: ReportDataMessage =
461469
[1701243677.717834][7642:7644] CHIP:DMG: {
@@ -506,7 +514,7 @@ tests:
506514
.
507515
.
508516
.
509-
./chip-tool scenesmanagement add-scene 0x0000 0x07 20000 scene8 [] 1 1
517+
scenesmanagement add-scene 0x0000 0x07 20000 scene8 [] 1 1
510518
511519
Verify the AddSceneResponse with following fields:
512520
Status is SUCCESS
@@ -522,7 +530,7 @@ tests:
522530
[1700827941.415498][16068:16070] CHIP:TOO: sceneID: 7
523531
[1700827941.415508][16068:16070] CHIP:TOO: }
524532
525-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 1 1
533+
scenesmanagement subscribe fabric-scene-info 100 200 1 1
526534
527535
Verify the DUT sends a report data messages after the MinIntervalFloor time to TH1 for RemainingCapacity field in FabricSceneInfo for that fabric with updated valueon the TH1 (Chip-tool) and below is the sample log provided for the raspi platform:
528536
@@ -581,7 +589,7 @@ tests:
581589
field sets."
582590
PICS: S.S.C00.Rsp
583591
verification: |
584-
./chip-tool scenesmanagement add-scene 0x0000 0x08 20000 scene9 [] 1 1
592+
scenesmanagement add-scene 0x0000 0x08 20000 scene9 [] 1 1
585593
586594
Verify the AddSceneResponse with following fields:
587595
Status is RESOURCE_EXHAUSTED(0x89) on the TH1(Chip-tool) log and below is the sample log provided for the raspi platform:
@@ -599,7 +607,7 @@ tests:
599607
- label: "Step 5a: Repeat Step 4a with TH2"
600608
PICS: S.S.C00.Rsp
601609
verification: |
602-
./chip-tool scenesmanagement add-scene 0x0000 0x02 0x0014 scene1 [] 2 1 --commissioner-name beta
610+
scenesmanagement add-scene 0x0000 0x02 0x0014 scene1 [] 2 1 --commissioner-name beta
603611
604612
Verify the AddSceneResponse with following fields:
605613
Status is SUCCESS
@@ -615,7 +623,7 @@ tests:
615623
[1700828173.261638][16115:16117] CHIP:TOO: sceneID: 2
616624
[1700828173.261640][16115:16117] CHIP:TOO: }
617625
618-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
626+
scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
619627
620628
Verify the DUT sends a report data messages after the MinIntervalFloor time to TH2 for RemainingCapacity field in FabricSceneInfo for that fabric with updated value on the TH2 (Chip-tool) and below is the sample log provided for the raspi platform:
621629
@@ -668,7 +676,7 @@ tests:
668676
.
669677
.
670678
.
671-
./chip-tool scenesmanagement add-scene 0x0000 0x08 0x0014 scene7 [] 2 1 --commissioner-name beta
679+
scenesmanagement add-scene 0x0000 0x08 0x0014 scene7 [] 2 1 --commissioner-name beta
672680
673681
Verify the AddSceneResponse with following fields:
674682
Status is SUCCESS
@@ -683,7 +691,7 @@ tests:
683691
[1700829509.052521][16198:16200] CHIP:TOO: sceneID: 8
684692
[1700829509.052532][16198:16200] CHIP:TOO: }
685693
686-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
694+
scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
687695
688696
Verify the DUT sends a report data messages after the MinIntervalFloor time to TH2 for RemainingCapacity field in FabricSceneInfo for that fabric with updated value(decreasing to 0) on the TH2 (Chip-tool) and below is the sample log provided for the raspi platform:
689697
@@ -734,7 +742,7 @@ tests:
734742
[1701245132.870584][7824:7826] CHIP:TOO: FabricIndex: 2
735743
[1701245132.870594][7824:7826] CHIP:TOO: }
736744
737-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
745+
scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
738746
739747
Verify that the DUT sends report data messages after the MinIntervalFloor time to TH3 for RemainingCapacity field in FabricSceneInfo for that fabric with updated value (decreasing to SceneTableSize - (2 * MaxRemainingCapacity)) on the TH2 (Chip-tool) and below is the sample log provided for the raspi platform:
740748
@@ -789,7 +797,7 @@ tests:
789797
- label: "Step 5b: Repeat Step 4b with TH2"
790798
PICS: S.S.C00.Rsp
791799
verification: |
792-
./chip-tool scenesmanagement add-scene 0x0000 0x09 0x0014 scene8 [] 2 1 --commissioner-name beta
800+
scenesmanagement add-scene 0x0000 0x09 0x0014 scene8 [] 2 1 --commissioner-name beta
793801
794802
Verify the AddSceneResponse with following fields:
795803
Status is RESOURCE_EXHAUSTED(0x89) on the TH2(Chip-tool) log and below is the sample log provided for the raspi platform:
@@ -806,7 +814,7 @@ tests:
806814
- label: "Step 6a: Repeat Step 4a with TH3"
807815
PICS: S.S.C00.Rsp
808816
verification: |
809-
./chip-tool scenesmanagement add-scene 0x0000 0x02 0x0014 scene1 [] 3 1 --commissioner-name gamma
817+
scenesmanagement add-scene 0x0000 0x02 0x0014 scene1 [] 3 1 --commissioner-name gamma
810818
811819
Verify the AddSceneResponse with following fields:
812820
Status is SUCCESS
@@ -822,7 +830,7 @@ tests:
822830
[1705915133.114103][21363:21365] CHIP:TOO: sceneID: 2
823831
[1705915133.114113][21363:21365] CHIP:TOO: }
824832
825-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
833+
scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
826834
827835
Verify that the DUT sends report data messages after the MinIntervalFloor time to TH3 for RemainingCapacity field in FabricSceneInfo for that fabric with updated value on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
828836
@@ -874,7 +882,7 @@ tests:
874882
[1705915183.312690][21363:21365] CHIP:TOO: }
875883
876884
877-
./chip-tool scenesmanagement add-scene 0x0000 0x03 0x0014 scene2 [] 3 1 --commissioner-name gamma
885+
scenesmanagement add-scene 0x0000 0x03 0x0014 scene2 [] 3 1 --commissioner-name gamma
878886
879887
Verify the AddSceneResponse with following fields:
880888
Status is SUCCESS
@@ -949,7 +957,7 @@ tests:
949957
set to 20000 20s and no extension field sets."
950958
PICS: S.S.C00.Rsp
951959
verification: |
952-
./chip-tool scenesmanagement add-scene 0x0000 0x01 20000 scene [] 3 1 --commissioner-name gamma
960+
scenesmanagement add-scene 0x0000 0x01 20000 scene [] 3 1 --commissioner-name gamma
953961
954962
Verify the AddSceneResponse with following fields:
955963
Status is RESOURCE_EXHAUSTED(0x89) on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
@@ -969,7 +977,7 @@ tests:
969977
set to 0x0000, the SceneID field set to 0x01."
970978
PICS: S.S.C04.Rsp
971979
verification: |
972-
./chip-tool scenesmanagement store-scene 0x0000 0x01 3 1 --commissioner-name gamma
980+
scenesmanagement store-scene 0x0000 0x01 3 1 --commissioner-name gamma
973981
974982
Verify the StoreSceneResponse with following fields:
975983
Status is RESOURCE_EXHAUSTED(0x89) on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
@@ -991,7 +999,7 @@ tests:
991999
to 0x0000 and the scene identifier to field set to 0xFE."
9921000
PICS: S.S.C40.Rsp
9931001
verification: |
994-
./chip-tool scenesmanagement copy-scene 0x00 0x0000 0x02 0x0000 0x00 3 1 --commissioner-name gamma
1002+
scenesmanagement copy-scene 0x00 0x0000 0x02 0x0000 0x00 3 1 --commissioner-name gamma
9951003
9961004
Verify the CopySceneResponse with following fields:
9971005
Status is RESOURCE_EXHAUSTED(0x89) on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
@@ -1011,7 +1019,7 @@ tests:
10111019
field set to 0x0000."
10121020
PICS: S.S.C03.Rsp
10131021
verification: |
1014-
./chip-tool scenesmanagement remove-all-scenes 0x0000 1 1
1022+
scenesmanagement remove-all-scenes 0x0000 1 1
10151023
10161024
Verify the RemoveAllScenesResponse with following fields:
10171025
Status is SUCCESS
@@ -1036,7 +1044,7 @@ tests:
10361044
should send 'empty' report data since there is no update for this
10371045
attribute for TH2)."
10381046
verification: |
1039-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 1 1
1047+
scenesmanagement subscribe fabric-scene-info 100 200 1 1
10401048
10411049
Verify that the DUT sends a report data to TH1 for FabricSceneInfo after the MinIntervalFloor time; store the RemainingCapacity field from this fabric’s entry the reported in FabricSceneInfo into Remaining1stCapacity; verify Remaining1stCapacity equals (MaxRemainingCapacity) on TH1(Chip-tool) log and below is the sample log provided for the raspi platform:
10421050
@@ -1095,7 +1103,7 @@ tests:
10951103
field set to 0x0000."
10961104
PICS: S.S.C03.Rsp
10971105
verification: |
1098-
./chip-tool scenesmanagement remove-all-scenes 0x0000 2 1 --commissioner-name beta
1106+
scenesmanagement remove-all-scenes 0x0000 2 1 --commissioner-name beta
10991107
11001108
Verify the RemoveAllScenesResponse with following fields:
11011109
Status is SUCCESS
@@ -1117,7 +1125,7 @@ tests:
11171125
FabricSceneInfo into Remaining2ndCapacity; verify Remaining2ndCapacity
11181126
equals (MaxRemainingCapacity)."
11191127
verification: |
1120-
./chip-tool scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
1128+
scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
11211129
11221130
Verify that the DUT sends a report data to TH2 for FabricSceneInfo after the MinIntervalFloor time; store the RemainingCapacity field from this fabric’s entry reported in FabricSceneInfo into Remaining2ndCapacity; verify Remaining2ndCapacity equals (MaxRemainingCapacity) on TH2(Chip-tool) log and below is the sample log provided for the raspi platform:
11231131
@@ -1139,7 +1147,7 @@ tests:
11391147
"Step 11a: TH1 removes the TH2 fabric by sending the RemoveFabric
11401148
command to the DUT with the FabricIndex set to th2FabricIndex"
11411149
verification: |
1142-
./chip-tool operationalcredentials remove-fabric th2FabricIndex 1 0
1150+
operationalcredentials remove-fabric th2FabricIndex 1 0
11431151
11441152
On TH1(chip-tool) verify the success with the nocresponse with statuscode is success(0)
11451153
@@ -1156,7 +1164,7 @@ tests:
11561164
"Step 11b: TH1 removes the TH3 fabric by sending the RemoveFabric
11571165
command to the DUT with the FabricIndex set to th3FabricIndex"
11581166
verification: |
1159-
./chip-tool operationalcredentials remove-fabric th3FabricIndex 1 0
1167+
operationalcredentials remove-fabric th3FabricIndex 1 0
11601168
11611169
On TH1(chip-tool) verify the success with the nocresponse with statuscode is success(0)
11621170

0 commit comments

Comments
 (0)