Skip to content
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

Merged
merged 16 commits into from
Jul 30, 2024

Conversation

nivi-apple
Copy link
Contributor

@nivi-apple nivi-apple commented Jul 26, 2024

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.

nivi-apple and others added 3 commits July 26, 2024 00:54
…ster

Clean up the Thermostat cluster and remove the TemperatureSetpointHoldPolicy attribute
and SetTemperatureSetpointHoldPolicy command
Copy link

github-actions bot commented Jul 26, 2024

PR #34532: Size comparison from 93e5e85 to ffdbb24

Increases above 0.2%:

platform target config section 93e5e85 ffdbb24 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606670 609774 3104 0.5
tizen all-clusters-app arm FLASH 1669056 1676768 7712 0.5
Full report (20 builds for cc13x4_26x4, cc32xx, mbed, nrfconnect, nxp, qpg, stm32, tizen)
platform target config section 93e5e85 ffdbb24 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 800212 800212 0 0.0
RAM 109276 109276 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808652 808652 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762416 762416 0 0.0
RAM 105448 105448 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747068 747068 0 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606670 609774 3104 0.5
RAM 204564 204596 32 0.0
lock CC3235SF_LAUNCHXL FLASH 652210 652210 0 0.0
RAM 204836 204836 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503444 1503444 0 0.0
RAM 226720 226720 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 897260 899276 2016 0.2
RAM 141609 141636 27 0.0
nrf7002dk_nrf5340_cpuapp FLASH 962860 964724 1864 0.2
RAM 140713 140740 27 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 832644 834672 2028 0.2
RAM 140464 140492 28 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591808 591808 0 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 611696 611696 0 0.0
RAM 69608 69608 0 0.0
k32w1+release FLASH 676528 676528 0 0.0
RAM 82912 82912 0 0.0
qpg lighting-app qpg6105+debug FLASH 653084 653084 0 0.0
RAM 104680 104680 0 0.0
lock-app qpg6105+debug FLASH 612288 612288 0 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 475408 475408 0 0.0
RAM 144300 144300 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1669056 1676768 7712 0.5
RAM 48924 49036 112 0.2
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16381678 16344558 -37120 -0.2
RAM 7190408 7179608 -10800 -0.2

examples/thermostat/linux/BUILD.gn Outdated Show resolved Hide resolved
examples/thermostat/linux/thermostat-delegate-impl.cpp Outdated Show resolved Hide resolved
examples/thermostat/linux/thermostat-delegate-impl.cpp Outdated Show resolved Hide resolved
src/app/clusters/thermostat-server/thermostat-server.cpp Outdated Show resolved Hide resolved
src/app/clusters/thermostat-server/thermostat-server.cpp Outdated Show resolved Hide resolved
src/app/clusters/thermostat-server/thermostat-server.cpp Outdated Show resolved Hide resolved
@nivi-apple nivi-apple force-pushed the add_presets_to_Sdk branch from ffdbb24 to 9c511bf Compare July 26, 2024 22:42
Copy link

github-actions bot commented Jul 26, 2024

PR #34532: Size comparison from 55786a0 to 9c511bf

Increases above 0.2%:

platform target config section 55786a0 9c511bf change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606670 609774 3104 0.5
tizen all-clusters-app arm FLASH 1669056 1676768 7712 0.5
RAM 48924 49036 112 0.2
Full report (8 builds for cc32xx, mbed, qpg, stm32, tizen)
platform target config section 55786a0 9c511bf change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606670 609774 3104 0.5
RAM 204564 204596 32 0.0
lock CC3235SF_LAUNCHXL FLASH 652210 652210 0 0.0
RAM 204836 204836 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503444 1503444 0 0.0
RAM 226720 226720 0 0.0
qpg lighting-app qpg6105+debug FLASH 653084 653084 0 0.0
RAM 104680 104680 0 0.0
lock-app qpg6105+debug FLASH 612288 612288 0 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 475408 475408 0 0.0
RAM 144300 144300 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1669056 1676768 7712 0.5
RAM 48924 49036 112 0.2
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16381678 16344558 -37120 -0.2
RAM 7190408 7179608 -10800 -0.2

Copy link

github-actions bot commented Jul 26, 2024

PR #34532: Size comparison from 55786a0 to f027069

Full report (21 builds for bl602, bl702, bl702l, cc13x4_26x4, mbed, nxp, stm32)
platform target config section 55786a0 f027069 change % change
bl602 lighting-app bl602 FLASH 1274146 1274146 0 0.0
RAM 95424 95424 0 0.0
bl602+mfd FLASH 1288404 1288404 0 0.0
RAM 95568 95568 0 0.0
bl602+rpc FLASH 1313114 1313114 0 0.0
RAM 103848 103848 0 0.0
bl702 lighting-app bl702 FLASH 1095040 1095040 0 0.0
RAM 15245 15245 0 0.0
bl702+mfd FLASH 1105734 1105734 0 0.0
RAM 15397 15397 0 0.0
bl702+rpc FLASH 1185106 1185106 0 0.0
RAM 24245 24245 0 0.0
bl706-eth FLASH 878084 878084 0 0.0
RAM 27348 27348 0 0.0
bl706-wifi FLASH 1130780 1130780 0 0.0
RAM 14681 14681 0 0.0
bl702l lighting-app bl702l FLASH 1081938 1081938 0 0.0
RAM 21800 21800 0 0.0
bl702l+mfd FLASH 1093200 1093200 0 0.0
RAM 21960 21960 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 800212 800212 0 0.0
RAM 109276 109276 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808652 808652 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762416 762416 0 0.0
RAM 105448 105448 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747068 747068 0 0.0
RAM 105632 105632 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503444 1503444 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591808 591808 0 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 611696 611696 0 0.0
RAM 69608 69608 0 0.0
k32w1+release FLASH 676528 676528 0 0.0
RAM 82912 82912 0 0.0
stm32 light STM32WB5MM-DK FLASH 475408 475408 0 0.0
RAM 144300 144300 0 0.0

@nivi-apple nivi-apple force-pushed the add_presets_to_Sdk branch from 47a8692 to a2bb5d6 Compare July 27, 2024 03:51
Copy link

github-actions bot commented Jul 27, 2024

PR #34532: Size comparison from f4d9188 to 0147c71

Increases above 0.2%:

platform target config section f4d9188 0147c71 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606674 609730 3056 0.5
cyw30739 thermostat CYW30739B2-P5-EVK-01 FLASH 593637 599133 5496 0.9
CYW30739B2-P5-EVK-02 FLASH 613489 618985 5496 0.9
CYW30739B2-P5-EVK-03 FLASH 613489 618985 5496 0.9
telink all-clusters-app tlsr9118bdk40d FLASH 669332 671388 2056 0.3
all-clusters-minimal-app tlsr9528a FLASH 765350 767406 2056 0.3
thermostat tlsr9518adk80d FLASH 626256 631136 4880 0.8
tizen all-clusters-app arm FLASH 1669080 1676756 7676 0.5
Full report (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section f4d9188 0147c71 change % change
bl602 lighting-app bl602 FLASH 1274158 1274158 0 0.0
RAM 95432 95432 0 0.0
bl602+mfd FLASH 1288416 1288416 0 0.0
RAM 95584 95584 0 0.0
bl602+rpc FLASH 1313126 1313126 0 0.0
RAM 103856 103856 0 0.0
bl702 lighting-app bl702 FLASH 1095052 1095052 0 0.0
RAM 15257 15257 0 0.0
bl702+mfd FLASH 1105746 1105746 0 0.0
RAM 15401 15401 0 0.0
bl702+rpc FLASH 1185118 1185118 0 0.0
RAM 24253 24253 0 0.0
bl706-eth FLASH 878096 878096 0 0.0
RAM 27360 27360 0 0.0
bl706-wifi FLASH 1130792 1130792 0 0.0
RAM 14693 14693 0 0.0
bl702l lighting-app bl702l FLASH 1081950 1081950 0 0.0
RAM 21812 21812 0 0.0
bl702l+mfd FLASH 1093212 1093212 0 0.0
RAM 21964 21964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 800212 800212 0 0.0
RAM 109284 109284 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117028 117028 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808652 808652 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762416 762416 0 0.0
RAM 105448 105448 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747068 747068 0 0.0
RAM 105640 105640 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606674 609730 3056 0.5
RAM 204580 204612 32 0.0
lock CC3235SF_LAUNCHXL FLASH 652210 652210 0 0.0
RAM 204852 204852 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 669281 669281 0 0.0
RAM 77748 77748 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 689141 689141 0 0.0
RAM 80380 80380 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 689141 689141 0 0.0
RAM 80380 80380 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 646077 646077 0 0.0
RAM 72816 72816 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609713 609713 0 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629341 629341 0 0.0
RAM 73436 73436 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629341 629341 0 0.0
RAM 73436 73436 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625409 625409 0 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 645117 645117 0 0.0
RAM 76452 76452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 645117 645117 0 0.0
RAM 76452 76452 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593637 599133 5496 0.9
RAM 67860 67908 48 0.1
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613489 618985 5496 0.9
RAM 70492 70540 48 0.1
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613489 618985 5496 0.9
RAM 70492 70540 48 0.1
efr32 lighting-app BRD4187C FLASH 927248 927240 -8 -0.0
RAM 134576 134576 0 0.0
lock-app BRD4338a FLASH 734652 734644 -8 -0.0
RAM 208008 208008 0 0.0
window-app BRD4187C FLASH 1014740 1014740 0 0.0
RAM 126656 126656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 897260 899288 2028 0.2
RAM 141613 141640 27 0.0
nrf7002dk_nrf5340_cpuapp FLASH 962860 964736 1876 0.2
RAM 140717 140744 27 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 832644 834684 2040 0.2
RAM 140468 140496 28 0.0
nxp contact k32w0+release FLASH 576084 576084 0 0.0
RAM 70112 70112 0 0.0
k32w1+release FLASH 591784 591784 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 611696 611696 0 0.0
RAM 69616 69616 0 0.0
k32w1+release FLASH 676528 676528 0 0.0
RAM 82928 82928 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1622980 1625692 2712 0.2
RAM 209792 209816 24 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1533428 1536020 2592 0.2
RAM 206584 206616 32 0.0
light cy8ckit_062s2_43012 FLASH 1460468 1460468 0 0.0
RAM 199856 199856 0 0.0
lock cy8ckit_062s2_43012 FLASH 1459668 1459668 0 0.0
RAM 224344 224344 0 0.0
qpg lighting-app qpg6105+debug FLASH 653084 653084 0 0.0
RAM 104688 104688 0 0.0
lock-app qpg6105+debug FLASH 612264 612264 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 475408 475408 0 0.0
RAM 144308 144308 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 619000 619000 0 0.0
RAM 50664 50664 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 669332 671388 2056 0.3
RAM 147944 147964 20 0.0
all-clusters-minimal-app tlsr9528a FLASH 765350 767406 2056 0.3
RAM 110140 110164 24 0.0
bridge-app tlsr9258a FLASH 677616 677616 0 0.0
RAM 91320 91320 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620592 620592 0 0.0
RAM 50708 50708 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706436 706436 0 0.0
RAM 74036 74036 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 617396 617396 0 0.0
RAM 144128 144128 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 803476 803476 0 0.0
RAM 99056 99056 0 0.0
lock-app-dfu tlsr9528a FLASH 652370 652370 0 0.0
RAM 66740 66740 0 0.0
ota-requestor-app tlsr9258a FLASH 695652 695652 0 0.0
RAM 91004 91004 0 0.0
pump-app-usb tlsr9518adk80d FLASH 629946 629946 0 0.0
RAM 55484 55484 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607548 607548 0 0.0
RAM 52728 52728 0 0.0
shell tlsr9518adk80d FLASH 466654 466654 0 0.0
RAM 68412 68412 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627334 627334 0 0.0
RAM 52344 52344 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651370 651370 0 0.0
RAM 56364 56364 0 0.0
thermostat tlsr9518adk80d FLASH 626256 631136 4880 0.8
RAM 53052 53104 52 0.1
window-covering tlsr9118bdk40d FLASH 521454 521454 0 0.0
RAM 97260 97260 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1669080 1676756 7676 0.5
RAM 48940 49052 112 0.2
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16381774 16344662 -37112 -0.2
RAM 7190464 7179656 -10808 -0.2

Copy link

github-actions bot commented Jul 29, 2024

PR #34532: Size comparison from d9bcdd3 to 259cd5d

Increases above 0.2%:

platform target config section d9bcdd3 259cd5d change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606674 609730 3056 0.5
cyw30739 thermostat CYW30739B2-P5-EVK-01 FLASH 593637 599133 5496 0.9
CYW30739B2-P5-EVK-02 FLASH 613489 618985 5496 0.9
CYW30739B2-P5-EVK-03 FLASH 613489 618985 5496 0.9
linux air-purifier-app debug FLASH 2710605 2726539 15934 0.6
all-clusters-app debug FLASH 5911254 5925756 14502 0.2
all-clusters-minimal-app debug FLASH 5315394 5329380 13986 0.3
shell debug FLASH 3000653 3015341 14688 0.5
thermostat-no-ble arm64 unknown 9208 9344 136 1.5
FLASH 4259860 4340684 80824 1.9
RAM 236368 239576 3208 1.4
telink all-clusters-app tlsr9118bdk40d FLASH 671138 673194 2056 0.3
all-clusters-minimal-app tlsr9528a FLASH 767122 769178 2056 0.3
thermostat tlsr9518adk80d FLASH 626256 631136 4880 0.8
tizen all-clusters-app arm FLASH 1674116 1681784 7668 0.5
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section d9bcdd3 259cd5d change % change
bl602 lighting-app bl602 FLASH 1276462 1276462 0 0.0
RAM 95576 95576 0 0.0
bl602+mfd FLASH 1290720 1290720 0 0.0
RAM 95728 95728 0 0.0
bl602+rpc FLASH 1315430 1315430 0 0.0
RAM 104000 104000 0 0.0
bl702 lighting-app bl702 FLASH 1097356 1097356 0 0.0
RAM 15257 15257 0 0.0
bl702+mfd FLASH 1108050 1108050 0 0.0
RAM 15401 15401 0 0.0
bl702+rpc FLASH 1187422 1187422 0 0.0
RAM 24253 24253 0 0.0
bl706-eth FLASH 880656 880656 0 0.0
RAM 27360 27360 0 0.0
bl706-wifi FLASH 1133608 1133608 0 0.0
RAM 14693 14693 0 0.0
bl702l lighting-app bl702l FLASH 1084254 1084254 0 0.0
RAM 21812 21812 0 0.0
bl702l+mfd FLASH 1095516 1095516 0 0.0
RAM 21964 21964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 801924 801924 0 0.0
RAM 109428 109428 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117028 117028 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808652 808652 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762416 762416 0 0.0
RAM 105448 105448 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747068 747068 0 0.0
RAM 105640 105640 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606674 609730 3056 0.5
RAM 204580 204612 32 0.0
lock CC3235SF_LAUNCHXL FLASH 652210 652210 0 0.0
RAM 204852 204852 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 671001 671001 0 0.0
RAM 77892 77892 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 690861 690861 0 0.0
RAM 80524 80524 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 690861 690861 0 0.0
RAM 80524 80524 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 647797 647797 0 0.0
RAM 72960 72960 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609713 609713 0 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629341 629341 0 0.0
RAM 73436 73436 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629341 629341 0 0.0
RAM 73436 73436 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625409 625409 0 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 645117 645117 0 0.0
RAM 76452 76452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 645117 645117 0 0.0
RAM 76452 76452 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593637 599133 5496 0.9
RAM 67860 67908 48 0.1
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613489 618985 5496 0.9
RAM 70492 70540 48 0.1
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613489 618985 5496 0.9
RAM 70492 70540 48 0.1
efr32 lighting-app BRD4187C FLASH 929000 928992 -8 -0.0
RAM 134700 134700 0 0.0
lock-app BRD4338a FLASH 734716 734716 0 0.0
RAM 207988 207988 0 0.0
window-app BRD4187C FLASH 1014780 1014772 -8 -0.0
RAM 126636 126636 0 0.0
esp32 all-clusters-app c3devkit DRAM 91180 91204 24 0.0
FLASH 1484266 1486478 2212 0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 117660 117684 24 0.0
FLASH 1553239 1555331 2092 0.1
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4632 4632 0 0.0
FLASH 2710605 2726539 15934 0.6
RAM 125200 125360 160 0.1
all-clusters-app debug unknown 5416 5416 0 0.0
FLASH 5911254 5925756 14502 0.2
RAM 500312 500280 -32 -0.0
all-clusters-minimal-app debug unknown 5312 5312 0 0.0
FLASH 5315394 5329380 13986 0.3
RAM 236592 236720 128 0.1
bridge-app debug unknown 5296 5296 0 0.0
FLASH 4707196 4707196 0 0.0
RAM 214048 214048 0 0.0
chip-tool debug unknown 5784 5784 0 0.0
FLASH 12337160 12321612 -15548 -0.1
RAM 553522 552978 -544 -0.1
chip-tool-ipv6only arm64 unknown 20192 20168 -24 -0.1
FLASH 11035980 11021068 -14912 -0.1
RAM 603240 602672 -568 -0.1
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11343261 11328297 -14964 -0.1
RAM 550362 549786 -576 -0.1
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4463232 4463232 0 0.0
RAM 199248 199248 0 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5640753 5640753 0 0.0
RAM 225136 225136 0 0.0
lock-app debug unknown 5232 5232 0 0.0
FLASH 4757986 4757986 0 0.0
RAM 200704 200704 0 0.0
ota-provider-app debug unknown 4608 4608 0 0.0
FLASH 4402452 4402452 0 0.0
RAM 194880 194880 0 0.0
ota-requestor-app debug unknown 4544 4544 0 0.0
FLASH 4540598 4540598 0 0.0
RAM 199416 199416 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3000653 3015341 14688 0.5
RAM 154760 154888 128 0.1
thermostat-no-ble arm64 unknown 9208 9344 136 1.5
FLASH 4259860 4340684 80824 1.9
RAM 236368 239576 3208 1.4
tv-app debug unknown 5504 5504 0 0.0
FLASH 5983453 5983325 -128 -0.0
RAM 578176 578016 -160 -0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10549869 10533949 -15920 -0.2
RAM 638984 638296 -688 -0.1
mbed lock-app-release cy8cproto_062_4343w FLASH 1503444 1503444 0 0.0
RAM 226728 226728 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 898960 900984 2024 0.2
RAM 141757 141784 27 0.0
nrf7002dk_nrf5340_cpuapp FLASH 964548 966420 1872 0.2
RAM 140861 140888 27 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 834276 836316 2040 0.2
RAM 140612 140640 28 0.0
nxp contact k32w0+release FLASH 576084 576084 0 0.0
RAM 70112 70112 0 0.0
k32w1+release FLASH 591784 591784 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 611696 611696 0 0.0
RAM 69616 69616 0 0.0
k32w1+release FLASH 676528 676528 0 0.0
RAM 82928 82928 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1625044 1627756 2712 0.2
RAM 209936 209960 24 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1535284 1537876 2592 0.2
RAM 206728 206760 32 0.0
light cy8ckit_062s2_43012 FLASH 1462532 1462532 0 0.0
RAM 200000 200000 0 0.0
lock cy8ckit_062s2_43012 FLASH 1459668 1459668 0 0.0
RAM 224344 224344 0 0.0
qpg lighting-app qpg6105+debug FLASH 654812 654812 0 0.0
RAM 104844 104844 0 0.0
lock-app qpg6105+debug FLASH 612264 612264 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 477112 477112 0 0.0
RAM 144452 144452 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 619000 619000 0 0.0
RAM 50664 50664 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 671138 673194 2056 0.3
RAM 148088 148108 20 0.0
all-clusters-minimal-app tlsr9528a FLASH 767122 769178 2056 0.3
RAM 110284 110308 24 0.0
bridge-app tlsr9258a FLASH 677616 677616 0 0.0
RAM 91320 91320 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620592 620592 0 0.0
RAM 50708 50708 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706436 706436 0 0.0
RAM 74036 74036 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 619218 619218 0 0.0
RAM 144272 144272 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 805362 805362 0 0.0
RAM 99200 99200 0 0.0
lock-app-dfu tlsr9528a FLASH 652370 652370 0 0.0
RAM 66740 66740 0 0.0
ota-requestor-app tlsr9258a FLASH 695652 695652 0 0.0
RAM 91004 91004 0 0.0
pump-app-usb tlsr9518adk80d FLASH 629946 629946 0 0.0
RAM 55484 55484 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607548 607548 0 0.0
RAM 52728 52728 0 0.0
shell tlsr9518adk80d FLASH 466654 466654 0 0.0
RAM 68412 68412 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627334 627334 0 0.0
RAM 52344 52344 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651370 651370 0 0.0
RAM 56364 56364 0 0.0
thermostat tlsr9518adk80d FLASH 626256 631136 4880 0.8
RAM 53052 53104 52 0.1
window-covering tlsr9118bdk40d FLASH 521454 521454 0 0.0
RAM 97260 97260 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1674116 1681784 7668 0.5
RAM 49636 49748 112 0.2
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16382014 16344902 -37112 -0.2
RAM 7190464 7179656 -10808 -0.2

@fessehaeve
Copy link
Contributor

Should Thermostat cluster revision be updated to 7?

@github-actions github-actions bot added the tests label Jul 29, 2024
@nivi-apple nivi-apple force-pushed the add_presets_to_Sdk branch from b801c13 to abee68b Compare July 29, 2024 18:19
Copy link

github-actions bot commented Jul 29, 2024

PR #34532: Size comparison from 295ad53 to abee68b

Increases above 0.2%:

platform target config section 295ad53 abee68b change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606674 609730 3056 0.5
cyw30739 thermostat CYW30739B2-P5-EVK-01 FLASH 593637 599133 5496 0.9
CYW30739B2-P5-EVK-02 FLASH 613489 618985 5496 0.9
CYW30739B2-P5-EVK-03 FLASH 613489 618985 5496 0.9
linux air-purifier-app debug FLASH 2710605 2726539 15934 0.6
all-clusters-app debug FLASH 5913546 5928048 14502 0.2
all-clusters-minimal-app debug FLASH 5315394 5329380 13986 0.3
shell debug FLASH 3000717 3015421 14704 0.5
thermostat-no-ble arm64 unknown 9208 9344 136 1.5
FLASH 4259860 4340684 80824 1.9
RAM 236368 239576 3208 1.4
telink all-clusters-app tlsr9118bdk40d FLASH 671198 673252 2054 0.3
all-clusters-minimal-app tlsr9528a FLASH 767122 769178 2056 0.3
thermostat tlsr9518adk80d FLASH 626256 631136 4880 0.8
tizen all-clusters-app arm FLASH 1674432 1681960 7528 0.4
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 295ad53 abee68b change % change
bl602 lighting-app bl602 FLASH 1276462 1276462 0 0.0
RAM 95576 95576 0 0.0
bl602+mfd FLASH 1290720 1290720 0 0.0
RAM 95728 95728 0 0.0
bl602+rpc FLASH 1315430 1315430 0 0.0
RAM 104000 104000 0 0.0
bl702 lighting-app bl702 FLASH 1097356 1097356 0 0.0
RAM 15257 15257 0 0.0
bl702+mfd FLASH 1108050 1108050 0 0.0
RAM 15401 15401 0 0.0
bl702+rpc FLASH 1187422 1187422 0 0.0
RAM 24253 24253 0 0.0
bl706-eth FLASH 880656 880656 0 0.0
RAM 27360 27360 0 0.0
bl706-wifi FLASH 1133608 1133608 0 0.0
RAM 14693 14693 0 0.0
bl702l lighting-app bl702l FLASH 1084254 1084254 0 0.0
RAM 21812 21812 0 0.0
bl702l+mfd FLASH 1095516 1095516 0 0.0
RAM 21964 21964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 801924 801924 0 0.0
RAM 109428 109428 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117028 117028 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808652 808652 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762416 762416 0 0.0
RAM 105448 105448 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747068 747068 0 0.0
RAM 105640 105640 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606674 609730 3056 0.5
RAM 204580 204612 32 0.0
lock CC3235SF_LAUNCHXL FLASH 652210 652210 0 0.0
RAM 204852 204852 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 671001 671001 0 0.0
RAM 77892 77892 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 690861 690861 0 0.0
RAM 80524 80524 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 690861 690861 0 0.0
RAM 80524 80524 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 647797 647797 0 0.0
RAM 72960 72960 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609713 609713 0 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629341 629341 0 0.0
RAM 73436 73436 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629341 629341 0 0.0
RAM 73436 73436 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625409 625409 0 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 645117 645117 0 0.0
RAM 76452 76452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 645117 645117 0 0.0
RAM 76452 76452 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593637 599133 5496 0.9
RAM 67860 67908 48 0.1
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613489 618985 5496 0.9
RAM 70492 70540 48 0.1
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613489 618985 5496 0.9
RAM 70492 70540 48 0.1
efr32 lighting-app BRD4187C FLASH 929000 928992 -8 -0.0
RAM 134700 134700 0 0.0
lock-app BRD4338a FLASH 734716 734716 0 0.0
RAM 207988 207988 0 0.0
window-app BRD4187C FLASH 1014780 1014772 -8 -0.0
RAM 126636 126636 0 0.0
esp32 all-clusters-app c3devkit DRAM 91236 91228 -8 -0.0
FLASH 1484588 1486648 2060 0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 117724 117708 -16 -0.0
FLASH 1553559 1555507 1948 0.1
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4632 4632 0 0.0
FLASH 2710605 2726539 15934 0.6
RAM 125200 125360 160 0.1
all-clusters-app debug unknown 5416 5416 0 0.0
FLASH 5913546 5928048 14502 0.2
RAM 501016 500760 -256 -0.1
all-clusters-minimal-app debug unknown 5312 5312 0 0.0
FLASH 5315394 5329380 13986 0.3
RAM 236592 236720 128 0.1
bridge-app debug unknown 5296 5296 0 0.0
FLASH 4707196 4707196 0 0.0
RAM 214048 214048 0 0.0
chip-tool debug unknown 5784 5784 0 0.0
FLASH 12337160 12321612 -15548 -0.1
RAM 553522 552978 -544 -0.1
chip-tool-ipv6only arm64 unknown 20192 20168 -24 -0.1
FLASH 11035980 11021068 -14912 -0.1
RAM 603240 602672 -568 -0.1
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11343261 11328297 -14964 -0.1
RAM 550362 549786 -576 -0.1
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4463232 4463232 0 0.0
RAM 199248 199248 0 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5640753 5640753 0 0.0
RAM 225136 225136 0 0.0
lock-app debug unknown 5232 5232 0 0.0
FLASH 4757986 4757986 0 0.0
RAM 200704 200704 0 0.0
ota-provider-app debug unknown 4608 4608 0 0.0
FLASH 4402452 4402452 0 0.0
RAM 194880 194880 0 0.0
ota-requestor-app debug unknown 4544 4544 0 0.0
FLASH 4540598 4540598 0 0.0
RAM 199416 199416 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3000717 3015421 14704 0.5
RAM 155304 155208 -96 -0.1
thermostat-no-ble arm64 unknown 9208 9344 136 1.5
FLASH 4259860 4340684 80824 1.9
RAM 236368 239576 3208 1.4
tv-app debug unknown 5504 5504 0 0.0
FLASH 5983453 5983325 -128 -0.0
RAM 578176 578016 -160 -0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10549869 10533949 -15920 -0.2
RAM 638984 638296 -688 -0.1
mbed lock-app-release cy8cproto_062_4343w FLASH 1503444 1503444 0 0.0
RAM 226728 226728 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 899288 901160 1872 0.2
RAM 141787 141772 -15 -0.0
nrf7002dk_nrf5340_cpuapp FLASH 964860 966584 1724 0.2
RAM 140891 140876 -15 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 834276 836316 2040 0.2
RAM 140612 140640 28 0.0
nxp contact k32w0+release FLASH 576084 576084 0 0.0
RAM 70112 70112 0 0.0
k32w1+release FLASH 591784 591784 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 611696 611696 0 0.0
RAM 69616 69616 0 0.0
k32w1+release FLASH 676528 676528 0 0.0
RAM 82928 82928 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1625364 1627924 2560 0.2
RAM 210000 209976 -24 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1535284 1537876 2592 0.2
RAM 206728 206760 32 0.0
light cy8ckit_062s2_43012 FLASH 1462532 1462532 0 0.0
RAM 200000 200000 0 0.0
lock cy8ckit_062s2_43012 FLASH 1459668 1459668 0 0.0
RAM 224344 224344 0 0.0
qpg lighting-app qpg6105+debug FLASH 654812 654812 0 0.0
RAM 104844 104844 0 0.0
lock-app qpg6105+debug FLASH 612264 612264 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 477112 477112 0 0.0
RAM 144452 144452 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 619000 619000 0 0.0
RAM 50664 50664 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 671198 673252 2054 0.3
RAM 149120 149100 -20 -0.0
all-clusters-minimal-app tlsr9528a FLASH 767122 769178 2056 0.3
RAM 110284 110308 24 0.0
bridge-app tlsr9258a FLASH 677616 677616 0 0.0
RAM 91320 91320 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620592 620592 0 0.0
RAM 50708 50708 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706436 706436 0 0.0
RAM 74036 74036 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 619276 619276 0 0.0
RAM 145276 145276 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 805362 805362 0 0.0
RAM 99200 99200 0 0.0
lock-app-dfu tlsr9528a FLASH 652370 652370 0 0.0
RAM 66740 66740 0 0.0
ota-requestor-app tlsr9258a FLASH 695652 695652 0 0.0
RAM 91004 91004 0 0.0
pump-app-usb tlsr9518adk80d FLASH 629946 629946 0 0.0
RAM 55484 55484 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607548 607548 0 0.0
RAM 52728 52728 0 0.0
shell tlsr9518adk80d FLASH 466654 466654 0 0.0
RAM 68412 68412 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627334 627334 0 0.0
RAM 52344 52344 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651370 651370 0 0.0
RAM 56364 56364 0 0.0
thermostat tlsr9518adk80d FLASH 626256 631136 4880 0.8
RAM 53052 53104 52 0.1
window-covering tlsr9118bdk40d FLASH 521510 521510 0 0.0
RAM 98264 98264 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1674432 1681960 7528 0.4
RAM 49700 49764 64 0.1
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16382014 16344902 -37112 -0.2
RAM 7190464 7179656 -10808 -0.2

@mergify mergify bot merged commit c77832f into project-chip:master Jul 30, 2024
72 checks passed
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 31, 2024
…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]>
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Jul 31, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add support for Presets attribute and commands to write presets attribute for Thermostat cluster
4 participants