-
Notifications
You must be signed in to change notification settings - Fork 161
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
How to add and remove supporterd attributes of a cluster though esp-matter without using ZAP (CON-1421) #1159
Comments
To check if attribute/cluster present or not there are For cluster: https://github.com/espressif/esp-matter/blob/main/components/esp_matter/esp_matter_core.h#L397-L407 To add, we have We do not have APIs to remove the already present attributes. But, we only add the mandatory attributes/events when creating the device type, so I think you should consider only adding the optional clusters/attributes/events. |
@shubhamdp What I understood is that all mandatory attributes for a specific cluster of a sepcific device type are already available in esp-matter and we only need to add optional if required? |
@bilalmalik76 Yes, thats right. When adding new device type, we ensure and only add the mandatory bits from the specification. |
Thanks where I can find the list of mandatory attributes available in esp-matter? |
esp_matter_cluster.cpp contains the list of attributes/commands/events which are mandatory for a cluster. |
@bilalmalik76 any updates on this? Please close the issue if your question is answered. |
I am closing this and will reopen if needed. |
How to add and remove supporterd attributes of a cluster though esp-matter without using ZAP? Considering esp-matter provide non-zap based APIs, how to find enabled attributes information and how to enable and disbale specific?
The text was updated successfully, but these errors were encountered: