You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is this a problem @chialunl? emberAfAttributeChanged just marks the attribute dirty. That's an idempotent operation, so calling it multiple times in a row for the same attribute is fine.
But also, parentEndpointId shouldn't ever be 0 in that loop, I would think (unless someone has mis-configured their endpoints: parentEndpointId is for listing the parent endpoint if it's not the root node endpoint), so this shouldn't be an issue in practice anyway.
When adding an endpoint, emberAfEndpointEnableDisable will be called twice, Once
connectedhomeip/src/app/util/attribute-storage.cpp
Line 939 in d5e9829
connectedhomeip/src/app/util/attribute-storage.cpp
Line 950 in d5e9829
The text was updated successfully, but these errors were encountered: