@@ -239,7 +239,8 @@ tests:
239
239
- label :
240
240
" Step 2: TH sends a AddScene command to DUT with the GroupID field set
241
241
to G1, the SceneID field set to 0x01, the TransitionTime field set to
242
- 1000 (1s) and a set of extension fields appropriate to AC1."
242
+ 1,000(1s) and a set of extension fields appropriate to produce a
243
+ device state that will be referred as AC1 in further steps."
243
244
PICS : S.S.C00.Rsp && PICS_SDK_CI_ONLY
244
245
command : " AddScene"
245
246
arguments :
@@ -278,9 +279,10 @@ tests:
278
279
- label :
279
280
" Step 2: TH sends a AddScene command to DUT with the GroupID field set
280
281
to G1, the SceneID field set to 0x01, the TransitionTime field set to
281
- 1000 (1s) and a set of extension fields appropriate to AC1."
282
+ 1,000(1s) and a set of extension fields appropriate to produce a
283
+ device state that will be referred as AC1 in further steps."
282
284
verification : |
283
- ./chip-tool scenesmanagement add-scene 0x0101 0x01 1000 "scene name" '[{"clusterID": "0x0006", "attributeValueList":[{"attributeID": "0x0000", "ValueUnsigned8": "0x01"}, ]}, {"clusterID": " 0x0008", "attributeValueList":[{"attributeID": "0x0000", "ValueUnsigned8 ": "0x64"}, ]}]' 1 1
285
+ ./chip-tool scenesmanagement add-scene 0x0101 0x01 1000 "scene name" '[{"clusterID": "0x0008", "attributeValueList":[{"attributeID": "0x0000", "valueUnsigned8 ": "0x64"}, ]}]' 1 1
284
286
285
287
Verify DUT sends a AddSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 257 and the SceneID field set to 0x01 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
286
288
@@ -350,35 +352,24 @@ tests:
350
352
351
353
Verify DUT sends a ViewSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 1000 and a set of extension fields appropriate to AC1 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
352
354
353
-
354
- NOTE: The values below are expected to match the values from the specific AC tested
355
-
356
- [1708071897.294470][7731:7733] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
357
- [1708071897.294486][7731:7733] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
358
- [1708071897.294520][7731:7733] CHIP:TOO: ViewSceneResponse: {
359
- [1708071897.294527][7731:7733] CHIP:TOO: status: 0
360
- [1708071897.294530][7731:7733] CHIP:TOO: groupID: 257
361
- [1708071897.294533][7731:7733] CHIP:TOO: sceneID: 1
362
- [1708071897.294536][7731:7733] CHIP:TOO: transitionTime: 1000
363
- [1708071897.294540][7731:7733] CHIP:TOO: sceneName: scene name
364
- [1708071897.294554][7731:7733] CHIP:TOO: extensionFieldSets: 2 entries
365
- [1708071897.294569][7731:7733] CHIP:TOO: [1]: {
366
- [1708071897.294574][7731:7733] CHIP:TOO: ClusterID: 6
367
- [1708071897.294580][7731:7733] CHIP:TOO: AttributeValueList: 1 entries
368
- [1708071897.294589][7731:7733] CHIP:TOO: [1]: {
369
- [1708071897.294593][7731:7733] CHIP:TOO: AttributeID: 0
370
- [1708071897.294596][7731:7733] CHIP:TOO: ValueUnsigned8: 1
371
- [1708071897.294599][7731:7733] CHIP:TOO: }
372
- [1708071897.294603][7731:7733] CHIP:TOO: }
373
- [1708071897.294611][7731:7733] CHIP:TOO: [2]: {
374
- [1708071897.294615][7731:7733] CHIP:TOO: ClusterID: 8
375
- [1708071897.294621][7731:7733] CHIP:TOO: AttributeValueList: 1 entries
376
- [1708071897.294628][7731:7733] CHIP:TOO: [1]: {
377
- [1708071897.294633][7731:7733] CHIP:TOO: AttributeID: 0
378
- [1708071897.294636][7731:7733] CHIP:TOO: ValueUnsigned8: 100
379
- [1708071897.294639][7731:7733] CHIP:TOO: }
380
- [1708071897.294643][7731:7733] CHIP:TOO: }
381
- [1708071897.294647][7731:7733] CHIP:TOO: }
355
+ [1722518510.318] [187478:187480] [DMG] Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
356
+ [1722518510.318] [187478:187480] [TOO] Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
357
+ [1722518510.318] [187478:187480] [TOO] ViewSceneResponse: {
358
+ [1722518510.318] [187478:187480] [TOO] status: 0
359
+ [1722518510.318] [187478:187480] [TOO] groupID: 257
360
+ [1722518510.318] [187478:187480] [TOO] sceneID: 1
361
+ [1722518510.318] [187478:187480] [TOO] transitionTime: 1000
362
+ [1722518510.318] [187478:187480] [TOO] sceneName: scene name
363
+ [1722518510.318] [187478:187480] [TOO] extensionFieldSets: 1 entries
364
+ [1722518510.318] [187478:187480] [TOO] [1]: {
365
+ [1722518510.318] [187478:187480] [TOO] ClusterID: 8
366
+ [1722518510.318] [187478:187480] [TOO] AttributeValueList: 1 entries
367
+ [1722518510.318] [187478:187480] [TOO] [1]: {
368
+ [1722518510.318] [187478:187480] [TOO] AttributeID: 0
369
+ [1722518510.318] [187478:187480] [TOO] ValueUnsigned8: 100
370
+ [1722518510.318] [187478:187480] [TOO] }
371
+ [1722518510.318] [187478:187480] [TOO] }
372
+ [1722518510.318] [187478:187480] [TOO] }
382
373
cluster : " LogCommands"
383
374
command : " UserPrompt"
384
375
arguments :
@@ -433,7 +424,14 @@ tests:
433
424
" Step 5a: TH configures AC2 on DUT for all implemented application
434
425
clusters supporting scenesmanagement."
435
426
verification : |
436
- Is DUT configured with AC2?
427
+ ./chip-tool levelcontrol move-to-level-with-on-off 200 0 0 0 1 1
428
+
429
+ DUT is configured with AC2 for application clusters which is implemented, supporting scenes and different from AC1
430
+
431
+ [1705040820.918043][6555:6557] CHIP:DMG: StatusIB =
432
+ [1705040820.918056][6555:6557] CHIP:DMG: {
433
+ [1705040820.918068][6555:6557] CHIP:DMG: status = 0x00 (SUCCESS),
434
+ [1705040820.918080][6555:6557] CHIP:DMG: },
437
435
cluster : " LogCommands"
438
436
command : " UserPrompt"
439
437
PICS : PICS_SKIP_SAMPLE_APP
@@ -479,7 +477,16 @@ tests:
479
477
480
478
- label : " Verify DUT returns to AC1."
481
479
verification : |
482
- Is DUT configured with AC1?
480
+ Read CurrentLevel attribute from level control cluster
481
+
482
+ ./chip-tool levelcontrol read current-level 1 1
483
+
484
+ Verify CurrentLevel attribute value on TH(chip-tool)
485
+
486
+ [1708072116.730389][7757:7759] CHIP:DMG: }
487
+ [1708072116.730518][7757:7759] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0008 Attribute 0x0000_0000 DataVersion: 2359286215
488
+ [1708072116.730552][7757:7759] CHIP:TOO: CurrentLevel: 100
489
+
483
490
cluster : " LogCommands"
484
491
command : " UserPrompt"
485
492
PICS : PICS_SKIP_SAMPLE_APP
@@ -528,8 +535,9 @@ tests:
528
535
field set to G1, the SceneID field set to 0x03, the TransitionTime
529
536
field set to G1 and a set of extension fields appropriate to AC1."
530
537
verification : |
531
- ./chip-tool scenesmanagement add-scene 0x0101 0x03 1 "scene name" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4002", "ValueUnsigned8": "0x01"}]}]' 0xffffffffffff0101 1
532
- Note: As this is a multicast command, no log is expected.
538
+ ./chip-tool scenesmanagement add-scene 0x0101 0x03 1000 "scene name" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4002", "valueUnsigned8": "0x01"}]}]' 0xffffffffffff0101 1
539
+
540
+ There is no Status response since this was a groupcast
533
541
cluster : " LogCommands"
534
542
command : " UserPrompt"
535
543
PICS : S.S.C00.Rsp && PICS_SKIP_SAMPLE_APP
@@ -589,25 +597,24 @@ tests:
589
597
590
598
NOTE: The values below are expected to match the values from the specific AC tested
591
599
592
- [1707285444.028460][13682:13684] CHIP:DMG: },
593
- [1707285444.028553][13682:13684] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
594
- [1707285444.028579][13682:13684] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
595
- [1707285444.028670][13682:13684] CHIP:TOO: ViewSceneResponse: {
596
- [1707285444.028685][13682:13684] CHIP:TOO: status: 0
597
- [1707285444.028696][13682:13684] CHIP:TOO: groupID: 257
598
- [1707285444.028706][13682:13684] CHIP:TOO: sceneID: 3
599
- [1707285444.028717][13682:13684] CHIP:TOO: transitionTime: 1
600
- [1707285444.028728][13682:13684] CHIP:TOO: sceneName: scene name
601
- [1707285444.028766][13682:13684] CHIP:TOO: extensionFieldSets: 1 entries
602
- [1707285444.028814][13682:13684] CHIP:TOO: [1]: {
603
- [1707285444.028828][13682:13684] CHIP:TOO: ClusterID: 768
604
- [1707285444.028853][13682:13684] CHIP:TOO: AttributeValueList: 1 entries
605
- [1707285444.028882][13682:13684] CHIP:TOO: [1]: {
606
- [1707285444.028896][13682:13684] CHIP:TOO: AttributeID: 16386
607
- [1707285444.028913][13682:13684] CHIP:TOO: ValueUnsigned16: 1
608
- [1707285444.028925][13682:13684] CHIP:TOO: }
609
- [1707285444.028937][13682:13684] CHIP:TOO: }
610
- [1707285444.028950][13682:13684] CHIP:TOO: }
600
+ [1720504218.414] [3432:3434] [DMG] Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001
601
+ [1720504218.414] [3432:3434] [TOO] Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001
602
+ [1720504218.414] [3432:3434] [TOO] ViewSceneResponse: {
603
+ [1720504218.414] [3432:3434] [TOO] status: 0
604
+ [1720504218.414] [3432:3434] [TOO] groupID: 257
605
+ [1720504218.414] [3432:3434] [TOO] sceneID: 3
606
+ [1720504218.414] [3432:3434] [TOO] transitionTime: 1000
607
+ [1720504218.414] [3432:3434] [TOO] sceneName: scene name
608
+ [1720504218.414] [3432:3434] [TOO] extensionFieldSets: 1 entries
609
+ [1720504218.414] [3432:3434] [TOO] [1]: {
610
+ [1720504218.414] [3432:3434] [TOO] ClusterID: 768
611
+ [1720504218.414] [3432:3434] [TOO] AttributeValueList: 1 entries
612
+ [1720504218.414] [3432:3434] [TOO] [1]: {
613
+ [1720504218.414] [3432:3434] [TOO] AttributeID: 16386
614
+ [1720504218.415] [3432:3434] [TOO] ValueUnsigned8: 1
615
+ [1720504218.415] [3432:3434] [TOO] }
616
+ [1720504218.415] [3432:3434] [TOO] }
617
+ [1720504218.415] [3432:3434] [TOO] }
611
618
cluster : " LogCommands"
612
619
command : " UserPrompt"
613
620
arguments :
0 commit comments