-
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
[nrfconnect] Fixed window covering bug in updating cluster attributes #18752
[nrfconnect] Fixed window covering bug in updating cluster attributes #18752
Conversation
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.
LGTM
Nrfconnect window covering example doesn't update window covering cluster attributes properly. * Moved PostAttributeChange method from window-covering-server.cpp to header. * Called PostAttributeChange method in nrfconnect implementation of MatterWindowCoveringClusterServerAttributeChangedCallback * Changed mode default value from 0x14 to 0.
a61f33f
to
6918d9a
Compare
Please hold on with the merge, we need to retest. |
PR #18752: Size comparison from 7582608 to 6918d9a Full report (43 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
|
…ack. Signed-off-by: Marcin Kajor <[email protected]>
I pushed a change which aims to avoid using blocking calls in chip attribute change callback. Without it, the UI becomes quite unresponsive (i.e. LEDs brightness stops changing fluently when calling up-or-open/down-or-close). So instead I used async call with PlatformMgr().ScheduleWork(). Tested both UI and the fix for 18371 itself - works fine. |
PR #18752: Size comparison from 7582608 to bd70e62 Full report (45 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
@kkasperczyk-no I was not asking you to modify the cluster code. But I was asking for decent API docs on the API being added to the cluster, and that did not happen..... |
@bzbarsky-apple sorry about that, I forgot to do the change after answering on your comment. Pushed followup PR: #18840 |
…ter attributes (project-chip#18752) * [nrfconnect] Fixed window covering bug in updating cluster attributes Nrfconnect window covering example doesn't update window covering cluster attributes properly. * Moved PostAttributeChange method from window-covering-server.cpp to header. * Called PostAttributeChange method in nrfconnect implementation of MatterWindowCoveringClusterServerAttributeChangedCallback * Changed mode default value from 0x14 to 0. * [nrfconnect] window-app: do not block in chip attribute changed callback. Signed-off-by: Marcin Kajor <[email protected]> Co-authored-by: Marcin Kajor <[email protected]> (cherry picked from commit a3fdd05)
…ing cluster attributes (project-chip#18752)" This reverts commit fc6a52c.
Problem
Nrfconnect window covering example doesn't update window covering cluster attributes properly.
Change overview
Testing
Reproduced manually tests described in: #18371
Fixes: #18371