-
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
Update Quiet reporting conditions for LVL and CC remaining time attribute #35224
Update Quiet reporting conditions for LVL and CC remaining time attribute #35224
Conversation
Review changes with SemanticDiff. |
PR #35224: Size comparison from d185778 to b033dc2 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
b033dc2
to
07308d7
Compare
07308d7
to
d1ac726
Compare
PR #35224: Size comparison from 4d4fcb3 to d1ac726 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
I was testing this change while updating the script to match the latest test plan and I had an issue with RemainingTime when after it has transitioned to use MoveToColorTemperature command, after a bit of digging, it seems like we have missed a SetQuietReportRemainingTime in the moveToColorTemp command, @jmartinez-silabs thoughts? |
@ReneJosefsen it should be called in the timed event callback that updates the colortempmired attributes. Maybe it is missing. I'll confirm tomorrow/fix it if need be in this pr that I need to update anyway |
From what I could see it is called in the callback, but it "misses" when the new command is received so it does not mark the change in RemaningTime as reportable even though it changes quite a lot due to a MoveToColorTemp command, hence why I assumed we needed to have the SetQuietReportRemainingTime call in the command "handler" as well, like the other commands to indicate it is caused by a new command. |
…Add remainingTime Report condition on command invoke. Fix clang-tidy
Co-authored-by: Boris Zbarsky <[email protected]>
…bute (project-chip#35224) * Update Quiet reporting conditions for LVL and CC remaining time attribute * Restyled by clang-format * Fix/cleaup of startUpColorTempCommand * Add missing SetQuietReportRemainingTime for moveToColorTemp command. Add remainingTime Report condition on command invoke. Fix clang-tidy * Update src/app/clusters/color-control-server/color-control-server.cpp Co-authored-by: Boris Zbarsky <[email protected]> --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
Spec pr 10231 modifies the quiet reporting of the Remaining time attribute of the Level and Color control clusters.
The conditions on which the attribute must be reported are :
It also adds the Quiet report quality to the ColorTemperatureMireds attribute.
Report conditions are:
This PR reflect those changes in the SDK.
Tested on Silabs lighting-app with cert tests TC_CC_2_2.py and TC_LVL_2_3.py