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

[Spring 2024] Handle UpTime attribute becoming mandatory in Rev 2 of General Diagnostics #30023

Closed
tcarmelveilleux opened this issue Oct 26, 2023 · 1 comment · Fixed by #31535
Assignees
Labels
Spec XML align SDK XML does not match the spec (including naming, etc) utility-cluster Work for Utility Clusters

Comments

@tcarmelveilleux
Copy link
Contributor

  • UpTime attribute became mandatory in Rev 2 of General Diagnostics cluster.
  • Changing Optional to Mandatory has impacts on APIs for some customers
  • Need to determine the right path to express/expose this
@tcarmelveilleux
Copy link
Contributor Author

Kept optional (for API backwards compatibility), but made mandatory in Root Node device type in ZAP config, and it is now cert-tested for presence in TC-DGGEN-1.1 and TC-DGGEN-2.1.

tcarmelveilleux added a commit to tcarmelveilleux/connectedhomeip that referenced this issue Jan 19, 2024
- ZAP tool RootNode device type now has UpTime mandatory. It is
  only mandatory for rev >= 2 (e.g. current rev) but could not
  be made mandatory in SDK "directly" since it was optional before.
  Now the test cases check for UpTime presence to be mandatory
  (TC-DGGEN-1.1), but this change makes it so ZAP will warn if
  somehow the attribute is not present.

Fixes project-chip#30023

Testing done:
  - Ran ZAP tool and saw the warning on removing UpTime attribute
    in Endpoint 0.
@mergify mergify bot closed this as completed in #31535 Jan 19, 2024
mergify bot pushed a commit that referenced this issue Jan 19, 2024
- ZAP tool RootNode device type now has UpTime mandatory. It is
  only mandatory for rev >= 2 (e.g. current rev) but could not
  be made mandatory in SDK "directly" since it was optional before.
  Now the test cases check for UpTime presence to be mandatory
  (TC-DGGEN-1.1), but this change makes it so ZAP will warn if
  somehow the attribute is not present.

Fixes #30023

Testing done:
  - Ran ZAP tool and saw the warning on removing UpTime attribute
    in Endpoint 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spec XML align SDK XML does not match the spec (including naming, etc) utility-cluster Work for Utility Clusters
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant