-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathTest_TC_SC_6_1.yaml
436 lines (406 loc) · 28.2 KB
/
Test_TC_SC_6_1.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
# 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:
26.4.1. [TC-SC-6.1] Adding member to a group - DUT as Admin and TH as Group
Member [DUT-Client]
PICS:
- MCORE.ROLE.COMMISSIONER
- GRPKEY.C
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Note"
verification: |
Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command.
disabled: true
- label: "Precondition"
verification: |
Group Member is commissioned with Admin
DUT supports Groups Cluster
disabled: true
- label:
"Step 1a: TH should have the ACL entry with the AuthMode as Group by
DUT"
verification: |
./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]' 1 0
Verify the Write Request Message for the data sent in the above command on TH(Reference app)log:
[1683887175.961550][8333:8333] CHIP:DMG: WriteRequestMessage =
[1683887175.961564][8333:8333] CHIP:DMG: {
[1683887175.961574][8333:8333] CHIP:DMG: suppressResponse = false,
[1683887175.961586][8333:8333] CHIP:DMG: timedRequest = false,
[1683887175.961593][8333:8333] CHIP:DMG: AttributeDataIBs =
[1683887175.961610][8333:8333] CHIP:DMG: [
[1683887175.961619][8333:8333] CHIP:DMG: AttributeDataIB =
[1683887175.961631][8333:8333] CHIP:DMG: {
[1683887175.961641][8333:8333] CHIP:DMG: AttributePathIB =
[1683887175.961653][8333:8333] CHIP:DMG: {
[1683887175.961665][8333:8333] CHIP:DMG: Endpoint = 0x0,
[1683887175.961679][8333:8333] CHIP:DMG: Cluster = 0x1f,
[1683887175.961691][8333:8333] CHIP:DMG: Attribute = 0x0000_0000,
[1683887175.961702][8333:8333] CHIP:DMG: }
[1683887175.961716][8333:8333] CHIP:DMG:
[1683887175.961727][8333:8333] CHIP:DMG: Data = [
[1683887175.961738][8333:8333] CHIP:DMG:
[1683887175.961750][8333:8333] CHIP:DMG: ],
[1683887175.961760][8333:8333] CHIP:DMG: },
[1683887175.961786][8333:8333] CHIP:DMG:
[1683887175.961795][8333:8333] CHIP:DMG: AttributeDataIB =
[1683887175.961806][8333:8333] CHIP:DMG: {
[1683887175.961815][8333:8333] CHIP:DMG: AttributePathIB =
[1683887175.961826][8333:8333] CHIP:DMG: {
[1683887175.961837][8333:8333] CHIP:DMG: Endpoint = 0x0,
[1683887175.961849][8333:8333] CHIP:DMG: Cluster = 0x1f,
[1683887175.961860][8333:8333] CHIP:DMG: Attribute = 0x0000_0000,
[1683887175.961872][8333:8333] CHIP:DMG: ListIndex = Null,
[1683887175.961882][8333:8333] CHIP:DMG: }
[1683887175.961897][8333:8333] CHIP:DMG:
[1683887175.961906][8333:8333] CHIP:DMG: Data =
[1683887175.961917][8333:8333] CHIP:DMG: {
[1683887175.961931][8333:8333] CHIP:DMG: 0x1 = 5,
[1683887175.961943][8333:8333] CHIP:DMG: 0x2 = 2,
[1683887175.961954][8333:8333] CHIP:DMG: 0x3 = [
[1683887175.961968][8333:8333] CHIP:DMG: 112233,
[1683887175.961981][8333:8333] CHIP:DMG: ],
[1683887175.961994][8333:8333] CHIP:DMG: 0x4 = NULL
[1683887175.962005][8333:8333] CHIP:DMG: },
[1683887175.962014][8333:8333] CHIP:DMG: },
[1683887175.962044][8333:8333] CHIP:DMG:
[1683887175.962053][8333:8333] CHIP:DMG: AttributeDataIB =
[1683887175.962063][8333:8333] CHIP:DMG: {
[1683887175.962072][8333:8333] CHIP:DMG: AttributePathIB =
[1683887175.962083][8333:8333] CHIP:DMG: {
[1683887175.962094][8333:8333] CHIP:DMG: Endpoint = 0x0,
[1683887175.962106][8333:8333] CHIP:DMG: Cluster = 0x1f,
[1683887175.962118][8333:8333] CHIP:DMG: Attribute = 0x0000_0000,
[1683887175.962129][8333:8333] CHIP:DMG: ListIndex = Null,
[1683887175.962139][8333:8333] CHIP:DMG: }
[1683887175.962152][8333:8333] CHIP:DMG:
[1683887175.962162][8333:8333] CHIP:DMG: Data =
[1683887175.962173][8333:8333] CHIP:DMG: {
[1683887175.962184][8333:8333] CHIP:DMG: 0x1 = 4,
[1683887175.962196][8333:8333] CHIP:DMG: 0x2 = 3,
[1683887175.962207][8333:8333] CHIP:DMG: 0x3 = [
[1683887175.962220][8333:8333] CHIP:DMG: 1,
[1683887175.962232][8333:8333] CHIP:DMG: ],
[1683887175.962243][8333:8333] CHIP:DMG: 0x4 = NULL
[1683887175.962255][8333:8333] CHIP:DMG: },
[1683887175.962264][8333:8333] CHIP:DMG: },
[1683887175.962282][8333:8333] CHIP:DMG:
[1683887175.962291][8333:8333] CHIP:DMG: ],
[1683887175.962323][8333:8333] CHIP:DMG:
[1683887175.962333][8333:8333] CHIP:DMG: moreChunkedMessages = false,
[1683887175.962343][8333:8333] CHIP:DMG: InteractionModelRevision = 1
[1683887175.962352][8333:8333] CHIP:DMG: },
disabled: true
- label:
"Step 1b: DUT generates fabric-unique GroupID, GroupName, random key,
EpochKey0 and GroupKeySetID. Admin sets GroupKeySecurityPolicy =
TrustFirst (0) EpochStartTime0 = 1"
verification: |
Sample epoch key values that will be used in the forthcomming steps:
"epochKey0":"d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 1,"epochKey1":
"d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2":
"d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002
Sample Group Name: Grp1
GroupKeySetID: 42
GroupID = 1
disabled: true
- label:
"Step 2: DUT sends KeySetWrite command to GroupKeyManagement cluster
to TH on EP0"
PICS: GRPKEY.C.C00.Tx
verification: |
./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 42,
"groupKeySecurityPolicy": 0, "epochKey0":
"d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 1,"epochKey1":
"d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2":
"d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }' 1 0
Verify TH recieves KeySetWrite command on TH(Reference app)log:
[1651471040.120912][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:2398599 on exchange 35559r
[1651471040.120980][4012:4012] CHIP:EM: Handling via exchange: 35559r, Delegate: 0xaaaaca97a088
[1693548451.902266][9666:9666] CHIP:DMG: InvokeRequestMessage =
[1693548451.902273][9666:9666] CHIP:DMG: {
[1693548451.902278][9666:9666] CHIP:DMG: suppressResponse = false,
[1693548451.902286][9666:9666] CHIP:DMG: timedRequest = false,
[1693548451.902293][9666:9666] CHIP:DMG: InvokeRequests =
[1693548451.902308][9666:9666] CHIP:DMG: [
[1693548451.902314][9666:9666] CHIP:DMG: CommandDataIB =
[1693548451.902327][9666:9666] CHIP:DMG: {
[1693548451.902334][9666:9666] CHIP:DMG: CommandPathIB =
[1693548451.902342][9666:9666] CHIP:DMG: {
[1693548451.902349][9666:9666] CHIP:DMG: EndpointId = 0x0,
[1693548451.902357][9666:9666] CHIP:DMG: ClusterId = 0x3f,
[1693548451.902365][9666:9666] CHIP:DMG: CommandId = 0x0,
[1693548451.902371][9666:9666] CHIP:DMG: },
[1693548451.902380][9666:9666] CHIP:DMG:
[1693548451.902389][9666:9666] CHIP:DMG: CommandFields =
[1693548451.902397][9666:9666] CHIP:DMG: {
[1693548451.902405][9666:9666] CHIP:DMG: 0x0 =
[1693548451.902413][9666:9666] CHIP:DMG: {
[1693548451.902422][9666:9666] CHIP:DMG: 0x0 = 42,
[1693548451.902431][9666:9666] CHIP:DMG: 0x1 = 0,
[1693548451.902439][9666:9666] CHIP:DMG: 0x2 = [
[1693548451.902450][9666:9666] CHIP:DMG: 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
[1693548451.902460][9666:9666] CHIP:DMG: ] (16 bytes)
[1693548451.902471][9666:9666] CHIP:DMG: 0x3 = 1,
[1693548451.902479][9666:9666] CHIP:DMG: 0x4 = [
[1693548451.902491][9666:9666] CHIP:DMG: 0xd1, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
[1693548451.902500][9666:9666] CHIP:DMG: ] (16 bytes)
[1693548451.902509][9666:9666] CHIP:DMG: 0x5 = 2220001,
[1693548451.902517][9666:9666] CHIP:DMG: 0x6 = [
[1693548451.902527][9666:9666] CHIP:DMG: 0xd2, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
[1693548451.902536][9666:9666] CHIP:DMG: ] (16 bytes)
[1693548451.902544][9666:9666] CHIP:DMG: 0x7 = 2220002,
[1693548451.902553][9666:9666] CHIP:DMG: },
[1693548451.902560][9666:9666] CHIP:DMG: },
[1693548451.902567][9666:9666] CHIP:DMG: },
[1693548451.902581][9666:9666] CHIP:DMG:
[1693548451.902587][9666:9666] CHIP:DMG: ],
[1693548451.902599][9666:9666] CHIP:DMG:
[1693548451.902606][9666:9666] CHIP:DMG: InteractionModelRevision = 10
[1693548451.902613][9666:9666] CHIP:DMG: },
disabled: true
- label:
"Step 3: DUT binds GroupID with GroupKeySetID in the GroupKeyMap
attribute list on GroupKeyManagement cluster"
PICS: GRPKEY.C.A0000
verification: |
./chip-tool groupkeymanagement write group-key-map '[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]' 1 0
Verify TH recieves the binding of GroupKeySetID with the GroupID on TH(Reference app)log:
[1659350562.020669][5824:5824] CHIP:EM: Received message of type 0x6 with protocolId (0, 1) and MessageCounter:167021683 on exchange 31153r
[1659350562.020897][5824:5824] CHIP:EM: Handling via exchange: 31153r, Delegate: 0xaaaacb304f08
[1659350562.021093][5824:5824] CHIP:IM: Received Write request
[1659350562.021123][5824:5824] CHIP:DMG: IM WH moving to [Initialized]
[1659350562.021193][5824:5824] CHIP:DMG: WriteRequestMessage =
[1659350562.021220][5824:5824] CHIP:DMG: {
[1659350562.021244][5824:5824] CHIP:DMG: suppressResponse = false,
[1659350562.021286][5824:5824] CHIP:DMG: timedRequest = false,
[1659350562.021353][5824:5824] CHIP:DMG: AttributeDataIBs =
[1659350562.021391][5824:5824] CHIP:DMG: [
[1659350562.021417][5824:5824] CHIP:DMG: AttributeDataIB =
[1659350562.021446][5824:5824] CHIP:DMG: {
[1659350562.021474][5824:5824] CHIP:DMG: AttributePathIB =
[1659350562.021508][5824:5824] CHIP:DMG: {
[1659350562.021541][5824:5824] CHIP:DMG: Endpoint = 0x0,
[1659350562.021575][5824:5824] CHIP:DMG: Cluster = 0x3f,
[1659350562.021609][5824:5824] CHIP:DMG: Attribute = 0x0000_0000,
[1659350562.021639][5824:5824] CHIP:DMG: }
[1659350562.021671][5824:5824] CHIP:DMG:
[1659350562.021702][5824:5824] CHIP:DMG: Data = [
[1659350562.021733][5824:5824] CHIP:DMG:
[1659350562.021765][5824:5824] CHIP:DMG: ],
[1659350562.021795][5824:5824] CHIP:DMG: },
[1659350562.021832][5824:5824] CHIP:DMG:
[1659350562.021856][5824:5824] CHIP:DMG: AttributeDataIB =
[1659350562.021884][5824:5824] CHIP:DMG: {
[1659350562.021912][5824:5824] CHIP:DMG: AttributePathIB =
[1659350562.021944][5824:5824] CHIP:DMG: {
[1659350562.021976][5824:5824] CHIP:DMG: Endpoint = 0x0,
[1659350562.022006][5824:5824] CHIP:DMG: Cluster = 0x3f,
[1659350562.022040][5824:5824] CHIP:DMG: Attribute = 0x0000_0000,
[1659350562.022068][5824:5824] CHIP:DMG: ListIndex = Null,
[1659350562.022098][5824:5824] CHIP:DMG: }
[1659350562.022169][5824:5824] CHIP:DMG:
[1659350562.022199][5824:5824] CHIP:DMG: Data =
[1659350562.022230][5824:5824] CHIP:DMG: {
[1659350562.022259][5824:5824] CHIP:DMG: 0x1 = 1,
[1659350562.022293][5824:5824] CHIP:DMG: 0x2 = 42,
[1659350562.022322][5824:5824] CHIP:DMG: },
[1659350562.022350][5824:5824] CHIP:DMG: },
[1659350562.022383][5824:5824] CHIP:DMG:
[1659350562.022407][5824:5824] CHIP:DMG: ],
[1659350562.022440][5824:5824] CHIP:DMG:
[1659350562.022466][5824:5824] CHIP:DMG: moreChunkedMessages = false,
[1659350562.022494][5824:5824] CHIP:DMG: InteractionModelRevision = 1
[1659350562.022520][5824:5824] CHIP:DMG: },
[1659350562.022622][5824:5824] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=m
[1659350562.022661][5824:5824] CHIP:DMG: AccessControl: allowed
disabled: true
- label: "Step 4: DUT sends AddGroup Command to TH on EP0"
PICS: G.C.C00.Tx
verification: |
./chip-tool groups add-group 0x0001 grp1 1 0
Verify TH recieves AddGroup command on TH(Reference app)log:
[1651471107.658967][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:1630629 on exchange 50068r
[1651471107.659020][4012:4012] CHIP:EM: Handling via exchange: 50068r, Delegate: 0xaaaaca97a088
[1651471107.659108][4012:4012] CHIP:DMG: InvokeRequestMessage =
[1651471107.659146][4012:4012] CHIP:DMG: {
[1651471107.659180][4012:4012] CHIP:DMG: suppressResponse = false,
[1651471107.659220][4012:4012] CHIP:DMG: timedRequest = false,
[1651471107.659255][4012:4012] CHIP:DMG: InvokeRequests =
[1651471107.659301][4012:4012] CHIP:DMG: [
[1651471107.659336][4012:4012] CHIP:DMG: CommandDataIB =
[1651471107.659381][4012:4012] CHIP:DMG: {
[1651471107.659419][4012:4012] CHIP:DMG: CommandPathIB =
[1651471107.659465][4012:4012] CHIP:DMG: {
[1651471107.659511][4012:4012] CHIP:DMG: EndpointId = 0x0,
[1651471107.659560][4012:4012] CHIP:DMG: ClusterId = 0x4,
[1651471107.659612][4012:4012] CHIP:DMG: CommandId = 0x0,
[1651471107.659661][4012:4012] CHIP:DMG: },
[1651471107.659709][4012:4012] CHIP:DMG:
[1651471107.659750][4012:4012] CHIP:DMG: CommandData =
[1651471107.659793][4012:4012] CHIP:DMG: {
[1651471107.659844][4012:4012] CHIP:DMG: 0x0 = 1,
[1651471107.659900][4012:4012] CHIP:DMG: 0x1 = "grp1",
[1651471107.659952][4012:4012] CHIP:DMG: },
[1651471107.659994][4012:4012] CHIP:DMG: },
[1651471107.660041][4012:4012] CHIP:DMG:
[1651471107.660076][4012:4012] CHIP:DMG: ],
[1651471107.660121][4012:4012] CHIP:DMG:
[1651471107.660156][4012:4012] CHIP:DMG: InteractionModelRevision = 1
[1651471107.660190][4012:4012] CHIP:DMG: },
[1651471107.660278][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=m
[1651471107.660328][4012:4012] CHIP:DMG: AccessControl: allowed
disabled: true
- label:
"Step 5: DUT sends ViewGroup command with the GroupID and GroupName to
the Group cluster on the TH on EP0"
PICS: G.C.C01.Tx
verification: |
./chip-tool groups view-group 0x0001 1 0
Verify TH recieves ViewGroup command on TH(Reference app)log:
[1651471144.500809][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:14671135 on exchange 13105r
[1651471144.500886][4012:4012] CHIP:EM: Handling via exchange: 13105r, Delegate: 0xaaaaca97a088
[1651471144.501009][4012:4012] CHIP:DMG: InvokeRequestMessage =
[1651471144.501064][4012:4012] CHIP:DMG: {
[1651471144.501138][4012:4012] CHIP:DMG: suppressResponse = false,
[1651471144.501195][4012:4012] CHIP:DMG: timedRequest = false,
[1651471144.501246][4012:4012] CHIP:DMG: InvokeRequests =
[1651471144.501328][4012:4012] CHIP:DMG: [
[1651471144.501380][4012:4012] CHIP:DMG: CommandDataIB =
[1651471144.501464][4012:4012] CHIP:DMG: {
[1651471144.501524][4012:4012] CHIP:DMG: CommandPathIB =
[1651471144.501641][4012:4012] CHIP:DMG: {
[1651471144.501710][4012:4012] CHIP:DMG: EndpointId = 0x0,
[1651471144.501798][4012:4012] CHIP:DMG: ClusterId = 0x4,
[1651471144.501868][4012:4012] CHIP:DMG: CommandId = 0x1,
[1651471144.501957][4012:4012] CHIP:DMG: },
[1651471144.502041][4012:4012] CHIP:DMG:
[1651471144.502080][4012:4012] CHIP:DMG: CommandData =
[1651471144.502131][4012:4012] CHIP:DMG: {
[1651471144.502186][4012:4012] CHIP:DMG: 0x0 = 1,
[1651471144.502230][4012:4012] CHIP:DMG: },
[1651471144.502279][4012:4012] CHIP:DMG: },
[1651471144.502321][4012:4012] CHIP:DMG:
[1651471144.502364][4012:4012] CHIP:DMG: ],
[1651471144.502404][4012:4012] CHIP:DMG:
[1651471144.502449][4012:4012] CHIP:DMG: InteractionModelRevision = 1
[1651471144.502481][4012:4012] CHIP:DMG: },
[1651471144.502570][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=o
[1651471144.502628][4012:4012] CHIP:DMG: AccessControl: allowed
disabled: true
- label: "Step 6: DUT sends KeySetRead Command to TH"
PICS: GRPKEY.C.C01.Tx
verification: |
./chip-tool groupkeymanagement key-set-read 42 1 0
Verify TH recieves KeySetRead command on TH(Reference app)log:
[1651471175.521361][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:1040181 on exchange 26813r
[1651471175.521414][4012:4012] CHIP:EM: Handling via exchange: 26813r, Delegate: 0xaaaaca97a088
[1651471175.521500][4012:4012] CHIP:DMG: InvokeRequestMessage =
[1651471175.521527][4012:4012] CHIP:DMG: {
[1651471175.521614][4012:4012] CHIP:DMG: suppressResponse = false,
[1651471175.521643][4012:4012] CHIP:DMG: timedRequest = false,
[1651471175.521667][4012:4012] CHIP:DMG: InvokeRequests =
[1651471175.521709][4012:4012] CHIP:DMG: [
[1651471175.521734][4012:4012] CHIP:DMG: CommandDataIB =
[1651471175.521771][4012:4012] CHIP:DMG: {
[1651471175.521794][4012:4012] CHIP:DMG: CommandPathIB =
[1651471175.521838][4012:4012] CHIP:DMG: {
[1651471175.521878][4012:4012] CHIP:DMG: EndpointId = 0x0,
[1651471175.521909][4012:4012] CHIP:DMG: ClusterId = 0x3f,
[1651471175.521949][4012:4012] CHIP:DMG: CommandId = 0x1,
[1651471175.521978][4012:4012] CHIP:DMG: },
[1651471175.522020][4012:4012] CHIP:DMG:
[1651471175.522047][4012:4012] CHIP:DMG: CommandData =
[1651471175.522084][4012:4012] CHIP:DMG: {
[1651471175.522122][4012:4012] CHIP:DMG: 0x0 = 42,
[1651471175.522153][4012:4012] CHIP:DMG: },
[1651471175.522189][4012:4012] CHIP:DMG: },
[1651471175.522220][4012:4012] CHIP:DMG:
[1651471175.522254][4012:4012] CHIP:DMG: ],
[1651471175.522285][4012:4012] CHIP:DMG:
[1651471175.522319][4012:4012] CHIP:DMG: InteractionModelRevision = 1
[1651471175.522342][4012:4012] CHIP:DMG: },
[1651471175.522418][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=a
[1651471175.522467][4012:4012] CHIP:DMG: AccessControl: allowed
disabled: true
- label:
"Step 7: DUT reads GroupKeyMap Attribute from the GroupKeyManagement
cluster from TH"
PICS: GRPKEY.C.A0000
verification: |
./chip-tool groupkeymanagement read group-key-map 1 0
Verify TH recieves GroupKeyMap command on TH(Reference app)log:
[1651471203.692194][4012:4012] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:11804966 on exchange 25369r
[1651471203.692262][4012:4012] CHIP:EM: Handling via exchange: 25369r, Delegate: 0xaaaaca97a088
[1651471203.692333][4012:4012] CHIP:IM: Received Read request
[1651471203.692411][4012:4012] CHIP:DMG: ReadRequestMessage =
[1651471203.692457][4012:4012] CHIP:DMG: {
[1651471203.692519][4012:4012] CHIP:DMG: AttributePathIBs =
[1651471203.692568][4012:4012] CHIP:DMG: [
[1651471203.692629][4012:4012] CHIP:DMG: AttributePathIB =
[1651471203.692675][4012:4012] CHIP:DMG: {
[1651471203.692750][4012:4012] CHIP:DMG: Endpoint = 0x0,
[1651471203.692809][4012:4012] CHIP:DMG: Cluster = 0x3f,
[1651471203.692884][4012:4012] CHIP:DMG: Attribute = 0x0000_0000,
[1651471203.692952][4012:4012] CHIP:DMG: }
[1651471203.693008][4012:4012] CHIP:DMG:
[1651471203.693073][4012:4012] CHIP:DMG: ],
[1651471203.693124][4012:4012] CHIP:DMG:
[1651471203.693190][4012:4012] CHIP:DMG: isFabricFiltered = true,
[1651471203.693236][4012:4012] CHIP:DMG: InteractionModelRevision = 1
[1651471203.693296][4012:4012] CHIP:DMG: },
[1651471203.693428][4012:4012] CHIP:DMG: IM RH moving to [GeneratingReports]
[1651471203.693628][4012:4012] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0
[1651471203.693679][4012:4012] CHIP:DMG: <RE:Run> Cluster 3f, Attribute 0 is dirty
[1651471203.693736][4012:4012] CHIP:DMG: Reading attribute: Cluster=0x0000_003F Endpoint=0 AttributeId=0x0000_0000 (expanded=0)
[1651471203.693786][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=v
[1651471203.693841][4012:4012] CHIP:DMG: AccessControl: allowed
disabled: true
- label:
"Step 8: DUT reads GroupTable attribute from GroupKeyManagement
cluster on TH"
PICS: GRPKEY.C.A0001
verification: |
./chip-tool groupkeymanagement read group-table 1 0
Verify TH recieves GroupTable command on TH(Reference app)log:
[1651471240.121662][4012:4012] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:3204235 on exchange 21658r
[1651471240.121724][4012:4012] CHIP:EM: Handling via exchange: 21658r, Delegate: 0xaaaaca97a088
[1651471240.121790][4012:4012] CHIP:IM: Received Read request
[1651471240.121861][4012:4012] CHIP:DMG: ReadRequestMessage =
[1651471240.121903][4012:4012] CHIP:DMG: {
[1651471240.121938][4012:4012] CHIP:DMG: AttributePathIBs =
[1651471240.121981][4012:4012] CHIP:DMG: [
[1651471240.122021][4012:4012] CHIP:DMG: AttributePathIB =
[1651471240.122071][4012:4012] CHIP:DMG: {
[1651471240.122119][4012:4012] CHIP:DMG: Endpoint = 0x0,
[1651471240.122170][4012:4012] CHIP:DMG: Cluster = 0x3f,
[1651471240.122226][4012:4012] CHIP:DMG: Attribute = 0x0000_0001,
[1651471240.122273][4012:4012] CHIP:DMG: }
[1651471240.122322][4012:4012] CHIP:DMG:
[1651471240.122365][4012:4012] CHIP:DMG: ],
[1651471240.122411][4012:4012] CHIP:DMG:
[1651471240.122453][4012:4012] CHIP:DMG: isFabricFiltered = true,
[1651471240.122493][4012:4012] CHIP:DMG: InteractionModelRevision = 1
[1651471240.122531][4012:4012] CHIP:DMG: },
[1651471240.122633][4012:4012] CHIP:DMG: IM RH moving to [GeneratingReports]
[1651471240.122764][4012:4012] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0
[1651471240.122809][4012:4012] CHIP:DMG: <RE:Run> Cluster 3f, Attribute 1 is dirty
[1651471240.122842][4012:4012] CHIP:DMG: Reading attribute: Cluster=0x0000_003F Endpoint=0 AttributeId=0x0000_0001 (expanded=0)
[1651471240.122888][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=v
[1651471240.122930][4012:4012] CHIP:DMG: AccessControl: allowed
disabled: true