Skip to content

Commit

Permalink
deleted manual steps from 3x
Browse files Browse the repository at this point in the history
  • Loading branch information
aabgd committed Jan 31, 2025
1 parent 976d030 commit c31df14
Showing 1 changed file with 1 addition and 58 deletions.
59 changes: 1 addition & 58 deletions src/app/tests/suites/certification/Test_TC_CC_3_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,25 +223,6 @@ tests:
- name: "ms"
value: 5000

#https://github.com/CHIP-Specifications/chip-test-scripts/issues/416#issuecomment-1228072461
# - label: "Step 3c: TH reads CurrentHue attribute from DUT"
# PICS: CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP
# verification: |
# ./chip-tool colorcontrol read current-hue 1 1
# Verify response contains a CurrentHue value in TH(chip-tool) Logs:

# [1649661849.854961][8307:8312] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087274517
# [1649661849.855019][8307:8312] CHIP:TOO: current hue: 0 (value can vary)
# [1649661849.855097][8307:8312] CHIP:EM: Sending Standalone Ack for MessageCounter:13414799 on exchange 39735i
# cluster: "LogCommands"
# command: "UserPrompt"
# arguments:
# values:
# - name: "message"
# value: "Enter 'y' after success"
# - name: "expectedValue"
# value: "y"

# Values computed for longest distance (Direction=0x01):
# variation = [initial_hue + (255 - final_hue)] * wait_in_secs / transition_time_in_secs
# variation = [60 + (255 - 135)] * 5 / 30 => 30
Expand All @@ -265,30 +246,11 @@ tests:
- name: "ms"
value: 15000

#https://github.com/CHIP-Specifications/chip-test-scripts/issues/493#issuecomment-1422075950
# - label: "Step 3d: TH reads CurrentHue attribute from DUT"
# PICS: CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP
# verification: |
# ./chip-tool colorcontrol read current-hue 1 1

# After another 10 seconds , Verify that CurrentHue value as 195 On TH(chip-tool) Logs:
# [1649661821.298198][8292:8297] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087274517
# [1649661821.298271][8292:8297] CHIP:TOO: current hue: 195 (value can vary)
# [1649661821.298374][8292:8297] CHIP:EM: Sending Standalone Ack for MessageCounter:13643708 on exchange 28536i
# cluster: "LogCommands"
# command: "UserPrompt"
# arguments:
# values:
# - name: "message"
# value: "Enter 'y' after success"
# - name: "expectedValue"
# value: "y"

# Values computed for longest distance (Direction=0x01):
# variation = [initial_hue + (255 - final_hue)] * wait_in_secs / transition_time_in_secs
# variation = [60 + (255 - 135)] * 15 / 30 => 90
# current_hue = last_hue - variation
# current_hue = 30 - 90 = 255 - 60 (underflow) = 195 +/-15% => (165, 225)
# current_hue = 30 - 90 (underflow) => 255 - 60 = 195 +/-15% => (165, 225)
- label: "Step 3d: TH reads CurrentHue attribute from DUT"
PICS: CC.S.F00 && CC.S.A0000
command: "readAttribute"
Expand All @@ -307,25 +269,6 @@ tests:
- name: "ms"
value: 10000

#https://github.com/CHIP-Specifications/chip-test-scripts/issues/493#issuecomment-1422075950
# - label: "Step 3e: TH reads CurrentHue attribute from DUT"
# PICS: CC.S.F00 && CC.S.A0000 && PICS_SKIP_SAMPLE_APP
# verification: |
# ./chip-tool colorcontrol read current-hue 1 1
# After another 10 seconds , Verify that CurrentHue value as 135 On TH(chip-tool) Logs:

# [1649661821.298198][8292:8297] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0300 Attribute 0x0000_0000 DataVersion: 4087274517
# [1649661821.298271][8292:8297] CHIP:TOO: current hue: 135
# [1649661821.298374][8292:8297] CHIP:EM: Sending Standalone Ack for MessageCounter:13643708 on exchange 28536i"
# cluster: "LogCommands"
# command: "UserPrompt"
# arguments:
# values:
# - name: "message"
# value: "Enter 'y' after success"
# - name: "expectedValue"
# value: "y"

# Values computed for longest distance (Direction=0x01):
# variation = [initial_hue + (255 - final_hue)] * wait_in_secs / transition_time_in_secs
# variation = [60 + (255 - 135)] * 10 / 30 => 60
Expand Down

0 comments on commit c31df14

Please sign in to comment.