-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal for TC_CC_2.1 #37911
base: master
Are you sure you want to change the base?
Proposal for TC_CC_2.1 #37911
Conversation
…sues with previous PR which had some conflicts with submodules. Attribute range rechecks.
PR #37911: Size comparison from 7d7d638 to 8b2135b Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…th the default value of 0x009A to allow test TC-CC-2.1
PR #37911: Size comparison from 7d7d638 to 95ea072 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…reds. Updated to use LIGHTING_APP_NO_UNIQUE_ID instead of ALL_CLUSTERS_APP
PR #37911: Size comparison from 7d7d638 to 3d04c2f Increases above 0.2%:
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…ith range in lower limit with ColorTempPhysicalMinMireds at endpoint 1
PR #37911: Size comparison from 7d7d638 to b2fc6e2 Increases above 0.2%:
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #37911: Size comparison from 59c205c to 91a1512 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
|
||
@async_test_body | ||
async def test_TC_CC_2_1(self): | ||
self.UINT8 = "uint8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please use an enum rather than doing string compares?
@@ -9006,7 +9006,7 @@ endpoint 1 { | |||
ram attribute colorCapabilities default = 0x1F; | |||
ram attribute colorTempPhysicalMinMireds default = 0x009A; | |||
ram attribute colorTempPhysicalMaxMireds default = 0x01C6; | |||
ram attribute coupleColorTempToLevelMinMireds; | |||
ram attribute coupleColorTempToLevelMinMireds default = 0x009A; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind checking with Leo Rozendaal to make sure he's ok with this setting as a default
Testing
Proposal for Test case for Color Control 2.1 ( TC_CC_2.1)
The following test evaluates the attributes to the conformance.
How to to run:
Run all clusters.
./out/linux-x64-all-clusters/chip-all-clusters-app
Run the test case: python3 src/python_testing/TC_CC_2_1.py --commissioning-method on-network --qr-code MT:-24J0AFN00KA0648G00 --PICS src/app/tests/suites/certification/ci-pics-values
There is a conversation right now about the attribute NumberOfPrimaries where the value should not be 0. Currently the change is not implemented. Until the change is implemented this test case will need to be updated.
CHIP-Specifications/connectedhomeip-spec#9103
##Fixes
project-chip/matter-test-scripts#392
This PR is raised to replace a previous one, which had some commit issues related with the submodules
Previous PR.
#37328