-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathTest_TC_S_2_6.yaml
1171 lines (1039 loc) · 78.6 KB
/
Test_TC_S_2_6.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Copyright (c) 2023 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
name:
135.2.6. [TC-S-2.6] RemainingCapacity functionality with DUT as Server -
Multi-Fabric
PICS:
- S.S
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Precondition: Commission DUT to TH1"
verification: |
Once DUT reach the commissionable state send the following command on TH1:
pairing onnetwork 1 20202021
Verify the commissioning completed with success on TH(chip-tool) from DUT
[1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success
disabled: true
- label: "Precondition: Commission DUT to TH2 (Open Commissioning Window)"
verification: |
Open a commissioning window On TH1(Chiptool)using below command
pairing open-commissioning-window 1 1 400 2000 3841
Verify the Successfully opened pairing window On TH1(Chiptool)e device
[1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
[1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device
[1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617]
[1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700]
disabled: true
- label: "Precondition: Commission DUT to TH2 (Pairing)"
verification: |
Now send the below command for commissionin DUT to TH2 with Manual pairing code generated in TH1 using open commission window
pairing code 2 36253605617 --commissioner-name beta
Verify the commissioning completed with success on TH2(chip-tool) from DUT
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
disabled: true
- label: "Precondition: Commission DUT to TH3 (Open Commissioning Window)"
verification: |
Open a commissioning window On TH1(Chiptool)using below command
pairing open-commissioning-window 1 1 400 2000 3842
Verify the Successfully opened pairing window On TH1(Chiptool)e device
[1701254594.851779][10096:10098] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
[1701254594.851783][10096:10098] CHIP:CTL: Successfully opened pairing window on the device
[1701254594.851789][10096:10098] CHIP:CTL: Manual pairing code: [36545248276]
[1701254594.851795][10096:10098] CHIP:CTL: SetupQRCode: [MT:-24J0Q1212K4.08JP10]
disabled: true
- label: "Precondition: Commission DUT to TH3 (Pairing)"
verification: |
send the below command for commissionin DUT to TH3 with Manual pairing code generated in TH1 using open commission window
pairing code 3 36545248276 --commissioner-name gamma
Verify the commissioning completed with success on TH3(chip-tool) from DUT
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
disabled: true
- label:
"Step 1a: TH1 sends a RemoveAllScenes command to DUT with the GroupID
field set to 0x0000."
PICS: S.S.C03.Rsp
verification: |
scenesmanagement remove-all-scenes 0x0000 1 1
Verify the RemoveAllScenesResponse with following fields:
Status is SUCCESS
Group ID is 0x0000 on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
[1701173905.688536][36687:36689] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0003
[1701173905.688553][36687:36689] CHIP:TOO: RemoveAllScenesResponse: {
[1701173905.688558][36687:36689] CHIP:TOO: status: 0
[1701173905.688561][36687:36689] CHIP:TOO: groupID: 0
[1701173905.688563][36687:36689] CHIP:TOO: }
disabled: true
- label: "Step 1b: Repeat Step 1a with TH2."
PICS: S.S.C03.Rsp
verification: |
scenesmanagement remove-all-scenes 0x0000 2 1 --commissioner-name beta
Verify the RemoveAllScenesResponse with following fields:
Status is SUCCESS
Group ID is 0x0000 on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700826575.191275][15971:15973] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0003
[1700826575.191321][15971:15973] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0003
[1700826575.191938][15971:15973] CHIP:TOO: RemoveAllScenesResponse: {
[1700826575.191974][15971:15973] CHIP:TOO: status: 0
[1700826575.191985][15971:15973] CHIP:TOO: groupID: 0
[1700826575.191995][15971:15973] CHIP:TOO: }
disabled: true
- label: "Step 1C: Repeat Step 1a with TH3."
PICS: S.S.C03.Rsp
verification: |
scenesmanagement remove-all-scenes 0x0000 3 1 --commissioner-name gamma
Verify the RemoveAllScenesResponse with following fields:
Status is SUCCESS
Group ID is 0x0000 on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700826595.190538][15975:15977] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0003
[1700826595.190578][15975:15977] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0003
[1700826595.190637][15975:15977] CHIP:TOO: RemoveAllScenesResponse: {
[1700826595.190652][15975:15977] CHIP:TOO: status: 0
[1700826595.190661][15975:15977] CHIP:TOO: groupID: 0
[1700826595.190669][15975:15977] CHIP:TOO: }
disabled: true
- label: "Step 2a: TH1 reads from the DUT the SceneTableSize attribute"
verification: |
scenesmanagement read scene-table-size 1 1
Verify the "SceneTableSize" attribute value is SceneTableSize(minimum=16) which is recorded into SceneTableSize on the TH (Chip-tool) and below is the sample log provided for the raspi platform:
[1700826614.634340][15990:15992] CHIP:DMG: }
[1700826614.634390][15990:15992] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0006 DataVersion: 1908396086
[1700826614.634399][15990:15992] CHIP:TOO: SceneTableSize: 16
disabled: true
- label:
"Step 2b: TH1 sends a subscription request action for FabricSceneInfo
to the DUT."
verification: |
Please use Interactive mode to Verify the subscription
Here the command to enter interactive mode:--
interactive start
Set up the subscription between DUT and TH by sending the command mentioned below, and verify that the subscription is activated successfully
scenesmanagement subscribe fabric-scene-info 100 200 1 1
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) on the TH (Chip-tool) and below is the sample log provided for the raspi platform:
[1701251118.633541][8779:8781] CHIP:DMG: ReportDataMessage =
[1701251118.633544][8779:8781] CHIP:DMG: {
[1701251118.633547][8779:8781] CHIP:DMG: SubscriptionId = 0x349c4fb0,
[1701251118.633550][8779:8781] CHIP:DMG: AttributeReportIBs =
[1701251118.633557][8779:8781] CHIP:DMG: [
[1701251118.633560][8779:8781] CHIP:DMG: AttributeReportIB =
[1701251118.633567][8779:8781] CHIP:DMG: {
[1701251118.633570][8779:8781] CHIP:DMG: AttributeDataIB =
[1701251118.633574][8779:8781] CHIP:DMG: {
[1701251118.633577][8779:8781] CHIP:DMG: DataVersion = 0xe203cd66,
[1701251118.633581][8779:8781] CHIP:DMG: AttributePathIB =
[1701251118.633584][8779:8781] CHIP:DMG: {
[1701251118.633587][8779:8781] CHIP:DMG: Endpoint = 0x1,
[1701251118.633591][8779:8781] CHIP:DMG: Cluster = 0x62,
[1701251118.633594][8779:8781] CHIP:DMG: Attribute = 0x0000_0002,
[1701251118.633598][8779:8781] CHIP:DMG: }
[1701251118.633602][8779:8781] CHIP:DMG:
[1701251118.633606][8779:8781] CHIP:DMG: Data = [
[1701251118.633610][8779:8781] CHIP:DMG:
[1701251118.633614][8779:8781] CHIP:DMG: {
[1701251118.633618][8779:8781] CHIP:DMG: 0x0 = 0,
[1701251118.633621][8779:8781] CHIP:DMG: 0x1 = 0,
[1701251118.633625][8779:8781] CHIP:DMG: 0x2 = 0,
[1701251118.633629][8779:8781] CHIP:DMG: 0x3 = false,
[1701251118.633633][8779:8781] CHIP:DMG: 0x4 = 7,
[1701251118.633637][8779:8781] CHIP:DMG: 0xfe = 1,
[1701251118.633640][8779:8781] CHIP:DMG: },
[1701251118.633644][8779:8781] CHIP:DMG: ],
[1701251118.633646][8779:8781] CHIP:DMG: },
[1701251118.633652][8779:8781] CHIP:DMG:
[1701251118.633655][8779:8781] CHIP:DMG: },
[1701251118.633661][8779:8781] CHIP:DMG:
[1701251118.633663][8779:8781] CHIP:DMG: ],
[1701251118.633669][8779:8781] CHIP:DMG:
[1701251118.633672][8779:8781] CHIP:DMG: InteractionModelRevision = 11
[1701251118.633675][8779:8781] CHIP:DMG: }
[1701251118.633729][8779:8781] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 3791900006
[1701251118.633743][8779:8781] CHIP:TOO: FabricSceneInfo: 1 entries
[1701251118.633758][8779:8781] CHIP:TOO: [1]: {
[1701251118.633765][8779:8781] CHIP:TOO: SceneCount: 0
[1701251118.633768][8779:8781] CHIP:TOO: CurrentScene: 0
[1701251118.633770][8779:8781] CHIP:TOO: CurrentGroup: 0
[1701251118.633773][8779:8781] CHIP:TOO: SceneValid: FALSE
[1701251118.633776][8779:8781] CHIP:TOO: RemainingCapacity: 7
[1701251118.633779][8779:8781] CHIP:TOO: FabricIndex: 1
[1701251118.633783][8779:8781] CHIP:TOO: }
disabled: true
- label:
"Step 2c: Keep subscription session active for the remaining of the
test"
verification: |
Keep subscription session active for the remaining of the test
Confirm that the subscription session is active for the remainder of the test by the reception of Liveness checks:
CHIP:EM: >>> [E:44665r S:45698 M:201545516] (S) Msg RX from 1:0000000000000001 [1042] --- Type 0001:05 (IM:ReportData)
CHIP:EM: Handling via exchange: 44665r, Delegate: 0xaaaaea044808
CHIP:DMG: ReportDataMessage =
CHIP:DMG: {
CHIP:DMG: SubscriptionId = 0xce6a96bc,
CHIP:DMG: InteractionModelRevision = 11
CHIP:DMG: }
CHIP:DMG: Refresh LivenessCheckTime for 9224 milliseconds with SubscriptionId = 0xce6a96bc Peer = 01:0000000000000001
disabled: true
- label: "Step 2d: Repeat Step 2b and 2c with TH2 and TH3"
verification: |
TH2:
Please use Interactive mode to Verify the subscription of an event
Here the command to enter interactive mode:--
interactive start
Set up the subscription between DUT and TH by sending the command mentioned below, and verify that the subscription is activated successfully
scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
Verify 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 and is equals to (MaxRemainingCapacity) on the TH2 (Chip-tool) and below is the sample log provided for the raspi platform:
[1701242801.625064][7636:7638] CHIP:DMG: ReportDataMessage =
[1701242801.625076][7636:7638] CHIP:DMG: {
[1701242801.625089][7636:7638] CHIP:DMG: SubscriptionId = 0x9682625a,
[1701242801.625100][7636:7638] CHIP:DMG: AttributeReportIBs =
[1701242801.625126][7636:7638] CHIP:DMG: [
[1701242801.625136][7636:7638] CHIP:DMG: AttributeReportIB =
[1701242801.625161][7636:7638] CHIP:DMG: {
[1701242801.625172][7636:7638] CHIP:DMG: AttributeDataIB =
[1701242801.625184][7636:7638] CHIP:DMG: {
[1701242801.625198][7636:7638] CHIP:DMG: DataVersion = 0x4daee67b,
[1701242801.625209][7636:7638] CHIP:DMG: AttributePathIB =
[1701242801.625223][7636:7638] CHIP:DMG: {
[1701242801.625237][7636:7638] CHIP:DMG: Endpoint = 0x1,
[1701242801.625250][7636:7638] CHIP:DMG: Cluster = 0x62,
[1701242801.625263][7636:7638] CHIP:DMG: Attribute = 0x0000_0002,
[1701242801.625275][7636:7638] CHIP:DMG: }
[1701242801.625291][7636:7638] CHIP:DMG:
[1701242801.625303][7636:7638] CHIP:DMG: Data = [
[1701242801.625316][7636:7638] CHIP:DMG:
[1701242801.625330][7636:7638] CHIP:DMG: {
[1701242801.625346][7636:7638] CHIP:DMG: 0x0 = 0,
[1701242801.625361][7636:7638] CHIP:DMG: 0x1 = 0,
[1701242801.625375][7636:7638] CHIP:DMG: 0x2 = 0,
[1701242801.625390][7636:7638] CHIP:DMG: 0x3 = false,
[1701242801.625405][7636:7638] CHIP:DMG: 0x4 = 7,
[1701242801.625418][7636:7638] CHIP:DMG: 0xfe = 2,
[1701242801.625432][7636:7638] CHIP:DMG: },
[1701242801.625444][7636:7638] CHIP:DMG: ],
[1701242801.625455][7636:7638] CHIP:DMG: },
[1701242801.625477][7636:7638] CHIP:DMG:
[1701242801.625487][7636:7638] CHIP:DMG: },
[1701242801.625509][7636:7638] CHIP:DMG:
[1701242801.625519][7636:7638] CHIP:DMG: ],
[1701242801.625541][7636:7638] CHIP:DMG:
[1701242801.625552][7636:7638] CHIP:DMG: InteractionModelRevision = 11
[1701242801.625562][7636:7638] CHIP:DMG: }
[1701242801.625758][7636:7638] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 1303307899
[1701242801.625808][7636:7638] CHIP:TOO: FabricSceneInfo: 1 entries
[1701242801.625852][7636:7638] CHIP:TOO: [1]: {
[1701242801.625874][7636:7638] CHIP:TOO: SceneCount: 0
[1701242801.625885][7636:7638] CHIP:TOO: CurrentScene: 0
[1701242801.625896][7636:7638] CHIP:TOO: CurrentGroup: 0
[1701242801.625907][7636:7638] CHIP:TOO: SceneValid: FALSE
[1701242801.625919][7636:7638] CHIP:TOO: RemainingCapacity: 7
[1701242801.625930][7636:7638] CHIP:TOO: FabricIndex: 2
[1701242801.625941][7636:7638] CHIP:TOO: }
disabled: true
- label: "Step 2e: Repeat Step 2b and 2c with TH3."
verification: |
Please use Interactive mode to Verify the subscription of an event
Here the command to enter interactive mode:--
interactive start
Set up the subscription between DUT and TH by sending the command mentioned below, and verify that the subscription is activated successfully
scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
Verify the DUT sends a report data to TH3 for FabricSceneInfo after the MinIntervalFloor time; store the RemainingCapacity field from this fabric’s entry reported in FabricSceneInfo into Remaining3ndCapacity and is equals to (MaxRemainingCapacity) on the TH3 (Chip-tool) and below is the sample log provided for the raspi platform:
[1701242829.236595][7642:7644] CHIP:DMG: ReportDataMessage =
[1701242829.236616][7642:7644] CHIP:DMG: {
[1701242829.236629][7642:7644] CHIP:DMG: SubscriptionId = 0x31889fa9,
[1701242829.236640][7642:7644] CHIP:DMG: AttributeReportIBs =
[1701242829.236665][7642:7644] CHIP:DMG: [
[1701242829.236675][7642:7644] CHIP:DMG: AttributeReportIB =
[1701242829.236702][7642:7644] CHIP:DMG: {
[1701242829.236712][7642:7644] CHIP:DMG: AttributeDataIB =
[1701242829.236724][7642:7644] CHIP:DMG: {
[1701242829.236738][7642:7644] CHIP:DMG: DataVersion = 0x4daee67b,
[1701242829.236750][7642:7644] CHIP:DMG: AttributePathIB =
[1701242829.236766][7642:7644] CHIP:DMG: {
[1701242829.236778][7642:7644] CHIP:DMG: Endpoint = 0x1,
[1701242829.236792][7642:7644] CHIP:DMG: Cluster = 0x62,
[1701242829.236807][7642:7644] CHIP:DMG: Attribute = 0x0000_0001,
[1701242829.236818][7642:7644] CHIP:DMG: }
[1701242829.236834][7642:7644] CHIP:DMG:
[1701242829.236847][7642:7644] CHIP:DMG: Data = [
[1701242829.236861][7642:7644] CHIP:DMG:
[1701242829.236875][7642:7644] CHIP:DMG: {
[1701242829.236891][7642:7644] CHIP:DMG: 0x0 = 0,
[1701242829.236905][7642:7644] CHIP:DMG: 0x1 = 0,
[1701242829.236921][7642:7644] CHIP:DMG: 0x2 = 0,
[1701242829.236935][7642:7644] CHIP:DMG: 0x3 = false,
[1701242829.236952][7642:7644] CHIP:DMG: 0x4 = 7,
[1701242829.236966][7642:7644] CHIP:DMG: 0xfe = 3,
[1701242829.236979][7642:7644] CHIP:DMG: },
[1701242829.236992][7642:7644] CHIP:DMG: ],
[1701242829.237003][7642:7644] CHIP:DMG: },
[1701242829.237026][7642:7644] CHIP:DMG:
[1701242829.237036][7642:7644] CHIP:DMG: },
[1701242829.237059][7642:7644] CHIP:DMG:
[1701242829.237069][7642:7644] CHIP:DMG: ],
[1701242829.237092][7642:7644] CHIP:DMG:
[1701242829.237102][7642:7644] CHIP:DMG: InteractionModelRevision = 11
[1701242829.237112][7642:7644] CHIP:DMG: }
[1701242829.237312][7642:7644] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0001 DataVersion: 1303307899
[1701242829.237369][7642:7644] CHIP:TOO: FabricSceneInfo: 1 entries
[1701242829.237411][7642:7644] CHIP:TOO: [1]: {
[1701242829.237433][7642:7644] CHIP:TOO: SceneCount: 0
[1701242829.237443][7642:7644] CHIP:TOO: CurrentScene: 0
[1701242829.237454][7642:7644] CHIP:TOO: CurrentGroup: 0
[1701242829.237465][7642:7644] CHIP:TOO: SceneValid: FALSE
[1701242829.237477][7642:7644] CHIP:TOO: RemainingCapacity: 7
[1701242829.237487][7642:7644] CHIP:TOO: FabricIndex: 3
[1701242829.237498][7642:7644] CHIP:TOO: }
disabled: true
- label:
"Step 3a: TH1 sends a AddScene command to DUT with the GroupID field
set to 0x0000, the SceneID field set to 0x01, the TransitionTime field
set to 20000 (20s) and no extension field sets."
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x01 20000 scene1 [] 1 1
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x01 on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700827169.206479][16026:16028] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1700827169.206492][16026:16028] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1700827169.206523][16026:16028] CHIP:TOO: AddSceneResponse: {
[1700827169.206537][16026:16028] CHIP:TOO: status: 0
[1700827169.206548][16026:16028] CHIP:TOO: groupID: 0
[1700827169.206558][16026:16028] CHIP:TOO: sceneID: 1
[1700827169.206568][16026:16028] CHIP:TOO: }
disabled: true
- label:
"Step 3b: 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 reported in
FabricSceneInfo into Remaining1stCapacity; verify Remaining1stCapacity
equals (MaxRemainingCapacity-1)."
verification: |
scenesmanagement subscribe fabric-scene-info 100 200 1 1
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:
[1701246692.659639][8121:8123] CHIP:DMG: ReportDataMessage =
[1701246692.659654][8121:8123] CHIP:DMG: {
[1701246692.659667][8121:8123] CHIP:DMG: SubscriptionId = 0xceee757a,
[1701246692.659678][8121:8123] CHIP:DMG: AttributeReportIBs =
[1701246692.659702][8121:8123] CHIP:DMG: [
[1701246692.659711][8121:8123] CHIP:DMG: AttributeReportIB =
[1701246692.659737][8121:8123] CHIP:DMG: {
[1701246692.659748][8121:8123] CHIP:DMG: AttributeDataIB =
[1701246692.659758][8121:8123] CHIP:DMG: {
[1701246692.659772][8121:8123] CHIP:DMG: DataVersion = 0xa64c547f,
[1701246692.659783][8121:8123] CHIP:DMG: AttributePathIB =
[1701246692.659797][8121:8123] CHIP:DMG: {
[1701246692.659810][8121:8123] CHIP:DMG: Endpoint = 0x1,
[1701246692.659822][8121:8123] CHIP:DMG: Cluster = 0x62,
[1701246692.659836][8121:8123] CHIP:DMG: Attribute = 0x0000_0002,
[1701246692.659847][8121:8123] CHIP:DMG: }
[1701246692.659864][8121:8123] CHIP:DMG:
[1701246692.659876][8121:8123] CHIP:DMG: Data = [
[1701246692.659889][8121:8123] CHIP:DMG:
[1701246692.659903][8121:8123] CHIP:DMG: {
[1701246692.659918][8121:8123] CHIP:DMG: 0x0 = 1,
[1701246692.659932][8121:8123] CHIP:DMG: 0x1 = 0,
[1701246692.659946][8121:8123] CHIP:DMG: 0x2 = 0,
[1701246692.659960][8121:8123] CHIP:DMG: 0x3 = false,
[1701246692.659974][8121:8123] CHIP:DMG: 0x4 = 6,
[1701246692.659987][8121:8123] CHIP:DMG: 0xfe = 1,
[1701246692.660001][8121:8123] CHIP:DMG: },
[1701246692.660024][8121:8123] CHIP:DMG: ],
[1701246692.660035][8121:8123] CHIP:DMG: },
[1701246692.660055][8121:8123] CHIP:DMG:
[1701246692.660065][8121:8123] CHIP:DMG: },
[1701246692.660090][8121:8123] CHIP:DMG:
[1701246692.660100][8121:8123] CHIP:DMG: ],
[1701246692.660125][8121:8123] CHIP:DMG:
[1701246692.660135][8121:8123] CHIP:DMG: InteractionModelRevision = 11
[1701246692.660145][8121:8123] CHIP:DMG: }
[1701246692.660363][8121:8123] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 2790020223
[1701246692.660403][8121:8123] CHIP:TOO: FabricSceneInfo: 1 entries
[1701246692.660436][8121:8123] CHIP:TOO: [1]: {
[1701246692.660449][8121:8123] CHIP:TOO: SceneCount: 1
[1701246692.660459][8121:8123] CHIP:TOO: CurrentScene: 0
[1701246692.660471][8121:8123] CHIP:TOO: CurrentGroup: 0
[1701246692.660482][8121:8123] CHIP:TOO: SceneValid: FALSE
[1701246692.660494][8121:8123] CHIP:TOO: RemainingCapacity: 6
[1701246692.660505][8121:8123] CHIP:TOO: FabricIndex: 1
[1701246692.660516][8121:8123] CHIP:TOO: }
disabled: true
- label:
"Step 4a: TH1 sends AddScene command to DUT with same GroupID and
SceneID value starting at 2 and incrementing for each iteration for
Remaining1stCapacity more times until reported value to TH1 (after
MinIntervalFloor) for RemainingCapacity field from FabricSceneInfo
becomes 0."
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x02 20000 scene2 [] 1 1
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x02 on the TH1(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700827508.579671][16026:16028] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1700827508.579675][16026:16028] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1700827508.579684][16026:16028] CHIP:TOO: AddSceneResponse: {
[1700827508.579688][16026:16028] CHIP:TOO: status: 0
[1700827508.579691][16026:16028] CHIP:TOO: groupID: 0
[1700827508.579694][16026:16028] CHIP:TOO: sceneID: 2
[1700827508.579697][16026:16028] CHIP:TOO: }
scenesmanagement subscribe fabric-scene-info 100 200 1 1
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:
[1701243677.717829][7642:7644] CHIP:DMG: ReportDataMessage =
[1701243677.717834][7642:7644] CHIP:DMG: {
[1701243677.717839][7642:7644] CHIP:DMG: SubscriptionId = 0xbbe8695b,
[1701243677.717844][7642:7644] CHIP:DMG: AttributeReportIBs =
[1701243677.717854][7642:7644] CHIP:DMG: [
[1701243677.717858][7642:7644] CHIP:DMG: AttributeReportIB =
[1701243677.717866][7642:7644] CHIP:DMG: {
[1701243677.717870][7642:7644] CHIP:DMG: AttributeDataIB =
[1701243677.717875][7642:7644] CHIP:DMG: {
[1701243677.717881][7642:7644] CHIP:DMG: DataVersion = 0x4daee689,
[1701243677.717886][7642:7644] CHIP:DMG: AttributePathIB =
[1701243677.717893][7642:7644] CHIP:DMG: {
[1701243677.717899][7642:7644] CHIP:DMG: Endpoint = 0x1,
[1701243677.717906][7642:7644] CHIP:DMG: Cluster = 0x62,
[1701243677.717912][7642:7644] CHIP:DMG: Attribute = 0x0000_0002,
[1701243677.717917][7642:7644] CHIP:DMG: }
[1701243677.717924][7642:7644] CHIP:DMG:
[1701243677.717929][7642:7644] CHIP:DMG: Data = [
[1701243677.717935][7642:7644] CHIP:DMG:
[1701243677.717941][7642:7644] CHIP:DMG: {
[1701243677.717948][7642:7644] CHIP:DMG: 0x0 = 2,
[1701243677.717954][7642:7644] CHIP:DMG: 0x1 = 0,
[1701243677.717960][7642:7644] CHIP:DMG: 0x2 = 0,
[1701243677.717967][7642:7644] CHIP:DMG: 0x3 = false,
[1701243677.717973][7642:7644] CHIP:DMG: 0x4 = 5,
[1701243677.717979][7642:7644] CHIP:DMG: 0xfe = 1,
[1701243677.717986][7642:7644] CHIP:DMG: },
[1701243677.717991][7642:7644] CHIP:DMG: ],
[1701243677.717996][7642:7644] CHIP:DMG: },
[1701243677.718006][7642:7644] CHIP:DMG:
[1701243677.718010][7642:7644] CHIP:DMG: },
[1701243677.718020][7642:7644] CHIP:DMG:
[1701243677.718024][7642:7644] CHIP:DMG: ],
[1701243677.718034][7642:7644] CHIP:DMG:
[1701243677.718037][7642:7644] CHIP:DMG: InteractionModelRevision = 11
[1701243677.718040][7642:7644] CHIP:DMG: }
[1701243677.718133][7642:7644] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 1303307913
[1701243677.718146][7642:7644] CHIP:TOO: FabricSceneInfo: 1 entries
[1701243677.718154][7642:7644] CHIP:TOO: [1]: {
[1701243677.718157][7642:7644] CHIP:TOO: SceneCount: 2
[1701243677.718160][7642:7644] CHIP:TOO: CurrentScene: 0
[1701243677.718162][7642:7644] CHIP:TOO: CurrentGroup: 0
[1701243677.718165][7642:7644] CHIP:TOO: SceneValid: FALSE
[1701243677.718168][7642:7644] CHIP:TOO: RemainingCapacity: 5
[1701243677.718170][7642:7644] CHIP:TOO: FabricIndex: 1
[1701243677.718173][7642:7644] CHIP:TOO: }
.
.
.
scenesmanagement add-scene 0x0000 0x07 20000 scene8 [] 1 1
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x07 on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700827941.415335][16068:16070] CHIP:DMG: },
[1700827941.415392][16068:16070] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1700827941.415406][16068:16070] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1700827941.415462][16068:16070] CHIP:TOO: AddSceneResponse: {
[1700827941.415477][16068:16070] CHIP:TOO: status: 0
[1700827941.415488][16068:16070] CHIP:TOO: groupID: 0
[1700827941.415498][16068:16070] CHIP:TOO: sceneID: 7
[1700827941.415508][16068:16070] CHIP:TOO: }
scenesmanagement subscribe fabric-scene-info 100 200 1 1
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:
[1701244322.682421][7642:7644] CHIP:DMG: ReportDataMessage =
[1701244322.682435][7642:7644] CHIP:DMG: {
[1701244322.682447][7642:7644] CHIP:DMG: SubscriptionId = 0xbbe8695b,
[1701244322.682458][7642:7644] CHIP:DMG: AttributeReportIBs =
[1701244322.682484][7642:7644] CHIP:DMG: [
[1701244322.682495][7642:7644] CHIP:DMG: AttributeReportIB =
[1701244322.682518][7642:7644] CHIP:DMG: {
[1701244322.682528][7642:7644] CHIP:DMG: AttributeDataIB =
[1701244322.682542][7642:7644] CHIP:DMG: {
[1701244322.682555][7642:7644] CHIP:DMG: DataVersion = 0x4daee697,
[1701244322.682566][7642:7644] CHIP:DMG: AttributePathIB =
[1701244322.682579][7642:7644] CHIP:DMG: {
[1701244322.682592][7642:7644] CHIP:DMG: Endpoint = 0x1,
[1701244322.682605][7642:7644] CHIP:DMG: Cluster = 0x62,
[1701244322.682619][7642:7644] CHIP:DMG: Attribute = 0x0000_0002,
[1701244322.682631][7642:7644] CHIP:DMG: }
[1701244322.682647][7642:7644] CHIP:DMG:
[1701244322.682659][7642:7644] CHIP:DMG: Data = [
[1701244322.682672][7642:7644] CHIP:DMG:
[1701244322.682687][7642:7644] CHIP:DMG: {
[1701244322.682701][7642:7644] CHIP:DMG: 0x0 = 7,
[1701244322.682715][7642:7644] CHIP:DMG: 0x1 = 0,
[1701244322.682729][7642:7644] CHIP:DMG: 0x2 = 0,
[1701244322.682742][7642:7644] CHIP:DMG: 0x3 = false,
[1701244322.682756][7642:7644] CHIP:DMG: 0x4 = 0,
[1701244322.682770][7642:7644] CHIP:DMG: 0xfe = 1,
[1701244322.682784][7642:7644] CHIP:DMG: },
[1701244322.682807][7642:7644] CHIP:DMG: ],
[1701244322.682818][7642:7644] CHIP:DMG: },
[1701244322.682843][7642:7644] CHIP:DMG:
[1701244322.682853][7642:7644] CHIP:DMG: },
[1701244322.682876][7642:7644] CHIP:DMG:
[1701244322.682887][7642:7644] CHIP:DMG: ],
[1701244322.682908][7642:7644] CHIP:DMG:
[1701244322.682919][7642:7644] CHIP:DMG: InteractionModelRevision = 11
[1701244322.682930][7642:7644] CHIP:DMG: }
[1701244322.683149][7642:7644] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 1303307927
[1701244322.683191][7642:7644] CHIP:TOO: FabricSceneInfo: 1 entries
[1701244322.683224][7642:7644] CHIP:TOO: [1]: {
[1701244322.683236][7642:7644] CHIP:TOO: SceneCount: 7
[1701244322.683247][7642:7644] CHIP:TOO: CurrentScene: 0
[1701244322.683258][7642:7644] CHIP:TOO: CurrentGroup: 0
[1701244322.683269][7642:7644] CHIP:TOO: SceneValid: FALSE
[1701244322.683282][7642:7644] CHIP:TOO: RemainingCapacity: 0
[1701244322.683293][7642:7644] CHIP:TOO: FabricIndex: 1
[1701244322.683304][7642:7644] CHIP:TOO: }
disabled: true
- label:
"Step 4b: TH1 sends a AddScene command to DUT with the GroupID field
set to 0x0000, the SceneID field set to 1 more than last value used in
step 4a, the TransitionTime field set to 20000 (20s) and no extension
field sets."
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x08 20000 scene9 [] 1 1
Verify the AddSceneResponse with following fields:
Status is RESOURCE_EXHAUSTED(0x89) on the TH1(Chip-tool) log and below is the sample log provided for the raspi platform:
[1701244361.448569][7642:7644] CHIP:DMG: },
[1701244361.448586][7642:7644] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1701244361.448590][7642:7644] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1701244361.448600][7642:7644] CHIP:TOO: AddSceneResponse: {
[1701244361.448604][7642:7644] CHIP:TOO: status: 137
[1701244361.448608][7642:7644] CHIP:TOO: groupID: 0
[1701244361.448611][7642:7644] CHIP:TOO: sceneID: 8
[1701244361.448614][7642:7644] CHIP:TOO: }
disabled: true
- label: "Step 5a: Repeat Step 4a with TH2"
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x02 0x0014 scene1 [] 2 1 --commissioner-name beta
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x02 on the TH2(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700828173.261569][16115:16117] CHIP:DMG: },
[1700828173.261586][16115:16117] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1700828173.261600][16115:16117] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1700828173.261629][16115:16117] CHIP:TOO: AddSceneResponse: {
[1700828173.261633][16115:16117] CHIP:TOO: status: 0
[1700828173.261636][16115:16117] CHIP:TOO: groupID: 0
[1700828173.261638][16115:16117] CHIP:TOO: sceneID: 2
[1700828173.261640][16115:16117] CHIP:TOO: }
scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
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:
[1701244532.841112][7824:7826] CHIP:DMG: ReportDataMessage =
[1701244532.841116][7824:7826] CHIP:DMG: {
[1701244532.841120][7824:7826] CHIP:DMG: SubscriptionId = 0xf6c52c20,
[1701244532.841123][7824:7826] CHIP:DMG: AttributeReportIBs =
[1701244532.841131][7824:7826] CHIP:DMG: [
[1701244532.841134][7824:7826] CHIP:DMG: AttributeReportIB =
[1701244532.841141][7824:7826] CHIP:DMG: {
[1701244532.841144][7824:7826] CHIP:DMG: AttributeDataIB =
[1701244532.841148][7824:7826] CHIP:DMG: {
[1701244532.841152][7824:7826] CHIP:DMG: DataVersion = 0x4daee699,
[1701244532.841155][7824:7826] CHIP:DMG: AttributePathIB =
[1701244532.841159][7824:7826] CHIP:DMG: {
[1701244532.841163][7824:7826] CHIP:DMG: Endpoint = 0x1,
[1701244532.841167][7824:7826] CHIP:DMG: Cluster = 0x62,
[1701244532.841171][7824:7826] CHIP:DMG: Attribute = 0x0000_0002,
[1701244532.841175][7824:7826] CHIP:DMG: }
[1701244532.841179][7824:7826] CHIP:DMG:
[1701244532.841183][7824:7826] CHIP:DMG: Data = [
[1701244532.841187][7824:7826] CHIP:DMG:
[1701244532.841192][7824:7826] CHIP:DMG: {
[1701244532.841196][7824:7826] CHIP:DMG: 0x0 = 1,
[1701244532.841200][7824:7826] CHIP:DMG: 0x1 = 0,
[1701244532.841204][7824:7826] CHIP:DMG: 0x2 = 0,
[1701244532.841209][7824:7826] CHIP:DMG: 0x3 = false,
[1701244532.841213][7824:7826] CHIP:DMG: 0x4 = 6,
[1701244532.841217][7824:7826] CHIP:DMG: 0xfe = 2,
[1701244532.841221][7824:7826] CHIP:DMG: },
[1701244532.841225][7824:7826] CHIP:DMG: ],
[1701244532.841228][7824:7826] CHIP:DMG: },
[1701244532.841237][7824:7826] CHIP:DMG:
[1701244532.841240][7824:7826] CHIP:DMG: },
[1701244532.841248][7824:7826] CHIP:DMG:
[1701244532.841251][7824:7826] CHIP:DMG: ],
[1701244532.841257][7824:7826] CHIP:DMG:
[1701244532.841261][7824:7826] CHIP:DMG: InteractionModelRevision = 11
[1701244532.841264][7824:7826] CHIP:DMG: }
[1701244532.841324][7824:7826] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 1303307929
[1701244532.841340][7824:7826] CHIP:TOO: FabricSceneInfo: 1 entries
[1701244532.841351][7824:7826] CHIP:TOO: [1]: {
[1701244532.841355][7824:7826] CHIP:TOO: SceneCount: 1
[1701244532.841358][7824:7826] CHIP:TOO: CurrentScene: 0
[1701244532.841361][7824:7826] CHIP:TOO: CurrentGroup: 0
[1701244532.841365][7824:7826] CHIP:TOO: SceneValid: FALSE
[1701244532.841368][7824:7826] CHIP:TOO: RemainingCapacity: 6
[1701244532.841371][7824:7826] CHIP:TOO: FabricIndex: 2
[1701244532.841375][7824:7826] CHIP:TOO: }
.
.
.
scenesmanagement add-scene 0x0000 0x08 0x0014 scene7 [] 2 1 --commissioner-name beta
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x08 on the TH2(Chip-tool) log and below is the sample log provided for the raspi platform:
[1700829509.052437][16198:16200] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1700829509.052452][16198:16200] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1700829509.052485][16198:16200] CHIP:TOO: AddSceneResponse: {
[1700829509.052500][16198:16200] CHIP:TOO: status: 0
[1700829509.052511][16198:16200] CHIP:TOO: groupID: 0
[1700829509.052521][16198:16200] CHIP:TOO: sceneID: 8
[1700829509.052532][16198:16200] CHIP:TOO: }
scenesmanagement subscribe fabric-scene-info 100 200 2 1 --commissioner-name beta
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:
[1701245132.869725][7824:7826] CHIP:DMG: ReportDataMessage =
[1701245132.869737][7824:7826] CHIP:DMG: {
[1701245132.869748][7824:7826] CHIP:DMG: SubscriptionId = 0xf6c52c20,
[1701245132.869756][7824:7826] CHIP:DMG: AttributeReportIBs =
[1701245132.869779][7824:7826] CHIP:DMG: [
[1701245132.869790][7824:7826] CHIP:DMG: AttributeReportIB =
[1701245132.869814][7824:7826] CHIP:DMG: {
[1701245132.869825][7824:7826] CHIP:DMG: AttributeDataIB =
[1701245132.869835][7824:7826] CHIP:DMG: {
[1701245132.869854][7824:7826] CHIP:DMG: DataVersion = 0x4daee6a5,
[1701245132.869866][7824:7826] CHIP:DMG: AttributePathIB =
[1701245132.869879][7824:7826] CHIP:DMG: {
[1701245132.869893][7824:7826] CHIP:DMG: Endpoint = 0x1,
[1701245132.869906][7824:7826] CHIP:DMG: Cluster = 0x62,
[1701245132.869923][7824:7826] CHIP:DMG: Attribute = 0x0000_0002,
[1701245132.869935][7824:7826] CHIP:DMG: }
[1701245132.869951][7824:7826] CHIP:DMG:
[1701245132.869963][7824:7826] CHIP:DMG: Data = [
[1701245132.869978][7824:7826] CHIP:DMG:
[1701245132.869995][7824:7826] CHIP:DMG: {
[1701245132.870010][7824:7826] CHIP:DMG: 0x0 = 7,
[1701245132.870026][7824:7826] CHIP:DMG: 0x1 = 0,
[1701245132.870038][7824:7826] CHIP:DMG: 0x2 = 0,
[1701245132.870052][7824:7826] CHIP:DMG: 0x3 = false,
[1701245132.870066][7824:7826] CHIP:DMG: 0x4 = 0,
[1701245132.870081][7824:7826] CHIP:DMG: 0xfe = 2,
[1701245132.870094][7824:7826] CHIP:DMG: },
[1701245132.870106][7824:7826] CHIP:DMG: ],
[1701245132.870117][7824:7826] CHIP:DMG: },
[1701245132.870140][7824:7826] CHIP:DMG:
[1701245132.870149][7824:7826] CHIP:DMG: },
[1701245132.870171][7824:7826] CHIP:DMG:
[1701245132.870180][7824:7826] CHIP:DMG: ],
[1701245132.870205][7824:7826] CHIP:DMG:
[1701245132.870215][7824:7826] CHIP:DMG: InteractionModelRevision = 11
[1701245132.870225][7824:7826] CHIP:DMG: }
[1701245132.870446][7824:7826] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 1303307941
[1701245132.870486][7824:7826] CHIP:TOO: FabricSceneInfo: 1 entries
[1701245132.870517][7824:7826] CHIP:TOO: [1]: {
[1701245132.870530][7824:7826] CHIP:TOO: SceneCount: 7
[1701245132.870541][7824:7826] CHIP:TOO: CurrentScene: 0
[1701245132.870549][7824:7826] CHIP:TOO: CurrentGroup: 0
[1701245132.870561][7824:7826] CHIP:TOO: SceneValid: FALSE
[1701245132.870573][7824:7826] CHIP:TOO: RemainingCapacity: 0
[1701245132.870584][7824:7826] CHIP:TOO: FabricIndex: 2
[1701245132.870594][7824:7826] CHIP:TOO: }
scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
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:
[1705916737.108024][21608:21610] CHIP:DMG: ReportDataMessage =
[1705916737.108028][21608:21610] CHIP:DMG: {
[1705916737.108031][21608:21610] CHIP:DMG: SubscriptionId = 0xbb681f96,
[1705916737.108034][21608:21610] CHIP:DMG: AttributeReportIBs =
[1705916737.108041][21608:21610] CHIP:DMG: [
[1705916737.108043][21608:21610] CHIP:DMG: AttributeReportIB =
[1705916737.108050][21608:21610] CHIP:DMG: {
[1705916737.108053][21608:21610] CHIP:DMG: AttributeDataIB =
[1705916737.108056][21608:21610] CHIP:DMG: {
[1705916737.108060][21608:21610] CHIP:DMG: DataVersion = 0xb6069420,
[1705916737.108063][21608:21610] CHIP:DMG: AttributePathIB =
[1705916737.108066][21608:21610] CHIP:DMG: {
[1705916737.108070][21608:21610] CHIP:DMG: Endpoint = 0x1,
[1705916737.108073][21608:21610] CHIP:DMG: Cluster = 0x62,
[1705916737.108077][21608:21610] CHIP:DMG: Attribute = 0x0000_0002,
[1705916737.108080][21608:21610] CHIP:DMG: }
[1705916737.108084][21608:21610] CHIP:DMG:
[1705916737.108087][21608:21610] CHIP:DMG: Data = [
[1705916737.108091][21608:21610] CHIP:DMG:
[1705916737.108094][21608:21610] CHIP:DMG: {
[1705916737.108098][21608:21610] CHIP:DMG: 0x0 = 0,
[1705916737.108102][21608:21610] CHIP:DMG: 0x1 = 0,
[1705916737.108106][21608:21610] CHIP:DMG: 0x2 = 0,
[1705916737.108109][21608:21610] CHIP:DMG: 0x3 = false,
[1705916737.108113][21608:21610] CHIP:DMG: 0x4 = 2,
[1705916737.108117][21608:21610] CHIP:DMG: 0xfe = 3,
[1705916737.108120][21608:21610] CHIP:DMG: },
[1705916737.108123][21608:21610] CHIP:DMG: ],
[1705916737.108126][21608:21610] CHIP:DMG: },
[1705916737.108132][21608:21610] CHIP:DMG:
[1705916737.108135][21608:21610] CHIP:DMG: },
[1705916737.108141][21608:21610] CHIP:DMG:
[1705916737.108144][21608:21610] CHIP:DMG: ],
[1705916737.108150][21608:21610] CHIP:DMG:
[1705916737.108153][21608:21610] CHIP:DMG: InteractionModelRevision = 11
[1705916737.108155][21608:21610] CHIP:DMG: }
[1705916737.108218][21608:21610] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 3053884448
[1705916737.108239][21608:21610] CHIP:TOO: FabricSceneInfo: 1 entries
[1705916737.108259][21608:21610] CHIP:TOO: [1]: {
[1705916737.108266][21608:21610] CHIP:TOO: SceneCount: 0
[1705916737.108268][21608:21610] CHIP:TOO: CurrentScene: 0
[1705916737.108271][21608:21610] CHIP:TOO: CurrentGroup: 0
[1705916737.108274][21608:21610] CHIP:TOO: SceneValid: FALSE
[1705916737.108277][21608:21610] CHIP:TOO: RemainingCapacity: 2
[1705916737.108280][21608:21610] CHIP:TOO: FabricIndex: 3
[1705916737.108283][21608:21610] CHIP:TOO: }
disabled: true
- label: "Step 5b: Repeat Step 4b with TH2"
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x09 0x0014 scene8 [] 2 1 --commissioner-name beta
Verify the AddSceneResponse with following fields:
Status is RESOURCE_EXHAUSTED(0x89) on the TH2(Chip-tool) log and below is the sample log provided for the raspi platform:
[1701245223.543911][7824:7826] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1701245223.543925][7824:7826] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1701245223.543957][7824:7826] CHIP:TOO: AddSceneResponse: {
[1701245223.543971][7824:7826] CHIP:TOO: status: 137
[1701245223.543983][7824:7826] CHIP:TOO: groupID: 0
[1701245223.543994][7824:7826] CHIP:TOO: sceneID: 9
[1701245223.544004][7824:7826] CHIP:TOO: }
disabled: true
- label: "Step 6a: Repeat Step 4a with TH3"
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x02 0x0014 scene1 [] 3 1 --commissioner-name gamma
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x02 on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
[1705915133.113882][21363:21365] CHIP:DMG: },
[1705915133.113949][21363:21365] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1705915133.113982][21363:21365] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1705915133.114065][21363:21365] CHIP:TOO: AddSceneResponse: {
[1705915133.114081][21363:21365] CHIP:TOO: status: 0
[1705915133.114092][21363:21365] CHIP:TOO: groupID: 0
[1705915133.114103][21363:21365] CHIP:TOO: sceneID: 2
[1705915133.114113][21363:21365] CHIP:TOO: }
scenesmanagement subscribe fabric-scene-info 100 200 3 1 --commissioner-name gamma
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:
[1705915183.311738][21363:21365] CHIP:DMG: ReportDataMessage =
[1705915183.311752][21363:21365] CHIP:DMG: {
[1705915183.311765][21363:21365] CHIP:DMG: SubscriptionId = 0x62039a894,
[1705915183.311775][21363:21365] CHIP:DMG: AttributeReportIBs =
[1705915183.311801][21363:21365] CHIP:DMG: [
[1705915183.311811][21363:21365] CHIP:DMG: AttributeReportIB =
[1705915183.311835][21363:21365] CHIP:DMG: {
[1705915183.311845][21363:21365] CHIP:DMG: AttributeDataIB =
[1705915183.311858][21363:21365] CHIP:DMG: {
[1705915183.311871][21363:21365] CHIP:DMG: DataVersion = 0x7e84d696,
[1705915183.311882][21363:21365] CHIP:DMG: AttributePathIB =
[1705915183.311896][21363:21365] CHIP:DMG: {
[1705915183.311909][21363:21365] CHIP:DMG: Endpoint = 0x1,
[1705915183.311923][21363:21365] CHIP:DMG: Cluster = 0x62,
[1705915183.311937][21363:21365] CHIP:DMG: Attribute = 0x0000_0002,
[1705915183.311948][21363:21365] CHIP:DMG: }
[1705915183.311964][21363:21365] CHIP:DMG:
[1705915183.311976][21363:21365] CHIP:DMG: Data = [
[1705915183.311990][21363:21365] CHIP:DMG:
[1705915183.312003][21363:21365] CHIP:DMG: {
[1705915183.312018][21363:21365] CHIP:DMG: 0x0 = 1,
[1705915183.312033][21363:21365] CHIP:DMG: 0x1 = 0,
[1705915183.312047][21363:21365] CHIP:DMG: 0x2 = 0,
[1705915183.312072][21363:21365] CHIP:DMG: 0x3 = false,
[1705915183.312093][21363:21365] CHIP:DMG: 0x4 = 1,
[1705915183.312115][21363:21365] CHIP:DMG: 0xfe = 3,
[1705915183.312134][21363:21365] CHIP:DMG: },
[1705915183.312154][21363:21365] CHIP:DMG: ],
[1705915183.312170][21363:21365] CHIP:DMG: },
[1705915183.312197][21363:21365] CHIP:DMG:
[1705915183.312207][21363:21365] CHIP:DMG: },
[1705915183.312228][21363:21365] CHIP:DMG:
[1705915183.312239][21363:21365] CHIP:DMG: ],
[1705915183.312263][21363:21365] CHIP:DMG:
[1705915183.312274][21363:21365] CHIP:DMG: InteractionModelRevision = 11
[1705915183.312283][21363:21365] CHIP:DMG: }
[1705915183.312491][21363:21365] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 2122634902
[1705915183.312553][21363:21365] CHIP:TOO: FabricSceneInfo: 1 entries
[1705915183.312599][21363:21365] CHIP:TOO: [1]: {
[1705915183.312613][21363:21365] CHIP:TOO: SceneCount: 1
[1705915183.312623][21363:21365] CHIP:TOO: CurrentScene: 0
[1705915183.312645][21363:21365] CHIP:TOO: CurrentGroup: 0
[1705915183.312656][21363:21365] CHIP:TOO: SceneValid: FALSE
[1705915183.312669][21363:21365] CHIP:TOO: RemainingCapacity: 1
[1705915183.312679][21363:21365] CHIP:TOO: FabricIndex: 3
[1705915183.312690][21363:21365] CHIP:TOO: }
scenesmanagement add-scene 0x0000 0x03 0x0014 scene2 [] 3 1 --commissioner-name gamma
Verify the AddSceneResponse with following fields:
Status is SUCCESS
Group ID is 0x0000
SceneID field set to 0x03 on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
[1705915237.987013][21363:21365] CHIP:DMG: },
[1705915237.987077][21363:21365] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1705915237.987093][21363:21365] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1705915237.987124][21363:21365] CHIP:TOO: AddSceneResponse: {
[1705915237.987140][21363:21365] CHIP:TOO: status: 0
[1705915237.987150][21363:21365] CHIP:TOO: groupID: 0
[1705915237.987161][21363:21365] CHIP:TOO: sceneID: 3
[1705915237.987171][21363:21365] CHIP:TOO: }
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 0)) on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
[1705915281.585175][21387:21389] CHIP:DMG: ReportDataMessage =
[1705915281.585187][21387:21389] CHIP:DMG: {
[1705915281.585198][21387:21389] CHIP:DMG: SubscriptionId = 0x111160d4,
[1705915281.585206][21387:21389] CHIP:DMG: AttributeReportIBs =
[1705915281.585228][21387:21389] CHIP:DMG: [
[1705915281.585236][21387:21389] CHIP:DMG: AttributeReportIB =
[1705915281.585263][21387:21389] CHIP:DMG: {
[1705915281.585273][21387:21389] CHIP:DMG: AttributeDataIB =
[1705915281.585285][21387:21389] CHIP:DMG: {
[1705915281.585299][21387:21389] CHIP:DMG: DataVersion = 0x7e84d698,
[1705915281.585310][21387:21389] CHIP:DMG: AttributePathIB =
[1705915281.585323][21387:21389] CHIP:DMG: {
[1705915281.585336][21387:21389] CHIP:DMG: Endpoint = 0x1,
[1705915281.585349][21387:21389] CHIP:DMG: Cluster = 0x62,
[1705915281.585362][21387:21389] CHIP:DMG: Attribute = 0x0000_0002,
[1705915281.585374][21387:21389] CHIP:DMG: }
[1705915281.585390][21387:21389] CHIP:DMG:
[1705915281.585402][21387:21389] CHIP:DMG: Data = [
[1705915281.585415][21387:21389] CHIP:DMG:
[1705915281.585428][21387:21389] CHIP:DMG: {
[1705915281.585443][21387:21389] CHIP:DMG: 0x0 = 2,
[1705915281.585458][21387:21389] CHIP:DMG: 0x1 = 0,
[1705915281.585472][21387:21389] CHIP:DMG: 0x2 = 0,
[1705915281.585486][21387:21389] CHIP:DMG: 0x3 = false,
[1705915281.585500][21387:21389] CHIP:DMG: 0x4 = 0,
[1705915281.585513][21387:21389] CHIP:DMG: 0xfe = 3,
[1705915281.585527][21387:21389] CHIP:DMG: },
[1705915281.585539][21387:21389] CHIP:DMG: ],
[1705915281.585550][21387:21389] CHIP:DMG: },
[1705915281.585573][21387:21389] CHIP:DMG:
[1705915281.585583][21387:21389] CHIP:DMG: },
[1705915281.585605][21387:21389] CHIP:DMG:
[1705915281.585615][21387:21389] CHIP:DMG: ],
[1705915281.585638][21387:21389] CHIP:DMG:
[1705915281.585648][21387:21389] CHIP:DMG: InteractionModelRevision = 11
[1705915281.585657][21387:21389] CHIP:DMG: }
[1705915281.585866][21387:21389] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Attribute 0x0000_0002 DataVersion: 2122634904
[1705915281.585940][21387:21389] CHIP:TOO: FabricSceneInfo: 1 entries
[1705915281.586006][21387:21389] CHIP:TOO: [1]: {
[1705915281.586029][21387:21389] CHIP:TOO: SceneCount: 2
[1705915281.586040][21387:21389] CHIP:TOO: CurrentScene: 0
[1705915281.586051][21387:21389] CHIP:TOO: CurrentGroup: 0
[1705915281.586061][21387:21389] CHIP:TOO: SceneValid: FALSE
[1705915281.586073][21387:21389] CHIP:TOO: RemainingCapacity: 0
[1705915281.586084][21387:21389] CHIP:TOO: FabricIndex: 3
[1705915281.586095][21387:21389] CHIP:TOO: }
disabled: true
- label:
"Step 6b: TH3 sends a AddScene command to DUT with the GroupID field
set to 0x0000, the SceneID field set to 0x01, the TransitionTime field
set to 20000 20s and no extension field sets."
PICS: S.S.C00.Rsp
verification: |
scenesmanagement add-scene 0x0000 0x01 20000 scene [] 3 1 --commissioner-name gamma
Verify the AddSceneResponse with following fields:
Status is RESOURCE_EXHAUSTED(0x89) on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
[1705915365.772920][21387:21389] CHIP:DMG: },
[1705915365.772985][21387:21389] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1705915365.773001][21387:21389] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1705915365.773063][21387:21389] CHIP:TOO: AddSceneResponse: {
[1705915365.773079][21387:21389] CHIP:TOO: status: 137
[1705915365.773091][21387:21389] CHIP:TOO: groupID: 0
[1705915365.773102][21387:21389] CHIP:TOO: sceneID: 1
[1705915365.773112][21387:21389] CHIP:TOO: }
disabled: true
- label:
"Step 7: TH3 sends a StoreScene command to DUT with the GroupID field
set to 0x0000, the SceneID field set to 0x01."
PICS: S.S.C04.Rsp
verification: |
scenesmanagement store-scene 0x0000 0x01 3 1 --commissioner-name gamma
Verify the StoreSceneResponse with following fields:
Status is RESOURCE_EXHAUSTED(0x89) on the TH3(Chip-tool) log and below is the sample log provided for the raspi platform:
[1705915551.740537][21417:21419] CHIP:DMG: },
[1705915551.740557][21417:21419] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0004
[1705915551.740566][21417:21419] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0004
[1705915551.740585][21417:21419] CHIP:TOO: StoreSceneResponse: {
[1705915551.740590][21417:21419] CHIP:TOO: status: 137
[1705915551.740593][21417:21419] CHIP:TOO: groupID: 0
[1705915551.740596][21417:21419] CHIP:TOO: sceneID: 1
[1705915551.740598][21417:21419] CHIP:TOO: }
disabled: true
- label:
"Step 8: TH sends a CopyScene command to DUT with the mode field set
to 0x00, the group identifier from field set to 0x0000, the scene
identifier from field set to 0x01, the group identifier to field set
to 0x0000 and the scene identifier to field set to 0xFE."
PICS: S.S.C40.Rsp
verification: |
scenesmanagement copy-scene 0x00 0x0000 0x02 0x0000 0x00 3 1 --commissioner-name gamma
Verify the CopySceneResponse with following fields:
Status is RESOURCE_EXHAUSTED(0x89) on the TH(Chip-tool) log and below is the sample log provided for the raspi platform:
[1705915659.672801][21417:21419] CHIP:DMG: },