-
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] XML vs Specs differences Group Key management cluster #25642
Comments
The XML is wrong; the question is how we fix it without breaking compat at this point... Need to think about this carefully.
Yep, not least because that feature is just not implemented in the SDK, so there's been no need for it....
If it's provisional, it should generally not be included in the XML. |
I filed https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/6344 to track reserving this field id on the spec side. |
So we will add this field to the specs even that it makes no real sense? Ahh you just make sure that if ever fields get added they do not use this field ID?) |
Yes, exactly. |
Can you elaborate on this, looking at the spec, the defined GroupKeySetStruct type does include GroupKeyMulticastPolicy (field 8) and the type of that field is GroupKeyMulticastPolicyEnum? |
@ReneJosefsen The spec has that, but the XML in the SDK does not. |
…es command. This field does not exist in the spec. This is safe to do in terms of compat because the generated command parsing code only parses the fields that are actually present and does not error out if mandatory fields are missing; instead if uses type-default values for them. So commands updated clients send will still be parse-able by servers that had this field in their XML. Fixes part of project-chip#25642 For the Darwin codegen, I just special-cased this command in the templates for now, but if we end up with more commands going from having required fields to not having them we can figure out a more automated solution.
…es command. This field does not exist in the spec. This is safe to do in terms of compat because the generated command parsing code only parses the fields that are actually present and does not error out if mandatory fields are missing; instead if uses type-default values for them. So commands updated clients send will still be parse-able by servers that had this field in their XML. Fixes part of project-chip#25642 For the Darwin codegen, I just special-cased this command in the templates for now, but if we end up with more commands going from having required fields to not having them we can figure out a more automated solution.
…es command. This field does not exist in the spec. This is safe to do in terms of compat because the generated command parsing code only parses the fields that are actually present and does not error out if mandatory fields are missing; instead if uses type-default values for them. So commands updated clients send will still be parse-able by servers that had this field in their XML. Fixes part of project-chip#25642 For the Darwin codegen, I just special-cased this command in the templates for now, but if we end up with more commands going from having required fields to not having them we can figure out a more automated solution.
…es command. (#27044) * Remove the incorrect GroupKeySetIDs field from the KeySetReadAllIndices command. This field does not exist in the spec. This is safe to do in terms of compat because the generated command parsing code only parses the fields that are actually present and does not error out if mandatory fields are missing; instead if uses type-default values for them. So commands updated clients send will still be parse-able by servers that had this field in their XML. Fixes part of #25642 For the Darwin codegen, I just special-cased this command in the templates for now, but if we end up with more commands going from having required fields to not having them we can figure out a more automated solution. * Regenerate generated code. * Address review comments.
Documentation issues
Platform
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: