Skip to content
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

Cherry-pick provisional cluster check PRs to 1.3-SVE test harness branch. #33885

Merged

Conversation

cecille and others added 2 commits June 12, 2024 13:34
* TC-IDM-10.2: Add test for provisional clusters

* Restyled by autopep8

* Un-hard-code IDs

* Add content control to the init file so we can use the ID

* Add some more provisional clusters

* Restyled by autopep8

* Restyled by isort

* Add in a couple more provisional from main spec

* it's nice to add ALL the changes before uploading

---------

Co-authored-by: Restyled.io <[email protected]>
* TC-IDM-10.2: checks for non-spec clusters

There are a number of clusters that appear in the spec adoc
but are ifdef'd. These were not caught by the original
provisional cluster checks.

The following do not appear in the codegen and will therefore
be caught in the IDM-10.1 test if they appear in cert
(check that all clusters in the standard range have known IDs).
These are therefore not included in the specific check.

0x0094 Water Heater Management
0x0095 Energy Price
0x009A Energy Calendar
0x009E Water Heater Mode
0x0450 Network Identity Management

The following DOES appear in the 1.3-SVE codegen and are therefore
checked explicitly:

0x0096 Demand Response and Load Control

The following appears in the master codegen, but is not included
in the 1.3-sve branch and will therefore fail the 10.1 test:
0x0451 WiFi Network Management

There are also some completely non-spec clusters that appear in the
codegen, but not in the spec at all. They appear to be zigbee only
clusters. These are added to the new checks:

0x0007 On/off Switch Configuration
0x000F Binary Input (Basic)
0x0103 Barrier Control
0x0B04 Electrical Measurement

In all cases, inclusion of these clusters on a device at cert SHOULD
cause a failure in the PICS checker test as there is no way to specify
these clusters in the PICS, but a definite check here is also beneficial.

* Restyled by autopep8

* Restyled by isort

* missed removing wifi in the test itself

---------

Co-authored-by: Restyled.io <[email protected]>
@andy31415 andy31415 merged commit 50bcad1 into project-chip:1.3-sve Jun 13, 2024
53 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants