-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathTest_TC_G_2_3.yaml
1244 lines (1114 loc) · 82.6 KB
/
Test_TC_G_2_3.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) 2021 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:
131.2.3. [TC-G-2.3] Commands - GetGroupMembership, AddGroupIfIdentifying
[DUT-Server]
PICS:
- G.S
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Precondition"
verification: |
TH is commissioned with DUT
TH reads the MaxGroupsPerFabric from Group key Management Cluster and saves it as maxgroups
./chip-tool groupkeymanagement read max-groups-per-fabric 1 0
Verify for the "MaxGroupsPerFabric" value on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683802556.948465][41067:41069] CHIP:DMG: }
[1683802556.948507][41067:41069] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0002 DataVersion: 1698601848
[1683802556.948520][41067:41069] CHIP:TOO: MaxGroupsPerFabric: 12
Note: MaxGroupsPerFabric has a value 12 on TH log. It can be any value between [min=4, max=65535].
disabled: true
- label:
"Step 1a: TH sends KeySetWrite command in the GroupKeyManagement
cluster to DUT on EP0 using a key that is pre-installed on the TH.
GroupKeySet fields are as follows: GroupKeySetID: 1
GroupKeySecurityPolicy: TrustFirst (0) EpochKey0:
d0d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime0: 1 EpochKey1:
d1d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime1: 18446744073709551613
EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime2:
18446744073709551614"
verification: |
./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 1,"groupKeySecurityPolicy": 0, "epochKey0":"d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 1,"epochKey1":"d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 18446744073709551613,"epochKey2":"d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 18446744073709551614 }' 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1658316948.574526][4039:4044] CHIP:DMG: StatusIB =
[1658316948.574561][4039:4044] CHIP:DMG: {
[1658316948.574597][4039:4044] CHIP:DMG: status = 0x00 (SUCCESS),
[1658316948.574632][4039:4044] CHIP:DMG: },
disabled: true
- label:
"Step 1b: TH writes the GroupKeyMap attribute in the
GroupKeyManagement cluster of DUT on EP0 with maxgroups entries
binding GroupId(0x0002 to (maxgroups+1)) with GroupKeySetID 1"
verification: |
./chip-tool groupkeymanagement write group-key-map '[{"groupId":2, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 3, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":4, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 5, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":6, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 7, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":8, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":9, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 10, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":11, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 12, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":13, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1686812343.318310][10080:10082] CHIP:DMG: WriteResponseMessage =
[1686812343.318313][10080:10082] CHIP:DMG: {
[1686812343.318316][10080:10082] CHIP:DMG: AttributeStatusIBs =
[1686812343.318321][10080:10082] CHIP:DMG: [
[1686812343.318323][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318327][10080:10082] CHIP:DMG: {
[1686812343.318330][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318335][10080:10082] CHIP:DMG: {
[1686812343.318339][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318342][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318346][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318348][10080:10082] CHIP:DMG: }
[1686812343.318353][10080:10082] CHIP:DMG:
[1686812343.318356][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318360][10080:10082] CHIP:DMG: {
[1686812343.318363][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318366][10080:10082] CHIP:DMG: },
[1686812343.318369][10080:10082] CHIP:DMG:
[1686812343.318372][10080:10082] CHIP:DMG: },
[1686812343.318378][10080:10082] CHIP:DMG:
[1686812343.318381][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318383][10080:10082] CHIP:DMG: {
[1686812343.318385][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318390][10080:10082] CHIP:DMG: {
[1686812343.318394][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318397][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318401][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318404][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318408][10080:10082] CHIP:DMG: }
[1686812343.318413][10080:10082] CHIP:DMG:
[1686812343.318415][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318418][10080:10082] CHIP:DMG: {
[1686812343.318421][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318424][10080:10082] CHIP:DMG: },
[1686812343.318427][10080:10082] CHIP:DMG:
[1686812343.318429][10080:10082] CHIP:DMG: },
[1686812343.318436][10080:10082] CHIP:DMG:
[1686812343.318438][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318442][10080:10082] CHIP:DMG: {
[1686812343.318444][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318447][10080:10082] CHIP:DMG: {
[1686812343.318450][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318453][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318457][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318460][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318464][10080:10082] CHIP:DMG: }
[1686812343.318468][10080:10082] CHIP:DMG:
[1686812343.318471][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318476][10080:10082] CHIP:DMG: {
[1686812343.318478][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318482][10080:10082] CHIP:DMG: },
[1686812343.318486][10080:10082] CHIP:DMG:
[1686812343.318490][10080:10082] CHIP:DMG: },
[1686812343.318496][10080:10082] CHIP:DMG:
[1686812343.318498][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318501][10080:10082] CHIP:DMG: {
[1686812343.318504][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318507][10080:10082] CHIP:DMG: {
[1686812343.318509][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318512][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318515][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318518][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318521][10080:10082] CHIP:DMG: }
[1686812343.318525][10080:10082] CHIP:DMG:
[1686812343.318528][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318531][10080:10082] CHIP:DMG: {
[1686812343.318534][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318536][10080:10082] CHIP:DMG: },
[1686812343.318539][10080:10082] CHIP:DMG:
[1686812343.318542][10080:10082] CHIP:DMG: },
[1686812343.318549][10080:10082] CHIP:DMG:
[1686812343.318551][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318554][10080:10082] CHIP:DMG: {
[1686812343.318557][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318559][10080:10082] CHIP:DMG: {
[1686812343.318563][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318566][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318569][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318572][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318575][10080:10082] CHIP:DMG: }
[1686812343.318579][10080:10082] CHIP:DMG:
[1686812343.318581][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318584][10080:10082] CHIP:DMG: {
[1686812343.318587][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318591][10080:10082] CHIP:DMG: },
[1686812343.318594][10080:10082] CHIP:DMG:
[1686812343.318597][10080:10082] CHIP:DMG: },
[1686812343.318604][10080:10082] CHIP:DMG:
[1686812343.318606][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318609][10080:10082] CHIP:DMG: {
[1686812343.318611][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318616][10080:10082] CHIP:DMG: {
[1686812343.318618][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318623][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318627][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318629][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318632][10080:10082] CHIP:DMG: }
[1686812343.318637][10080:10082] CHIP:DMG:
[1686812343.318640][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318643][10080:10082] CHIP:DMG: {
[1686812343.318646][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318649][10080:10082] CHIP:DMG: },
[1686812343.318652][10080:10082] CHIP:DMG:
[1686812343.318655][10080:10082] CHIP:DMG: },
[1686812343.318662][10080:10082] CHIP:DMG:
[1686812343.318664][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318667][10080:10082] CHIP:DMG: {
[1686812343.318669][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318672][10080:10082] CHIP:DMG: {
[1686812343.318675][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318678][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318681][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318684][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318687][10080:10082] CHIP:DMG: }
[1686812343.318691][10080:10082] CHIP:DMG:
[1686812343.318694][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318697][10080:10082] CHIP:DMG: {
[1686812343.318702][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318704][10080:10082] CHIP:DMG: },
[1686812343.318707][10080:10082] CHIP:DMG:
[1686812343.318710][10080:10082] CHIP:DMG: },
[1686812343.318716][10080:10082] CHIP:DMG:
[1686812343.318718][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318721][10080:10082] CHIP:DMG: {
[1686812343.318724][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318728][10080:10082] CHIP:DMG: {
[1686812343.318732][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318742][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318745][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318748][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318751][10080:10082] CHIP:DMG: }
[1686812343.318755][10080:10082] CHIP:DMG:
[1686812343.318758][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318761][10080:10082] CHIP:DMG: {
[1686812343.318765][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318767][10080:10082] CHIP:DMG: },
[1686812343.318772][10080:10082] CHIP:DMG:
[1686812343.318775][10080:10082] CHIP:DMG: },
[1686812343.318781][10080:10082] CHIP:DMG:
[1686812343.318784][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318787][10080:10082] CHIP:DMG: {
[1686812343.318790][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318793][10080:10082] CHIP:DMG: {
[1686812343.318796][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318800][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318803][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318806][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318808][10080:10082] CHIP:DMG: }
[1686812343.318812][10080:10082] CHIP:DMG:
[1686812343.318814][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318816][10080:10082] CHIP:DMG: {
[1686812343.318819][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318821][10080:10082] CHIP:DMG: },
[1686812343.318824][10080:10082] CHIP:DMG:
[1686812343.318829][10080:10082] CHIP:DMG: },
[1686812343.318835][10080:10082] CHIP:DMG:
[1686812343.318837][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318841][10080:10082] CHIP:DMG: {
[1686812343.318843][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318846][10080:10082] CHIP:DMG: {
[1686812343.318849][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318852][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318855][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318859][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318861][10080:10082] CHIP:DMG: }
[1686812343.318866][10080:10082] CHIP:DMG:
[1686812343.318868][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318870][10080:10082] CHIP:DMG: {
[1686812343.318873][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318876][10080:10082] CHIP:DMG: },
[1686812343.318881][10080:10082] CHIP:DMG:
[1686812343.318883][10080:10082] CHIP:DMG: },
[1686812343.318890][10080:10082] CHIP:DMG:
[1686812343.318892][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318895][10080:10082] CHIP:DMG: {
[1686812343.318897][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318900][10080:10082] CHIP:DMG: {
[1686812343.318905][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318908][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318911][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318914][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318918][10080:10082] CHIP:DMG: }
[1686812343.318923][10080:10082] CHIP:DMG:
[1686812343.318926][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318928][10080:10082] CHIP:DMG: {
[1686812343.318931][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318934][10080:10082] CHIP:DMG: },
[1686812343.318938][10080:10082] CHIP:DMG:
[1686812343.318940][10080:10082] CHIP:DMG: },
[1686812343.318947][10080:10082] CHIP:DMG:
[1686812343.318950][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.318953][10080:10082] CHIP:DMG: {
[1686812343.318955][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.318958][10080:10082] CHIP:DMG: {
[1686812343.318961][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.318964][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.318968][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.318971][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.318974][10080:10082] CHIP:DMG: }
[1686812343.318978][10080:10082] CHIP:DMG:
[1686812343.318981][10080:10082] CHIP:DMG: StatusIB =
[1686812343.318984][10080:10082] CHIP:DMG: {
[1686812343.318987][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.318989][10080:10082] CHIP:DMG: },
[1686812343.318993][10080:10082] CHIP:DMG:
[1686812343.318995][10080:10082] CHIP:DMG: },
[1686812343.319001][10080:10082] CHIP:DMG:
[1686812343.319004][10080:10082] CHIP:DMG: AttributeStatusIB =
[1686812343.319007][10080:10082] CHIP:DMG: {
[1686812343.319010][10080:10082] CHIP:DMG: AttributePathIB =
[1686812343.319014][10080:10082] CHIP:DMG: {
[1686812343.319017][10080:10082] CHIP:DMG: Endpoint = 0x0,
[1686812343.319020][10080:10082] CHIP:DMG: Cluster = 0x3f,
[1686812343.319023][10080:10082] CHIP:DMG: Attribute = 0x0000_0000,
[1686812343.319026][10080:10082] CHIP:DMG: ListIndex = Null,
[1686812343.319028][10080:10082] CHIP:DMG: }
[1686812343.319032][10080:10082] CHIP:DMG:
[1686812343.319035][10080:10082] CHIP:DMG: StatusIB =
[1686812343.319040][10080:10082] CHIP:DMG: {
[1686812343.319043][10080:10082] CHIP:DMG: status = 0x00 (SUCCESS),
[1686812343.319046][10080:10082] CHIP:DMG: },
[1686812343.319049][10080:10082] CHIP:DMG:
[1686812343.319052][10080:10082] CHIP:DMG: },
[1686812343.319057][10080:10082] CHIP:DMG:
[1686812343.319059][10080:10082] CHIP:DMG: ],
[1686812343.319084][10080:10082] CHIP:DMG:
[1686812343.319086][10080:10082] CHIP:DMG: InteractionModelRevision = 1
[1686812343.319088][10080:10082] CHIP:DMG: }
disabled: true
- label:
"Step 1c: TH cleans up the groups by sending the RemoveAllGroups
command to the DUT on PIXIT.G.ENDPOINT"
verification: |
./chip-tool groups remove-all-groups 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1651224377.831704][2989:2994] CHIP:DMG: StatusIB =
[1651224377.831757][2989:2994] CHIP:DMG: {
[1651224377.831812][2989:2994] CHIP:DMG: status = 0x00 (SUCCESS),
[1651224377.831866][2989:2994] CHIP:DMG: },
disabled: true
- label:
"Step 1d: TH sends AddGroup command to DUT on PIXIT.G.ENDPOINT as
unicast with the following fields : GroupID as 0x0002 GroupName as Gp2"
PICS: G.S.C00.Rsp && G.S.C00.Tx
verification: |
./chip-tool groups add-group 0x0002 Gp2 1 0
Verify the AddGroupResponse with following field:
Status is SUCCESS
GroupID is 0x0002 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1653552285.195099][2464:2469] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000
[1653552285.197783][2464:2469] CHIP:TOO: AddGroupResponse: {
[1653552285.197849][2464:2469] CHIP:TOO: status: 0
[1653552285.197877][2464:2469] CHIP:TOO: groupId: 2
[1653552285.197933][2464:2469] CHIP:TOO: }
disabled: true
- label:
"Step 2a: TH reads GroupTable attribute from the GroupKeyManagement
cluster from DUT on EP0"
PICS: GRPKEY.S.A0001
verification: |
./chip-tool groupkeymanagement read group-table 1 0
Verify the GroupTable with the following entries
GroupID is 0x0002
If G.S.F00(GN) is true then GroupName is Gp2 , Otherwise empty on TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551108.507399][20730:20732] CHIP:DMG: }
[1674551108.507695][20730:20732] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1314349260
[1674551108.507745][20730:20732] CHIP:TOO: GroupTable: 1 entries
[1674551108.507824][20730:20732] CHIP:TOO: [1]: {
[1674551108.507857][20730:20732] CHIP:TOO: GroupId: 2
[1674551108.507878][20730:20732] CHIP:TOO: Endpoints: 1 entries
[1674551108.507901][20730:20732] CHIP:TOO: [1]: 0
[1674551108.507920][20730:20732] CHIP:TOO: GroupName: Gp2
[1674551108.507932][20730:20732] CHIP:TOO: FabricIndex: 1
[1674551108.507942][20730:20732] CHIP:TOO: }
disabled: true
- label:
"Step 3: TH sends AddGroup command to DUT on PIXIT.G.ENDPOINT as
unicast with the following fields : GroupID as 0x0003 GroupName as Gp3"
PICS: G.S.C00.Rsp && G.S.C00.Tx
verification: |
./chip-tool groups add-group 0x0003 Gp3 1 0
Verify the AddGroupResponse with following field:
Status is SUCCESS
GroupID is 0x0003 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551134.645686][20738:20740] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0000
[1674551134.645698][20738:20740] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000
[1674551134.645709][20738:20740] CHIP:TOO: AddGroupResponse: {
[1674551134.645714][20738:20740] CHIP:TOO: status: 0
[1674551134.645717][20738:20740] CHIP:TOO: groupID: 3
[1674551134.645719][20738:20740] CHIP:TOO: }
disabled: true
- label:
"Step 4a: TH reads GroupTable attribute from the GroupKeyManagement
cluster from DUT on EP0"
PICS: GRPKEY.S.A0001
verification: |
./chip-tool groupkeymanagement read group-table 1 0
Verify the GroupTable with following entries
GroupID as 0x0003
If G.S.F00(GN) is true then GroupName as Gp3, Otherwise empty on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551165.827036][20746:20748] CHIP:DMG: }
[1674551165.827146][20746:20748] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1314349260
[1674551165.827163][20746:20748] CHIP:TOO: GroupTable: 2 entries
[1674551165.827176][20746:20748] CHIP:TOO: [1]: {
[1674551165.827182][20746:20748] CHIP:TOO: GroupId: 2
[1674551165.827186][20746:20748] CHIP:TOO: Endpoints: 1 entries
[1674551165.827191][20746:20748] CHIP:TOO: [1]: 0
[1674551165.827194][20746:20748] CHIP:TOO: GroupName: Gp2
[1674551165.827197][20746:20748] CHIP:TOO: FabricIndex: 1
[1674551165.827200][20746:20748] CHIP:TOO: }
[1674551165.827205][20746:20748] CHIP:TOO: [2]: {
[1674551165.827208][20746:20748] CHIP:TOO: GroupId: 3
[1674551165.827211][20746:20748] CHIP:TOO: Endpoints: 1 entries
[1674551165.827214][20746:20748] CHIP:TOO: [1]: 0
[1674551165.827217][20746:20748] CHIP:TOO: GroupName: Gp3
[1674551165.827219][20746:20748] CHIP:TOO: FabricIndex: 1
[1674551165.827222][20746:20748] CHIP:TOO: }
disabled: true
- label:
"Step 5: TH sends GetGroupMembership command to DUT on
PIXIT.G.ENDPOINT with the following fields : GroupList as NULL"
PICS: G.S.C02.Rsp && G.S.C02.Tx
verification: |
./chip-tool groups get-group-membership [] 1 0
Verify the GetGroupMembershipResponse with following fields:
Capacity is in the range of 0 to 254 or null
GroupList is in the range of 0x0001 - 0xffff and contains a group ID's which all are associated with endpoint 0 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1653552493.052711][2501:2506] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0002
[1653552493.052792][2501:2506] CHIP:TOO: GetGroupMembershipResponse: {
[1653552493.052819][2501:2506] CHIP:TOO: capacity: null
[1653552493.052870][2501:2506] CHIP:TOO: groupList: 2 entries
[1653552493.052922][2501:2506] CHIP:TOO: [1]: 2
[1653552493.052950][2501:2506] CHIP:TOO: [2]: 3
[1653552493.052978][2501:2506] CHIP:TOO: }
disabled: true
- label:
"Step 6: TH sends GetGroupMembership command to DUT on
PIXIT.G.ENDPOINT with the following fields : GroupList as [0x0002]"
PICS: G.S.C02.Rsp && G.S.C02.Tx
verification: |
./chip-tool groups get-group-membership [2] 1 0
Verify the GetGroupMembershipResponse with following fields:
Capacity is in the range of 0 to 254 or null
GroupList contains one group as 0x0002 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1653294426.515523][3638:3643] CHIP:TOO: GetGroupMembershipResponse: {
[1653294426.515571][3638:3643] CHIP:TOO: capacity: null
[1653294426.515649][3638:3643] CHIP:TOO: groupList: 1 entries
[1653294426.515737][3638:3643] CHIP:TOO: [1]: 2
[1653294426.515916][3638:3643] CHIP:TOO: }
disabled: true
- label:
"Step 7: TH sends GetGroupMembership command to DUT on
PIXIT.G.ENDPOINT as unicast with the following fields : GroupList as
[0x0002, 0x0003]"
PICS: G.S.C02.Rsp && G.S.C02.Tx
verification: |
./chip-tool groups get-group-membership [2,3] 1 0
Verify the GetGroupMembershipResponse with following fields:
Capacity is in the range of 0 to 254 or null
GroupList contains two group id's (0x0002, 0x0003) on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1653294490.030740][3646:3651] CHIP:TOO: GetGroupMembershipResponse: {
[1653294490.030775][3646:3651] CHIP:TOO: capacity: null
[1653294490.030838][3646:3651] CHIP:TOO: groupList: 2 entries
[1653294490.030907][3646:3651] CHIP:TOO: [1]: 2
[1653294490.030943][3646:3651] CHIP:TOO: [2]: 3
[1653294490.030979][3646:3651] CHIP:TOO: }
disabled: true
- label:
"Step 8: TH sends RemoveAllGroups command to DUT on PIXIT.G.ENDPOINT
as unicast method"
PICS: G.S.C04.Rsp
verification: |
./chip-tool groups remove-all-groups 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1651224377.831704][2989:2994] CHIP:DMG: StatusIB =
[1651224377.831757][2989:2994] CHIP:DMG: {
[1651224377.831812][2989:2994] CHIP:DMG: status = 0x00 (SUCCESS),
[1651224377.831866][2989:2994] CHIP:DMG: },
disabled: true
- label:
"Step 9a: TH writes the GroupKeyMap attribute in the
GroupKeyManagement cluster of DUT on EP0 to binds GroupId(0x0006 to
0x0006 + maxgroups-1 ) with GroupKeySetID 1"
verification: |
./chip-tool groupkeymanagement write group-key-map '[{"groupId":6, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 7, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":8, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 9, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":10, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 11, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":12, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":13, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 14, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":15, "groupKeySetID": 1, "fabricIndex": 1},{"groupId": 16, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":17, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882354.197161][7723:7725] CHIP:DMG: WriteResponseMessage =
[1683882354.197166][7723:7725] CHIP:DMG: {
[1683882354.197168][7723:7725] CHIP:DMG: AttributeStatusIBs =
[1683882354.197176][7723:7725] CHIP:DMG: [
[1683882354.197180][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197188][7723:7725] CHIP:DMG: {
[1683882354.197193][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197198][7723:7725] CHIP:DMG: {
[1683882354.197203][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197208][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197213][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197217][7723:7725] CHIP:DMG: }
[1683882354.197224][7723:7725] CHIP:DMG:
[1683882354.197228][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197233][7723:7725] CHIP:DMG: {
[1683882354.197237][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197242][7723:7725] CHIP:DMG: },
[1683882354.197247][7723:7725] CHIP:DMG:
[1683882354.197250][7723:7725] CHIP:DMG: },
[1683882354.197259][7723:7725] CHIP:DMG:
[1683882354.197263][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197268][7723:7725] CHIP:DMG: {
[1683882354.197271][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197276][7723:7725] CHIP:DMG: {
[1683882354.197280][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197285][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197290][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197295][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197299][7723:7725] CHIP:DMG: }
[1683882354.197306][7723:7725] CHIP:DMG:
[1683882354.197310][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197315][7723:7725] CHIP:DMG: {
[1683882354.197319][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197324][7723:7725] CHIP:DMG: },
[1683882354.197328][7723:7725] CHIP:DMG:
[1683882354.197332][7723:7725] CHIP:DMG: },
[1683882354.197343][7723:7725] CHIP:DMG:
[1683882354.197347][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197351][7723:7725] CHIP:DMG: {
[1683882354.197353][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197356][7723:7725] CHIP:DMG: {
[1683882354.197358][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197361][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197364][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197366][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197368][7723:7725] CHIP:DMG: }
[1683882354.197372][7723:7725] CHIP:DMG:
[1683882354.197374][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197377][7723:7725] CHIP:DMG: {
[1683882354.197379][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197381][7723:7725] CHIP:DMG: },
[1683882354.197384][7723:7725] CHIP:DMG:
[1683882354.197385][7723:7725] CHIP:DMG: },
[1683882354.197391][7723:7725] CHIP:DMG:
[1683882354.197393][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197395][7723:7725] CHIP:DMG: {
[1683882354.197398][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197403][7723:7725] CHIP:DMG: {
[1683882354.197408][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197413][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197417][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197421][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197426][7723:7725] CHIP:DMG: }
[1683882354.197432][7723:7725] CHIP:DMG:
[1683882354.197437][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197441][7723:7725] CHIP:DMG: {
[1683882354.197445][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197450][7723:7725] CHIP:DMG: },
[1683882354.197454][7723:7725] CHIP:DMG:
[1683882354.197458][7723:7725] CHIP:DMG: },
[1683882354.197467][7723:7725] CHIP:DMG:
[1683882354.197471][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197475][7723:7725] CHIP:DMG: {
[1683882354.197479][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197483][7723:7725] CHIP:DMG: {
[1683882354.197488][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197493][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197497][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197502][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197506][7723:7725] CHIP:DMG: }
[1683882354.197512][7723:7725] CHIP:DMG:
[1683882354.197516][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197521][7723:7725] CHIP:DMG: {
[1683882354.197525][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197529][7723:7725] CHIP:DMG: },
[1683882354.197534][7723:7725] CHIP:DMG:
[1683882354.197538][7723:7725] CHIP:DMG: },
[1683882354.197547][7723:7725] CHIP:DMG:
[1683882354.197551][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197555][7723:7725] CHIP:DMG: {
[1683882354.197559][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197563][7723:7725] CHIP:DMG: {
[1683882354.197568][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197573][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197578][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197582][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197586][7723:7725] CHIP:DMG: }
[1683882354.197593][7723:7725] CHIP:DMG:
[1683882354.197597][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197602][7723:7725] CHIP:DMG: {
[1683882354.197606][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197610][7723:7725] CHIP:DMG: },
[1683882354.197615][7723:7725] CHIP:DMG:
[1683882354.197618][7723:7725] CHIP:DMG: },
[1683882354.197627][7723:7725] CHIP:DMG:
[1683882354.197631][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197635][7723:7725] CHIP:DMG: {
[1683882354.197640][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197644][7723:7725] CHIP:DMG: {
[1683882354.197649][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197653][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197658][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197663][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197667][7723:7725] CHIP:DMG: }
[1683882354.197673][7723:7725] CHIP:DMG:
[1683882354.197677][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197682][7723:7725] CHIP:DMG: {
[1683882354.197687][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197690][7723:7725] CHIP:DMG: },
[1683882354.197695][7723:7725] CHIP:DMG:
[1683882354.197699][7723:7725] CHIP:DMG: },
[1683882354.197708][7723:7725] CHIP:DMG:
[1683882354.197712][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197716][7723:7725] CHIP:DMG: {
[1683882354.197720][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197724][7723:7725] CHIP:DMG: {
[1683882354.197729][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197733][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197738][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197743][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197747][7723:7725] CHIP:DMG: }
[1683882354.197753][7723:7725] CHIP:DMG:
[1683882354.197757][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197762][7723:7725] CHIP:DMG: {
[1683882354.197767][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197771][7723:7725] CHIP:DMG: },
[1683882354.197776][7723:7725] CHIP:DMG:
[1683882354.197779][7723:7725] CHIP:DMG: },
[1683882354.197789][7723:7725] CHIP:DMG:
[1683882354.197792][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197797][7723:7725] CHIP:DMG: {
[1683882354.197800][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197805][7723:7725] CHIP:DMG: {
[1683882354.197809][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197814][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197819][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197824][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197828][7723:7725] CHIP:DMG: }
[1683882354.197835][7723:7725] CHIP:DMG:
[1683882354.197839][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197843][7723:7725] CHIP:DMG: {
[1683882354.197848][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197852][7723:7725] CHIP:DMG: },
[1683882354.197857][7723:7725] CHIP:DMG:
[1683882354.197861][7723:7725] CHIP:DMG: },
[1683882354.197870][7723:7725] CHIP:DMG:
[1683882354.197874][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197878][7723:7725] CHIP:DMG: {
[1683882354.197882][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197886][7723:7725] CHIP:DMG: {
[1683882354.197891][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197896][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197900][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197905][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197909][7723:7725] CHIP:DMG: }
[1683882354.197917][7723:7725] CHIP:DMG:
[1683882354.197921][7723:7725] CHIP:DMG: StatusIB =
[1683882354.197925][7723:7725] CHIP:DMG: {
[1683882354.197930][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.197934][7723:7725] CHIP:DMG: },
[1683882354.197939][7723:7725] CHIP:DMG:
[1683882354.197943][7723:7725] CHIP:DMG: },
[1683882354.197952][7723:7725] CHIP:DMG:
[1683882354.197956][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.197960][7723:7725] CHIP:DMG: {
[1683882354.197963][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.197968][7723:7725] CHIP:DMG: {
[1683882354.197972][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.197976][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.197981][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.197984][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.197989][7723:7725] CHIP:DMG: }
[1683882354.197995][7723:7725] CHIP:DMG:
[1683882354.197998][7723:7725] CHIP:DMG: StatusIB =
[1683882354.198002][7723:7725] CHIP:DMG: {
[1683882354.198007][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.198011][7723:7725] CHIP:DMG: },
[1683882354.198015][7723:7725] CHIP:DMG:
[1683882354.198019][7723:7725] CHIP:DMG: },
[1683882354.198028][7723:7725] CHIP:DMG:
[1683882354.198032][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.198036][7723:7725] CHIP:DMG: {
[1683882354.198040][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.198044][7723:7725] CHIP:DMG: {
[1683882354.198049][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.198053][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.198058][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.198063][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.198067][7723:7725] CHIP:DMG: }
[1683882354.198073][7723:7725] CHIP:DMG:
[1683882354.198077][7723:7725] CHIP:DMG: StatusIB =
[1683882354.198081][7723:7725] CHIP:DMG: {
[1683882354.198086][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.198090][7723:7725] CHIP:DMG: },
[1683882354.198094][7723:7725] CHIP:DMG:
[1683882354.198098][7723:7725] CHIP:DMG: },
[1683882354.198107][7723:7725] CHIP:DMG:
[1683882354.198111][7723:7725] CHIP:DMG: AttributeStatusIB =
[1683882354.198115][7723:7725] CHIP:DMG: {
[1683882354.198119][7723:7725] CHIP:DMG: AttributePathIB =
[1683882354.198123][7723:7725] CHIP:DMG: {
[1683882354.198128][7723:7725] CHIP:DMG: Endpoint = 0x0,
[1683882354.198132][7723:7725] CHIP:DMG: Cluster = 0x3f,
[1683882354.198137][7723:7725] CHIP:DMG: Attribute = 0x0000_0000,
[1683882354.198142][7723:7725] CHIP:DMG: ListIndex = Null,
[1683882354.198146][7723:7725] CHIP:DMG: }
[1683882354.198152][7723:7725] CHIP:DMG:
[1683882354.198156][7723:7725] CHIP:DMG: StatusIB =
[1683882354.198160][7723:7725] CHIP:DMG: {
[1683882354.198165][7723:7725] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882354.198169][7723:7725] CHIP:DMG: },
[1683882354.198174][7723:7725] CHIP:DMG:
[1683882354.198178][7723:7725] CHIP:DMG: },
[1683882354.198184][7723:7725] CHIP:DMG:
[1683882354.198187][7723:7725] CHIP:DMG: ],
[1683882354.198223][7723:7725] CHIP:DMG:
[1683882354.198227][7723:7725] CHIP:DMG: InteractionModelRevision = 1
[1683882354.198230][7723:7725] CHIP:DMG: }
disabled: true
- label:
"Step 9b: TH sends Identify command to DUT on PIXIT.I.ENDPOINT with
the IdentifyTime as (0x0078) 120 seconds"
PICS: I.S.C00.Rsp
verification: |
./chip-tool identify identify 0x0078 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1658306666.592846][3044:3049] CHIP:DMG: StatusIB =
[1658306666.592889][3044:3049] CHIP:DMG: {
[1658306666.592962][3044:3049] CHIP:DMG: status = 0x00 (SUCCESS),
[1658306666.593007][3044:3049] CHIP:DMG: },
disabled: true
- label: "Step 9c: TH reads immediately IdentifyTime attribute from DUT"
PICS: I.S.A0000
verification: |
./chip-tool identify read identify-time 1 0
Verify the identifyTime attribute value is equal to 0x0078(120) on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551847.513881][20976:20978] CHIP:DMG: }
[1674551847.514009][20976:20978] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 216654730
[1674551847.514042][20976:20978] CHIP:TOO: IdentifyTime: 120
disabled: true
- label:
"Step 10: TH sends AddGroupIfIdentifying command to DUT on
PIXIT.G.ENDPOINT as unicast method with the following fields: GroupID
as 0x0006 GroupName as Gp6"
PICS: G.S.C05.Rsp
verification: |
./chip-tool groups add-group-if-identifying 0x0006 Gp6 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1653552667.307794][2571:2576] CHIP:DMG: StatusIB =
[1653552667.307831][2571:2576] CHIP:DMG: {
[1653552667.307881][2571:2576] CHIP:DMG: status = 0x00 (SUCCESS),
[1653552667.307922][2571:2576] CHIP:DMG: },
disabled: true
- label:
"Step 11a: TH reads GroupTable attribute from the GroupKeyManagement
cluster of DUT on EP0"
PICS: GRPKEY.S.A0001
verification: |
./chip-tool groupkeymanagement read group-table 1 0
Verify the GroupTable with following entries:
GroupID as 0x0006
If G.S.F00(GN) is true then GroupName is Gp6, Otherwise empty on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551848.294776][20985:20987] CHIP:DMG: }
[1674551848.294875][20985:20987] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1314349287
[1674551848.294904][20985:20987] CHIP:TOO: GroupTable: 1 entries
[1674551848.294924][20985:20987] CHIP:TOO: [1]: {
[1674551848.294929][20985:20987] CHIP:TOO: GroupId: 6
[1674551848.294935][20985:20987] CHIP:TOO: Endpoints: 1 entries
[1674551848.294941][20985:20987] CHIP:TOO: [1]: 0
[1674551848.294945][20985:20987] CHIP:TOO: GroupName: Gp6
[1674551848.294948][20985:20987] CHIP:TOO: FabricIndex: 1
[1674551848.294951][20985:20987] CHIP:TOO: }
[1674551848.294982][20985:20987] CHIP:EM: <<< [E:163
disabled: true
- label:
"Step 12: TH sends AddGroupIfIdentifying command to DUT on
PIXIT.G.ENDPOINT as unicast method with the following fields: GroupID
as 0x0007 GroupName as Gp7"
PICS: G.S.C05.Rsp
verification: |
./chip-tool groups add-group-if-identifying 0x0007 Gp7 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1658306847.237724][3125:3130] CHIP:DMG: StatusIB =
[1658306847.237765][3125:3130] CHIP:DMG: {
[1658306847.237818][3125:3130] CHIP:DMG: status = 0x00 (SUCCESS),
[1658306847.237869][3125:3130] CHIP:DMG: },
disabled: true
- label:
"Step 13: TH reads GroupTable attribute from the GroupKeyManagement
cluster from DUT on EP0"
PICS: GRPKEY.S.A0001
verification: |
./chip-tool groupkeymanagement read group-table 1 0
Verify the GroupTable with following entries:
GroupID as 0x0007
If G.S.F00(GN) is true then GroupName as gp7, Otherwise 0 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551848.817117][20991:20993] CHIP:DMG: }
[1674551848.817230][20991:20993] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1314349287
[1674551848.817250][20991:20993] CHIP:TOO: GroupTable: 2 entries
[1674551848.817271][20991:20993] CHIP:TOO: [1]: {
[1674551848.817274][20991:20993] CHIP:TOO: GroupId: 6
[1674551848.817278][20991:20993] CHIP:TOO: Endpoints: 1 entries
[1674551848.817282][20991:20993] CHIP:TOO: [1]: 0
[1674551848.817286][20991:20993] CHIP:TOO: GroupName: Gp6
[1674551848.817289][20991:20993] CHIP:TOO: FabricIndex: 1
[1674551848.817292][20991:20993] CHIP:TOO: }
[1674551848.817297][20991:20993] CHIP:TOO: [2]: {
[1674551848.817300][20991:20993] CHIP:TOO: GroupId: 7
[1674551848.817303][20991:20993] CHIP:TOO: Endpoints: 1 entries
[1674551848.817306][20991:20993] CHIP:TOO: [1]: 0
[1674551848.817309][20991:20993] CHIP:TOO: GroupName: Gp7
[1674551848.817312][20991:20993] CHIP:TOO: FabricIndex: 1
[1674551848.817314][20991:20993] CHIP:TOO: }
disabled: true
- label:
"Step 15: TH sends AddGroupIfIdentifying command to DUT
PIXIT.G.ENDPOINT with (maxgroups - 2) groups, incrementing the GroupId
each time starting from 0x0008."
PICS: G.S.C05.Rsp
verification: |
./chip-tool groups add-group-if-identifying 0x0008 Gp8 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1653552667.307794][2571:2576] CHIP:DMG: StatusIB =
[1653552667.307831][2571:2576] CHIP:DMG: {
[1653552667.307881][2571:2576] CHIP:DMG: status = 0x00 (SUCCESS),
[1653552667.307922][2571:2576] CHIP:DMG: },
./chip-tool groups add-group-if-identifying 0x0009 Gp9 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551849.597991][21000:21002] CHIP:DMG: StatusIB =
[1674551849.597995][21000:21002] CHIP:DMG: {
[1674551849.597998][21000:21002] CHIP:DMG: status = 0x00 (SUCCESS),
[1674551849.598001][21000:21002] CHIP:DMG: },
./chip-tool groups add-group-if-identifying 0x000a Gp10 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882426.604685][7756:7758] CHIP:DMG: StatusIB =
[1683882426.604688][7756:7758] CHIP:DMG: {
[1683882426.604691][7756:7758] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882426.604701][7756:7758] CHIP:DMG: },
./chip-tool groups add-group-if-identifying 0x000b Gp11 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882432.529527][7760:7762] CHIP:DMG: StatusIB =
[1683882432.529532][7760:7762] CHIP:DMG: {
[1683882432.529535][7760:7762] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882432.529538][7760:7762] CHIP:DMG: },
[1683882432.529543][7760:7762] CHIP:DMG:
./chip-tool groups add-group-if-identifying 0x000c Gp12 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882437.464914][7763:7765] CHIP:DMG: StatusIB =
[1683882437.464927][7763:7765] CHIP:DMG: {
[1683882437.464940][7763:7765] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882437.464951][7763:7765] CHIP:DMG: },
./chip-tool groups add-group-if-identifying 0x000d Gp13 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882442.334908][7766:7768] CHIP:DMG: StatusIB =
[1683882442.334911][7766:7768] CHIP:DMG: {
[1683882442.334915][7766:7768] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882442.334918][7766:7768] CHIP:DMG: },
./chip-tool groups add-group-if-identifying 0x000e Gp14 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
1683882448.814358][7769:7771] CHIP:DMG:
[1683882448.814361][7769:7771] CHIP:DMG: StatusIB =
[1683882448.814367][7769:7771] CHIP:DMG: {
[1683882448.814371][7769:7771] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882448.814374][7769:7771] CHIP:DMG: },
./chip-tool groups add-group-if-identifying 0x000f Gp15 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882460.656727][7775:7777] CHIP:DMG: StatusIB =
[1683882460.656730][7775:7777] CHIP:DMG: {
[1683882460.656733][7775:7777] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882460.656737][7775:7777] CHIP:DMG: },
[1683882460.656740][7775:7777] CHIP:DMG:
./chip-tool groups add-group-if-identifying 0x0010 Gp16 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882470.921771][7779:7781] CHIP:DMG: StatusIB =
[1683882470.921775][7779:7781] CHIP:DMG: {
[1683882470.921779][7779:7781] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882470.921783][7779:7781] CHIP:DMG: },
[1683882470.921787][7779:7781] CHIP:DMG:
./chip-tool groups add-group-if-identifying 0x0011 Gp17 1 0
Verify the "status is SUCCESS" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1683882478.955105][7783:7785] CHIP:DMG: StatusIB =
[1683882478.955124][7783:7785] CHIP:DMG: {
[1683882478.955143][7783:7785] CHIP:DMG: status = 0x00 (SUCCESS),
[1683882478.955160][7783:7785] CHIP:DMG: },
disabled: true
- label:
"Step 16a: TH binds GroupId( 0x0006 + maxgroups to 0x0006 +
maxgroups+1) with GroupKeySetID 1"
verification: |
./chip-tool groupkeymanagement write group-key-map '[{"groupId":18, "groupKeySetID": 1, "fabricIndex": 1},{"groupId":19, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0
Verify DUT responds with SUCCESS status response on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1674551849.075921][20994:20996] CHIP:DMG: WriteResponseMessage =
[1674551849.075924][20994:20996] CHIP:DMG: {
[1674551849.075926][20994:20996] CHIP:DMG: AttributeStatusIBs =
[1674551849.075931][20994:20996] CHIP:DMG: [
[1674551849.075934][20994:20996] CHIP:DMG: AttributeStatusIB =
[1674551849.075937][20994:20996] CHIP:DMG: {
[1674551849.075940][20994:20996] CHIP:DMG: AttributePathIB =
[1674551849.075943][20994:20996] CHIP:DMG: {
[1674551849.075947][20994:20996] CHIP:DMG: Endpoint = 0x0,
[1674551849.075950][20994:20996] CHIP:DMG: Cluster = 0x3f,
[1674551849.075953][20994:20996] CHIP:DMG: Attribute = 0x0000_0000,
[1674551849.075956][20994:20996] CHIP:DMG: }
[1674551849.075961][20994:20996] CHIP:DMG:
[1674551849.075964][20994:20996] CHIP:DMG: StatusIB =
[1674551849.075967][20994:20996] CHIP:DMG: {
[1674551849.075971][20994:20996] CHIP:DMG: status = 0x00 (SUCCESS),
[1674551849.075974][20994:20996] CHIP:DMG: },
[1674551849.075977][20994:20996] CHIP:DMG:
[1674551849.075980][20994:20996] CHIP:DMG: },
[1674551849.075986][20994:20996] CHIP:DMG:
[1674551849.075989][20994:20996] CHIP:DMG: AttributeStatusIB =
[1674551849.075991][20994:20996] CHIP:DMG: {
[1674551849.075994][20994:20996] CHIP:DMG: AttributePathIB =
[1674551849.075997][20994:20996] CHIP:DMG: {
[1674551849.076000][20994:20996] CHIP:DMG: Endpoint = 0x0,
[1674551849.076003][20994:20996] CHIP:DMG: Cluster = 0x3f,
[1674551849.076006][20994:20996] CHIP:DMG: Attribute = 0x0000_0000,
[1674551849.076010][20994:20996] CHIP:DMG: ListIndex = Null,
[1674551849.076012][20994:20996] CHIP:DMG: }
[1674551849.076017][20994:20996] CHIP:DMG:
[1674551849.076020][20994:20996] CHIP:DMG: StatusIB =
[1674551849.076022][20994:20996] CHIP:DMG: {
[1674551849.076025][20994:20996] CHIP:DMG: status = 0x00 (SUCCESS),
[1674551849.076028][20994:20996] CHIP:DMG: },
[1674551849.076031][20994:20996] CHIP:DMG:
[1674551849.076034][20994:20996] CHIP:DMG: },
[1674551849.076040][20994:20996] CHIP:DMG:
[1674551849.076043][20994:20996] CHIP:DMG: AttributeStatusIB =
[1674551849.076046][20994:20996] CHIP:DMG: {
[1674551849.076048][20994:20996] CHIP:DMG: AttributePathIB =
[1674551849.076051][20994:20996] CHIP:DMG: {
[1674551849.076054][20994:20996] CHIP:DMG: Endpoint = 0x0,
[1674551849.076057][20994:20996] CHIP:DMG: Cluster = 0x3f,
[1674551849.076060][20994:20996] CHIP:DMG: Attribute = 0x0000_0000,
[1674551849.076063][20994:20996] CHIP:DMG: ListIndex = Null,
[1674551849.076066][20994:20996] CHIP:DMG: }
[1674551849.076071][20994:20996] CHIP:DMG:
[1674551849.076074][20994:20996] CHIP:DMG: StatusIB =
[1674551849.076076][20994:20996] CHIP:DMG: {
[1674551849.076080][20994:20996] CHIP:DMG: status = 0x00 (SUCCESS),
[1674551849.076082][20994:20996] CHIP:DMG: },
[1674551849.076085][20994:20996] CHIP:DMG:
[1674551849.076088][20994:20996] CHIP:DMG: },
[1674551849.076092][20994:20996] CHIP:DMG:
[1674551849.076094][20994:20996] CHIP:DMG: ],
[1674551849.076102][20994:20996] CHIP:DMG:
[1674551849.076105][20994:20996] CHIP:DMG: InteractionModelRevision = 1