-
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
[Documentation] Spec vs XML difference BooleanStateCluster #25605
Comments
@Apollon77 Thank you for doing this audit!
Yep, good catch.
See https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/6270 opened a month or so ago. |
This is not accessible for "Normal GitHub users" it seems |
Yes, you have to be a CSA member, and even then it's somewhat restricted. Deeply unfortunate. What the issue says is:
|
Ok, so ... is the Event now Optional or Mandatory? :-) When I read this then it is "most likely optional" |
The issue is still open, so I don't have an answer to that question.... |
Thinking about the "default" thing some more: "default" in the XML right now does not mean the same concept as "default" does in the spec. So there's no particular reason they should be aligned, and in some cases aligning them will be actively confusing. |
That said, in this case removing the default="0" is probably fine. |
1) Remove default that is not listed in spec table in Boolean State. * Fixes project-chip#25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes project-chip#25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses project-chip#25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes project-chip#25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes project-chip#25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes project-chip#25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes project-chip#25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes project-chip#25620
1) Remove default that is not listed in spec table in Boolean State. * Fixes project-chip#25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes project-chip#25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses project-chip#25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes project-chip#25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes project-chip#25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes project-chip#25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes project-chip#25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes project-chip#25620
1) Remove default that is not listed in spec table in Boolean State. * Fixes project-chip#25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes project-chip#25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses project-chip#25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes project-chip#25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes project-chip#25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes project-chip#25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes project-chip#25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes project-chip#25620
1) Remove default that is not listed in spec table in Boolean State. * Fixes #25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes #25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses #25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes #25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes #25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes #25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes #25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes #25620
1) Remove default that is not listed in spec table in Boolean State. * Fixes project-chip/connectedhomeip#25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes project-chip/connectedhomeip#25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses project-chip/connectedhomeip#25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes project-chip/connectedhomeip#25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes project-chip/connectedhomeip#25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes project-chip/connectedhomeip#25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes project-chip/connectedhomeip#25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes project-chip/connectedhomeip#25620
1) Remove default that is not listed in spec table in Boolean State. * Fixes project-chip#25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes project-chip#25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses project-chip#25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes project-chip#25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes project-chip#25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes project-chip#25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes project-chip#25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes project-chip#25620
1) Remove default that is not listed in spec table in Boolean State. * Fixes project-chip#25605 2) Remove length constraint on list in Fixed Label and User Label. * Fixes project-chip#25610 3) Remove length constraint on list in Network Commissioning. * Partially addresses project-chip#25612 4) Remove incorrect max values in Occupancy Sensing. * Fixes project-chip#25614 5) Add min/max for SupportedFabrics in Operational Credentials * Fixes project-chip#25616 6) Remove defaults and "reportable" annotations that are not in the spec table in Pressure Measurement * Fixes project-chip#25617 7) Fix max value of Tolerance attribute in Temperature Measurement * Fixes project-chip#25618 8) Remove stray "reportable" on Tolerance in Relative Humidity Measurement * Fixes project-chip#25620
Documentation issues
I found the following differences between specifications (1.0) and the Chiptool XML for the BooleanStateCluster
XML: https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml
Platform
other
Anything else?
No response
The text was updated successfully, but these errors were encountered: