derive a delegate class from CHIP, and esp-matter attribute system #1496
Unanswered
ehsanziyaee
asked this question in
Q&A
Replies: 1 comment
-
In short, the esp-matter attribute system is only useful for simple clusters, and wherever I use a delegate, it no longer works, and I have to use the APIs of the Server Instance (Cluster) class. Did I understand correctly? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As we know, to implement appliances, we need to reimplement the delegate class of the CHIP. And through its GetInstance function, we have access to the pointer of its Instance class, so using these APIs makes it impossible to use the ESP-Matter attribute system. Also, according to the story I explained in this issue #1486, two instances of each cluster are created in each endpoint, which causes changes in one instance not to be transferred to the other. Do you have a suggested solution for the first and second cases?
Beta Was this translation helpful? Give feedback.
All reactions