-
Notifications
You must be signed in to change notification settings - Fork 82
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
Silabs #375
Silabs #375
Conversation
tecimovic
commented
Jan 19, 2022
•
edited
Loading
edited
- Fixes some UI issues
- Improves some TS stuff
- Deals with For Matter, reportability is entirely spec-defined, not user-controlled #368
BUG: MCUDT-27166
BUG: MCUDT-27166
BUG: MCUDT-27166
…sReportable boolean.
…that the unit test discovered.
For people mostly interested in hew "reportingPolicy" (@bzbarsky-apple , @mrjerryjohns ): Attributes in the XML can now have following options: Prohibited and mandatory remove user option. (The UI is not yet following along, I'll add an issue to be fixed by the UI consultants). For backwards compatibility: Where you had This is sorting out the data model and the schema. I did not touch the Matter XML, but I've added a simple example into Zap's unit test |
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.
I only reviewed the reporting policy changes.
They are OK as far as they go, but:
- They do not affect the value returned from
endpointTypeAttribute
queries in any way. - There is, as far as I can tell, no way to get to the attribute-defined policy from the
endpointTypeAttribute
query.
so none of this really solves things for Matter on its own. We can specify the reporting policy all we want, and it will just be ignored in the data we actually have to work with.
Could we expose the policy in the queries that use endpointTypeAttribute
for mapping?
@bzbarsky-apple : i see... You have data that already circumvented this policy and you need to deal with this. I can do this:
Would that work? It's also an entry towards this much larger process that we will have to do with at some point: |
Fundamentally, we don't want to be getting this information from the zap files at all, for Matter. We want to be getting it directly from the XML. But the queries we have to work with don't seem to expose it? |
…olicy to mandatory or prohibited.
@bzbarsky-apple : You are correct, that in case of these policies, we shouldn't even have a boolean in the ZAP file. We'll address this as part of the UI fix to properly make UI follow this. |