@@ -309,48 +309,19 @@ tests:
309
309
to G1, the SceneID field set to 0x01, the TransitionTime field set to
310
310
1000 (1s) and a set of extension fields appropriate to AC1."
311
311
verification : |
312
- ./chip-tool scenes add-scene GroupID SceneID TransitionTime "SceneName" '[{"clusterId": value, "attributeValueList":[{"attributeId": value, "attributeValue": value}]}' nodeId endpointId
312
+ ./chip-tool scenesmanagement add-scene GroupID SceneID TransitionTime "SceneName" '[{"clusterId": value, "attributeValueList":[{"attributeId": value, "attributeValue": value}]}' nodeId endpointId
313
313
314
314
Note: The number of ExtensionFieldSets, the value of clusterId of each ExtensionFieldSet, the number of attributes in attributeValueList and their values varies for each application
315
315
316
316
Verify the "status is success" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
317
- [1670970505.887060][5742:5744] CHIP:DMG: InvokeResponseMessage =
318
- [1670970505.887118][5742:5744] CHIP:DMG: {
319
- [1670970505.887172][5742:5744] CHIP:DMG: suppressResponse = false,
320
- [1670970505.887231][5742:5744] CHIP:DMG: InvokeResponseIBs =
321
- [1670970505.887307][5742:5744] CHIP:DMG: [
322
- [1670970505.887366][5742:5744] CHIP:DMG: InvokeResponseIB =
323
- [1670970505.887444][5742:5744] CHIP:DMG: {
324
- [1670970505.887507][5742:5744] CHIP:DMG: CommandDataIB =
325
- [1670970505.887576][5742:5744] CHIP:DMG: {
326
- [1670970505.887713][5742:5744] CHIP:DMG: CommandPathIB =
327
- [1670970505.887804][5742:5744] CHIP:DMG: {
328
- [1670970505.887940][5742:5744] CHIP:DMG: EndpointId = 0x1,
329
- [1670970505.888093][5742:5744] CHIP:DMG: ClusterId = 0x5,
330
- [1670970505.888242][5742:5744] CHIP:DMG: CommandId = 0x0,
331
- [1670970505.888385][5742:5744] CHIP:DMG: },
332
- [1670970505.888692][5742:5744] CHIP:DMG:
333
- [1670970505.888769][5742:5744] CHIP:DMG: CommandFields =
334
- [1670970505.888852][5742:5744] CHIP:DMG: {
335
- [1670970505.889030][5742:5744] CHIP:DMG: 0x0 = 0,
336
- [1670970505.889183][5742:5744] CHIP:DMG: 0x1 = 1,
337
- [1670970505.889406][5742:5744] CHIP:DMG: 0x2 = 1,
338
- [1670970505.889515][5742:5744] CHIP:DMG: },
339
- [1670970505.889603][5742:5744] CHIP:DMG: },
340
- [1670970505.889684][5742:5744] CHIP:DMG:
341
- [1670970505.889745][5742:5744] CHIP:DMG: },
342
- [1670970505.889821][5742:5744] CHIP:DMG:
343
- [1670970505.889878][5742:5744] CHIP:DMG: ],
344
- [1670970505.889953][5742:5744] CHIP:DMG:
345
- [1670970505.890009][5742:5744] CHIP:DMG: InteractionModelRevision = 1
346
- [1670970505.890066][5742:5744] CHIP:DMG: },
347
- [1670970505.890212][5742:5744] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0005 Command=0x0000_0000
348
- [1670970505.890328][5742:5744] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0005 Command 0x0000_0000
349
- [1670970505.890458][5742:5744] CHIP:TOO: AddSceneResponse: {
350
- [1670970505.890551][5742:5744] CHIP:TOO: status: 0
351
- [1670970505.890608][5742:5744] CHIP:TOO: groupId: 257
352
- [1670970505.890717][5742:5744] CHIP:TOO: sceneId: 1
353
- [1670970505.890774][5742:5744] CHIP:TOO: }
317
+ [1705680175.863785][5823:5825] CHIP:DMG: },
318
+ [1705680175.863851][5823:5825] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
319
+ [1705680175.863880][5823:5825] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
320
+ [1705680175.863931][5823:5825] CHIP:TOO: AddSceneResponse: {
321
+ [1705680175.863956][5823:5825] CHIP:TOO: status: 0
322
+ [1705680175.863967][5823:5825] CHIP:TOO: groupID: 257
323
+ [1705680175.863977][5823:5825] CHIP:TOO: sceneID: 1
324
+ [1705680175.863986][5823:5825] CHIP:TOO: }
354
325
cluster : " LogCommands"
355
326
command : " UserPrompt"
356
327
PICS : S.S.C00.Rsp && PICS_SKIP_SAMPLE_APP
@@ -405,15 +376,50 @@ tests:
405
376
set to G1 and the SceneID field set to 0x01."
406
377
PICS : S.S.C01.Rsp && PICS_SKIP_SAMPLE_APP
407
378
verification : |
408
- ./chip-tool scenes view-scene GroupId SceneId Node-Id EndpointId
379
+ ./chip-tool scenesmanagement view-scene GroupId SceneId Node-Id EndpointId
409
380
410
381
Note: The number of ExtensionFieldSets, the value of clusterId of each ExtensionFieldSet, the number of attributes in attributeValueList and their values varies for each application
411
382
412
- Verify that the extension fields in the log match the ones expected and that
413
- Status = 0x00
414
- GroupID = G1
415
- SceneID = 0x01
416
- TransitionTime = 0x0001
383
+ Verify that the extension fields in the log match the ones expected in the following log:
384
+ [1705680224.968551][5827:5829] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
385
+ [1705680224.968559][5827:5829] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
386
+ CHIP:TOO: ViewSceneResponse: {
387
+ CHIP:TOO: status: 0
388
+ CHIP:TOO: groupID: 1
389
+ CHIP:TOO: sceneID: 1
390
+ CHIP:TOO: transitionTime: 1000
391
+ CHIP:TOO: sceneName:
392
+ CHIP:TOO: extensionFieldSets: 3 entries
393
+ CHIP:TOO: [1]: {
394
+ CHIP:TOO: ClusterID: XX
395
+ CHIP:TOO: AttributeValueList: X entries
396
+ CHIP:TOO: [1]: {
397
+ CHIP:TOO: AttributeID: XX
398
+ CHIP:TOO: AttributeValue:XX
399
+ CHIP:TOO: }
400
+ CHIP:TOO: }
401
+ CHIP:TOO: [2]: {
402
+ CHIP:TOO: ClusterID: XX
403
+ CHIP:TOO: AttributeValueList: X entries
404
+ CHIP:TOO: [1]: {
405
+ CHIP:TOO: AttributeID: XX
406
+ CHIP:TOO: AttributeValue: XX
407
+ CHIP:TOO: }
408
+ CHIP:TOO: }
409
+ CHIP:TOO: [3]: {
410
+ CHIP:TOO: ClusterID: XX
411
+ CHIP:TOO: AttributeValueList: XX entries
412
+ CHIP:TOO: [X]: {
413
+ CHIP:TOO: AttributeID: XX
414
+ CHIP:TOO: AttributeValue: XX
415
+ CHIP:TOO: }
416
+ ...
417
+ CHIP:TOO: [X]: {
418
+ CHIP:TOO: AttributeID: XX
419
+ CHIP:TOO: AttributeValue: XX
420
+ CHIP:TOO: }
421
+ CHIP:TOO: }
422
+ CHIP:TOO: }
417
423
cluster : " LogCommands"
418
424
command : " UserPrompt"
419
425
arguments :
@@ -449,7 +455,7 @@ tests:
449
455
450
456
- label :
451
457
" Step 5a: TH configures AC2 on DUT for all implemented application
452
- clusters supporting scenes ."
458
+ clusters supporting scenesmanagement ."
453
459
cluster : " Level Control"
454
460
PICS : PICS_SDK_CI_ONLY
455
461
command : " MoveToLevelWithOnOff"
@@ -466,7 +472,7 @@ tests:
466
472
467
473
- label :
468
474
" Step 5a: TH configures AC2 on DUT for all implemented application
469
- clusters supporting scenes ."
475
+ clusters supporting scenesmanagement ."
470
476
verification : |
471
477
Is DUT configured with AC2?
472
478
cluster : " LogCommands"
@@ -563,41 +569,8 @@ tests:
563
569
field set to G1, the SceneID field set to 0x03, the TransitionTime
564
570
field set to G1 and a set of extension fields appropriate to AC1."
565
571
verification : |
566
- ./chip-tool scenes add-scene GroupID SceneID TransitionTime "SceneName" '[{"clusterId": value, "attributeValueList":[{"attributeId": value, "attributeValue": value}]}' groupID endpointId
567
-
568
- Note: The number of ExtensionFieldSets, the value of clusterId of each ExtensionFieldSet, the number of attributes in attributeValueList and their values varies for each application
569
-
570
- Verify the "status is success" on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
571
- [1670970505.887060][5742:5744] CHIP:DMG: InvokeResponseMessage =
572
- [1670970505.887118][5742:5744] CHIP:DMG: {
573
- [1670970505.887172][5742:5744] CHIP:DMG: suppressResponse = false,
574
- [1670970505.887231][5742:5744] CHIP:DMG: InvokeResponseIBs =
575
- [1670970505.887307][5742:5744] CHIP:DMG: [
576
- [1670970505.887366][5742:5744] CHIP:DMG: InvokeResponseIB =
577
- [1670970505.887444][5742:5744] CHIP:DMG: {
578
- [1670970505.887507][5742:5744] CHIP:DMG: CommandDataIB =
579
- [1670970505.887576][5742:5744] CHIP:DMG: {
580
- [1670970505.887713][5742:5744] CHIP:DMG: CommandPathIB =
581
- [1670970505.887804][5742:5744] CHIP:DMG: {
582
- [1670970505.887940][5742:5744] CHIP:DMG: EndpointId = 0x1,
583
- [1670970505.888093][5742:5744] CHIP:DMG: ClusterId = 0x5,
584
- [1670970505.888242][5742:5744] CHIP:DMG: CommandId = 0x0,
585
- [1670970505.888385][5742:5744] CHIP:DMG: },
586
- [1670970505.888692][5742:5744] CHIP:DMG:
587
- [1670970505.888769][5742:5744] CHIP:DMG: CommandFields =
588
- [1670970505.888852][5742:5744] CHIP:DMG: {
589
- [1670970505.889030][5742:5744] CHIP:DMG: 0x0 = 0,
590
- [1670970505.889183][5742:5744] CHIP:DMG: 0x1 = 1,
591
- [1670970505.889406][5742:5744] CHIP:DMG: 0x2 = 1,
592
- [1670970505.889515][5742:5744] CHIP:DMG: },
593
- [1670970505.889603][5742:5744] CHIP:DMG: },
594
- [1670970505.889684][5742:5744] CHIP:DMG:
595
- [1670970505.889745][5742:5744] CHIP:DMG: },
596
- [1670970505.889821][5742:5744] CHIP:DMG:
597
- [1670970505.889878][5742:5744] CHIP:DMG: ],
598
- [1670970505.889953][5742:5744] CHIP:DMG:
599
- [1670970505.890009][5742:5744] CHIP:DMG: InteractionModelRevision = 1
600
- [1670970505.890066][5742:5744] CHIP:DMG: },
572
+ ./chip-tool scenesmanagement add-scene 0x0101 0x03 1 "scene name" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4002", "attributeValue": "0x01"}]}]' 0xffffffffffff0101 1
573
+ Note: As this is a multicast command, no log is expected.
601
574
cluster : " LogCommands"
602
575
command : " UserPrompt"
603
576
PICS : S.S.C00.Rsp && PICS_SKIP_SAMPLE_APP
@@ -651,15 +624,30 @@ tests:
651
624
set to G1 and the SceneID field set to 0x03."
652
625
PICS : S.S.C01.Rsp && PICS_SKIP_SAMPLE_APP
653
626
verification : |
654
- ./chip-tool scenes view-scene GroupId SceneId Node-Id EndpointId
627
+ ./chip-tool scenesmanagement view-scene GroupId SceneId Node-Id EndpointId
655
628
656
629
Note: The number of ExtensionFieldSets, the value of clusterId of each ExtensionFieldSet, the number of attributes in attributeValueList and their values varies for each application
657
630
658
- Verify that the extension fields in the log match the ones expected and that
659
- Status = 0x00
660
- GroupID = G1
661
- SceneID = 0x03
662
- TransitionTime = 0x03E8
631
+ Verify that the extension fields in the log match the ones expected and that the log output is similar to the following:
632
+ [1707285444.028460][13682:13684] CHIP:DMG: },
633
+ [1707285444.028553][13682:13684] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
634
+ [1707285444.028579][13682:13684] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
635
+ [1707285444.028670][13682:13684] CHIP:TOO: ViewSceneResponse: {
636
+ [1707285444.028685][13682:13684] CHIP:TOO: status: 0
637
+ [1707285444.028696][13682:13684] CHIP:TOO: groupID: 257
638
+ [1707285444.028706][13682:13684] CHIP:TOO: sceneID: 3
639
+ [1707285444.028717][13682:13684] CHIP:TOO: transitionTime: 1
640
+ [1707285444.028728][13682:13684] CHIP:TOO: sceneName: scene name
641
+ [1707285444.028766][13682:13684] CHIP:TOO: extensionFieldSets: XX entries
642
+ [1707285444.028814][13682:13684] CHIP:TOO: [XX]: {
643
+ [1707285444.028828][13682:13684] CHIP:TOO: ClusterID: XX
644
+ [1707285444.028853][13682:13684] CHIP:TOO: AttributeValueList: XX entries
645
+ [1707285444.028882][13682:13684] CHIP:TOO: [XX]: {
646
+ [1707285444.028896][13682:13684] CHIP:TOO: AttributeID: XX
647
+ [1707285444.028913][13682:13684] CHIP:TOO: AttributeValue: XX
648
+ [1707285444.028925][13682:13684] CHIP:TOO: }
649
+ [1707285444.028937][13682:13684] CHIP:TOO: }
650
+ [1707285444.028950][13682:13684] CHIP:TOO: }
663
651
cluster : " LogCommands"
664
652
command : " UserPrompt"
665
653
arguments :
@@ -676,7 +664,7 @@ tests:
676
664
- label :
677
665
" Step 6c: TH sends a ViewScene command to group G1 with the GroupID
678
666
field set to G1 and the SceneID field set to 0x03."
679
- PICS : S.S.C01.Rsp && PICS_SDK_CI_ONLY
667
+ PICS : S.S.C01.Rsp
680
668
command : " ViewScene"
681
669
groupId : G1
682
670
arguments :
@@ -711,7 +699,7 @@ tests:
711
699
- label :
712
700
" Step 6e: TH sends a ViewScene command to DUT with the GroupID field
713
701
set to G1 and the SceneID field set to 0x03."
714
- PICS : S.S.C01.Rsp && PICS_SDK_CI_ONLY
702
+ PICS : S.S.C01.Rsp
715
703
command : " ViewScene"
716
704
arguments :
717
705
values :
0 commit comments