-
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
Add support for Presets attributes and commands to the Thermostat cluster #34532
Conversation
…ster Clean up the Thermostat cluster and remove the TemperatureSetpointHoldPolicy attribute and SetTemperatureSetpointHoldPolicy command
e806acb
to
09332ef
Compare
PR #34532: Size comparison from 93e5e85 to ffdbb24 Increases above 0.2%:
Full report (20 builds for cc13x4_26x4, cc32xx, mbed, nrfconnect, nxp, qpg, stm32, tizen)
|
src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml
Outdated
Show resolved
Hide resolved
ffdbb24
to
9c511bf
Compare
PR #34532: Size comparison from 55786a0 to 9c511bf Increases above 0.2%:
Full report (8 builds for cc32xx, mbed, qpg, stm32, tizen)
|
Co-authored-by: Boris Zbarsky <[email protected]>
PR #34532: Size comparison from 55786a0 to f027069 Full report (21 builds for bl602, bl702, bl702l, cc13x4_26x4, mbed, nxp, stm32)
|
47a8692
to
a2bb5d6
Compare
PR #34532: Size comparison from f4d9188 to 0147c71 Increases above 0.2%:
Full report (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
src/app/clusters/thermostat-server/PresetStructWithOwnedMembers.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Boris Zbarsky <[email protected]>
PR #34532: Size comparison from d9bcdd3 to 259cd5d Increases above 0.2%:
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Should Thermostat cluster revision be updated to 7? |
b801c13
to
abee68b
Compare
PR #34532: Size comparison from 295ad53 to abee68b Increases above 0.2%:
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…ster (project-chip#34532) * Add support for Presets attributes and commands to the Thermostat cluster Clean up the Thermostat cluster and remove the TemperatureSetpointHoldPolicy attribute and SetTemperatureSetpointHoldPolicy command * Restyled by whitespace * Restyled by clang-format * Restyled by gn. * Fix build error for Linux configure build of all-clusters-app * Fix Darwin CI issues Editorial fixes * Restyled by clang-format * More fixes * Restyled by clang-format * BUILD.gn fixes for CI * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Address review comments. * Restyled by clang-format * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Remove Presets and Schedules attributes from all-cluster-app.zap. --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
…ster (project-chip#34532) * Add support for Presets attributes and commands to the Thermostat cluster Clean up the Thermostat cluster and remove the TemperatureSetpointHoldPolicy attribute and SetTemperatureSetpointHoldPolicy command * Restyled by whitespace * Restyled by clang-format * Restyled by gn. * Fix build error for Linux configure build of all-clusters-app * Fix Darwin CI issues Editorial fixes * Restyled by clang-format * More fixes * Restyled by clang-format * BUILD.gn fixes for CI * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Address review comments. * Restyled by clang-format * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Remove Presets and Schedules attributes from all-cluster-app.zap. --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
Clean up the Thermostat cluster and remove the TemperatureSetpointHoldPolicy attribute and SetTemperatureSetpointHoldPolicy command
Fixes: #34531
Added the skip-protocol-compatibility flag in the PR because of the following updates.
The 1.4 spec has updated PresetScenarioEnum with a new value added. Hence vacation has changed its value.
Also sdk had SetTemperatureSetpointHoldPolicyRequest command, TemperatureSetpointHoldPolicyBitmap and temperatureSetpointHoldPolicy attribute that has been removed from the spec. Hence setpointHoldExpiryTimestamp changed its code.
Following are the changes flagged by the compatibility checker -
2024-07-26 07:53:09 ERROR Enumeration Thermostat::PresetScenarioEnum changed code for entry kUserDefined from 6 to 7
2024-07-26 07:53:09 ERROR Struct Thermostat::SetTemperatureSetpointHoldPolicyRequest has been deleted.
2024-07-26 07:53:09 ERROR Bitmap Thermostat::TemperatureSetpointHoldPolicyBitmap was deleted
2024-07-26 07:53:09 ERROR Command Thermostat::SetTemperatureSetpointHoldPolicy was removed
2024-07-26 07:53:09 ERROR Attribute Thermostat::temperatureSetpointHoldPolicy has been deleted.
2024-07-26 07:53:09 ERROR Attribute Thermostat::setpointHoldExpiryTimestamp changed its code.