Skip to content

Conversation

tomasmcguinness
Copy link

@tomasmcguinness tomasmcguinness commented Sep 27, 2025

Summary

In this PR, I have added a new GetScheduleTypeAtIndex function to the ThermostatDelegate.

I updated the Read function to invoke this callback for the ScheduleTypes attribute, replaced the default empty list.

This is my first PR to connectedhomeip, so all feedback is welcome! My goal is to implement the full Matter Schedule in a series of PRs.

Related issues

N/A

Testing

Added Python test: TC_TSTAT_4_4.py yaml

Note

I'm would like to add python TC_TSTAT tests for this feature, but I think that's outside the scope of a non-CSA member.

Manual Testing

I used matter-repl to test the new attribute against the thermostat Linux example

await devCtrl.CommissionOnNetwork(1234,20202021)
await devCtrl.ReadAttribute(1234,[(1, Clusters.Thermostat)])

This returned the new ScheduleTypes attribute, populated with the two values set in the example's delegate

image

Readability checklist

The checklist below will help the reviewer finish PR review in time and keep the
code readable:

  • PR title is
    descriptive
  • Apply the
    “When in Rome…”
    rule (coding style)
  • PR size is short
  • Try to avoid "squashing" and "force-update" in commit history
  • CI time didn't increase

See: Pull Request Guidelines

@CLAassistant
Copy link

CLAassistant commented Sep 27, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

github-actions bot commented Sep 27, 2025

PR #41160: Size comparison from d1d4399 to 4aa48f8

Full report (6 builds for cc32xx, nrfconnect, realtek, stm32)
platform target config section d1d4399 4aa48f8 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0

Copy link

github-actions bot commented Sep 27, 2025

PR #41160: Size comparison from d1d4399 to 524aa54

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section d1d4399 524aa54 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1785274 1785554 280 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668116 400 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587780 400 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

codecov bot commented Sep 27, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.94%. Comparing base (5a37876) to head (1934547).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...p/clusters/thermostat-server/thermostat-server.cpp 0.00% 11 Missing ⚠️
...thermostat-common/src/thermostat-delegate-impl.cpp 61.53% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #41160      +/-   ##
==========================================
- Coverage   50.94%   50.94%   -0.01%     
==========================================
  Files        1378     1378              
  Lines      100698   100751      +53     
  Branches    13058    13070      +12     
==========================================
+ Hits        51302    51326      +24     
- Misses      49396    49425      +29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Sep 27, 2025

PR #41160: Size comparison from d1d4399 to a34bf33

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section d1d4399 a34bf33 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1785274 1785554 280 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668116 400 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587780 400 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

github-actions bot commented Sep 27, 2025

PR #41160: Size comparison from d1d4399 to 303f504

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section d1d4399 303f504 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1785274 1785554 280 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668116 400 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587780 400 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

github-actions bot commented Sep 28, 2025

PR #41160: Size comparison from d1d4399 to 265e1b5

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section d1d4399 265e1b5 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1785274 1785554 280 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668116 400 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587780 400 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x123;
ram attribute featureMap default = 419;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe make this hex ... decimal for a bit set is even harder to figure out

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was generated by the zap scripts. Do I need to do anything special when using the zap tool?

Copy link
Contributor

@lboue lboue Sep 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I compare it with another example (air-purifier), FanControl featureMap is also written in decimal rather than hexadecimal.

server cluster FanControl {
ram attribute fanMode default = 0;
ram attribute fanModeSequence default = 2;
ram attribute percentSetting default = 0;
ram attribute percentCurrent default = 0;
ram attribute speedMax default = 10;
ram attribute speedSetting default = 0;
ram attribute speedCurrent default = 0;
ram attribute rockSupport default = 0x01;
ram attribute rockSetting default = 0x00;
ram attribute windSupport default = 0x03;
ram attribute windSetting default = 0x00;
ram attribute airflowDirection default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute clusterRevision default = 4;
handle command Step;
}
}

Copy link
Contributor

@lboue lboue Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the end, should we use hexadecimal or decimal notation?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be autogenerated by the zap_regen_all script and not hand edited (so whatever the tool does should be allowed).

Copy link
Author

@tomasmcguinness tomasmcguinness Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran scripts/tools/zap_regen_all.py

It produces the same decimal value in the thermostat.matter file

image

Copy link
Author

@tomasmcguinness tomasmcguinness Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I use the ZAP tool to update the features, it puts a decimal value into the attributes value.

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can edit the 'Default' value and @andy31415's comment was make this hex rather than decimal. Since Features are a bitmap in the spec it's easier to work out which features we're supporting.

Copy link
Author

@tomasmcguinness tomasmcguinness Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the ZAP tool, I set the Default value to 0x1A3

ram      attribute featureMap default = 0x1A3;

I will have a look at updating the ZAP tool to put a hex value into this field for anyone else that runs into this problem.

Copy link

github-actions bot commented Sep 29, 2025

PR #41160: Size comparison from d1d4399 to a444c47

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section d1d4399 a444c47 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1785274 1785554 280 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668116 400 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587780 400 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

github-actions bot commented Sep 29, 2025

PR #41160: Size comparison from d1d4399 to e8fede9

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section d1d4399 e8fede9 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 553290 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1785274 1785554 280 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916748 296 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668116 400 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587780 400 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704072 8 0.0
RAM 106712 106720 8 0.0
lighting-app rtl8777g FLASH 755240 755248 8 0.0
RAM 127068 127084 16 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

@tomasmcguinness tomasmcguinness marked this pull request as ready for review September 30, 2025 05:27
@mergify mergify bot added the conflict label Oct 2, 2025
@mergify mergify bot removed the conflict label Oct 3, 2025
Copy link

github-actions bot commented Oct 3, 2025

PR #41160: Size comparison from 1ceedce to c244b71

Full report (36 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 1ceedce c244b71 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068114 1068114 0 0.0
RAM 117077 117077 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898334 898334 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768156 768156 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779792 779792 0 0.0
RAM 108312 108312 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725772 725772 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710240 710240 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552994 553298 304 0.1
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585686 585686 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959864 959864 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755528 755520 -8 -0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053692 1053692 0 0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102976 0 0.0
FLASH 1787310 1787586 276 0.0
IRAM 83862 83862 0 0.0
nxp contact mcxw71+release FLASH 690368 690368 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721928 721928 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769024 769024 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1668932 1669332 400 0.0
RAM 213004 213004 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587356 1587756 400 0.0
RAM 210268 210268 0 0.0
light cy8ckit_062s2_43012 FLASH 1454788 1454788 0 0.0
RAM 197000 197000 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487100 1487100 0 0.0
RAM 224720 224720 0 0.0
qpg lighting-app qpg6200+debug FLASH 833872 833872 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770868 770868 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704160 704160 0 0.0
RAM 106720 106720 0 0.0
lighting-app rtl8777g FLASH 755320 755320 0 0.0
RAM 127076 127076 0 0.0
stm32 light STM32WB5MM-DK FLASH 467764 467764 0 0.0
RAM 141152 141152 0 0.0
telink bridge-app tl7218x FLASH 707538 707538 0 0.0
RAM 90308 90308 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795368 795368 0 0.0
RAM 40860 40860 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 786570 786570 0 0.0
RAM 93504 93504 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713362 713362 0 0.0
RAM 51680 51680 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 746666 746666 0 0.0
RAM 70728 70728 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723518 723518 0 0.0
RAM 34428 34428 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 600792 600792 0 0.0
RAM 108552 108552 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819190 819194 4 0.0
RAM 91900 91900 0 0.0

Copy link

github-actions bot commented Oct 4, 2025

PR #41160: Size comparison from 16876bc to 0df7671

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 16876bc 0df7671 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104818 1104818 0 0.0
RAM 178738 178738 0 0.0
bl702 lighting-app bl702+eth FLASH 659326 659326 0 0.0
RAM 134809 134809 0 0.0
bl702+wifi FLASH 835394 835394 0 0.0
RAM 124293 124293 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068498 1068498 0 0.0
RAM 117125 117125 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898764 898764 0 0.0
RAM 105460 105460 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981260 981260 0 0.0
RAM 109620 109620 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768732 768732 0 0.0
RAM 103192 103192 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780392 780392 0 0.0
RAM 108352 108352 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 726364 726364 0 0.0
RAM 97260 97260 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710832 710832 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553346 553642 296 0.1
RAM 204968 204968 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586230 586230 0 0.0
RAM 205200 205200 0 0.0
efr32 lock-app BRD4187C FLASH 960520 960520 0 0.0
RAM 126216 126216 0 0.0
BRD4338a FLASH 756576 756568 -8 -0.0
RAM 255516 255516 0 0.0
window-app BRD4187C FLASH 1055004 1055004 0 0.0
RAM 122412 122412 0 0.0
esp32 all-clusters-app c3devkit DRAM 103024 103024 0 0.0
FLASH 1788216 1788492 276 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 928352 928652 300 0.0
RAM 160995 160995 0 0.0
nxp contact mcxw71+release FLASH 691280 691280 0 0.0
RAM 61432 61432 0 0.0
lighting mcxw71+release FLASH 722840 722840 0 0.0
RAM 68076 68076 0 0.0
lock mcxw71+release FLASH 770088 770088 0 0.0
RAM 61796 61796 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670316 1670732 416 0.0
RAM 213052 213052 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1588740 1589156 416 0.0
RAM 210324 210324 0 0.0
light cy8ckit_062s2_43012 FLASH 1455852 1455852 0 0.0
RAM 197040 197040 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488172 1488172 0 0.0
RAM 224752 224752 0 0.0
qpg lighting-app qpg6200+debug FLASH 834576 834576 0 0.0
RAM 127580 127580 0 0.0
lock-app qpg6200+debug FLASH 771508 771508 0 0.0
RAM 118556 118556 0 0.0
realtek light-switch-app rtl8777g FLASH 704752 704752 0 0.0
RAM 106760 106760 0 0.0
lighting-app rtl8777g FLASH 755912 755912 0 0.0
RAM 127116 127116 0 0.0
stm32 light STM32WB5MM-DK FLASH 468404 468404 0 0.0
RAM 141192 141192 0 0.0
telink bridge-app tl7218x FLASH 707752 707752 0 0.0
RAM 90344 90344 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795494 795494 0 0.0
RAM 40900 40900 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 786690 786690 0 0.0
RAM 93544 93544 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713520 713520 0 0.0
RAM 51716 51716 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 746824 746824 0 0.0
RAM 70764 70764 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723676 723676 0 0.0
RAM 34464 34464 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 600918 600918 0 0.0
RAM 108592 108592 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819310 819314 4 0.0
RAM 91940 91940 0 0.0

Copy link

github-actions bot commented Oct 5, 2025

PR #41160: Size comparison from 1b2d06a to 4fc75bd

Full report (1 build for stm32)
platform target config section 1b2d06a 4fc75bd change % change
stm32 light STM32WB5MM-DK FLASH 468404 468404 0 0.0
RAM 141192 141192 0 0.0

Copy link

github-actions bot commented Oct 5, 2025

PR #41160: Size comparison from 1b2d06a to af7588f

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 1b2d06a af7588f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104818 1104818 0 0.0
RAM 178738 178738 0 0.0
bl702 lighting-app bl702+eth FLASH 659326 659326 0 0.0
RAM 134809 134809 0 0.0
bl702+wifi FLASH 835394 835394 0 0.0
RAM 124293 124293 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068498 1068498 0 0.0
RAM 117125 117125 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898764 898764 0 0.0
RAM 105460 105460 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981260 981260 0 0.0
RAM 109620 109620 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768732 768732 0 0.0
RAM 103192 103192 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780392 780392 0 0.0
RAM 108352 108352 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 726364 726364 0 0.0
RAM 97260 97260 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710832 710832 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553346 553642 296 0.1
RAM 204968 204968 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586230 586230 0 0.0
RAM 205200 205200 0 0.0
efr32 lock-app BRD4187C FLASH 960520 960520 0 0.0
RAM 126216 126216 0 0.0
BRD4338a FLASH 756576 756568 -8 -0.0
RAM 255516 255516 0 0.0
window-app BRD4187C FLASH 1055004 1055004 0 0.0
RAM 122412 122412 0 0.0
esp32 all-clusters-app c3devkit DRAM 103024 103024 0 0.0
FLASH 1788216 1788492 276 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 928352 928652 300 0.0
RAM 160995 160995 0 0.0
nxp contact mcxw71+release FLASH 691280 691280 0 0.0
RAM 61432 61432 0 0.0
lighting mcxw71+release FLASH 722840 722840 0 0.0
RAM 68076 68076 0 0.0
lock mcxw71+release FLASH 770088 770088 0 0.0
RAM 61796 61796 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670316 1670732 416 0.0
RAM 213052 213052 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1588740 1589156 416 0.0
RAM 210324 210324 0 0.0
light cy8ckit_062s2_43012 FLASH 1455852 1455852 0 0.0
RAM 197040 197040 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488172 1488172 0 0.0
RAM 224752 224752 0 0.0
qpg lighting-app qpg6200+debug FLASH 834576 834576 0 0.0
RAM 127580 127580 0 0.0
lock-app qpg6200+debug FLASH 771508 771508 0 0.0
RAM 118556 118556 0 0.0
realtek light-switch-app rtl8777g FLASH 704752 704752 0 0.0
RAM 106760 106760 0 0.0
lighting-app rtl8777g FLASH 755912 755912 0 0.0
RAM 127116 127116 0 0.0
stm32 light STM32WB5MM-DK FLASH 468404 468404 0 0.0
RAM 141192 141192 0 0.0
telink bridge-app tl7218x FLASH 707752 707752 0 0.0
RAM 90344 90344 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795494 795494 0 0.0
RAM 40900 40900 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 786690 786690 0 0.0
RAM 93544 93544 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713520 713520 0 0.0
RAM 51716 51716 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 746824 746824 0 0.0
RAM 70764 70764 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723676 723676 0 0.0
RAM 34464 34464 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 600918 600918 0 0.0
RAM 108592 108592 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819310 819314 4 0.0
RAM 91940 91940 0 0.0

Copy link

github-actions bot commented Oct 7, 2025

PR #41160: Size comparison from 7b16617 to 7a9c3a5

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7b16617 7a9c3a5 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105078 1105078 0 0.0
RAM 178738 178738 0 0.0
bl702 lighting-app bl702+eth FLASH 659582 659582 0 0.0
RAM 134801 134801 0 0.0
bl702+wifi FLASH 835650 835650 0 0.0
RAM 124285 124285 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068794 1068794 0 0.0
RAM 117117 117117 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899020 899020 0 0.0
RAM 105460 105460 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981812 981812 0 0.0
RAM 109612 109612 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769208 769208 0 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780868 780868 0 0.0
RAM 108352 108352 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 726840 726840 0 0.0
RAM 97252 97252 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711316 711316 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553942 554238 296 0.1
RAM 204968 204968 0 0.0
lock CC3235SF_LAUNCHXL FLASH 586674 586674 0 0.0
RAM 205200 205200 0 0.0
efr32 lock-app BRD4187C FLASH 961000 961000 0 0.0
RAM 126220 126220 0 0.0
BRD4338a FLASH 756768 756768 0 0.0
RAM 255520 255520 0 0.0
window-app BRD4187C FLASH 1055236 1055228 -8 -0.0
RAM 122416 122416 0 0.0
esp32 all-clusters-app c3devkit DRAM 103024 103024 0 0.0
FLASH 1788902 1789178 276 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 928944 929244 300 0.0
RAM 160991 160991 0 0.0
nxp contact mcxw71+release FLASH 691552 691552 0 0.0
RAM 61424 61424 0 0.0
lighting mcxw71+release FLASH 723104 723104 0 0.0
RAM 68076 68076 0 0.0
lock mcxw71+release FLASH 770344 770344 0 0.0
RAM 61788 61788 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670812 1671228 416 0.0
RAM 213060 213060 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589252 1589652 400 0.0
RAM 210324 210324 0 0.0
light cy8ckit_062s2_43012 FLASH 1456116 1456116 0 0.0
RAM 197040 197040 0 0.0
lock cy8ckit_062s2_43012 FLASH 1488412 1488412 0 0.0
RAM 224760 224760 0 0.0
qpg lighting-app qpg6200+debug FLASH 835216 835216 0 0.0
RAM 127592 127592 0 0.0
lock-app qpg6200+debug FLASH 771972 771972 0 0.0
RAM 118552 118552 0 0.0
realtek light-switch-app rtl8777g FLASH 705184 705184 0 0.0
RAM 106756 106756 0 0.0
lighting-app rtl8777g FLASH 756376 756376 0 0.0
RAM 127120 127120 0 0.0
stm32 light STM32WB5MM-DK FLASH 468884 468884 0 0.0
RAM 141192 141192 0 0.0
telink bridge-app tl7218x FLASH 708284 708284 0 0.0
RAM 90340 90340 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795816 795816 0 0.0
RAM 40896 40896 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787012 787012 0 0.0
RAM 93540 93540 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713818 713818 0 0.0
RAM 51712 51712 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747122 747122 0 0.0
RAM 70760 70760 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723974 723974 0 0.0
RAM 34460 34460 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601240 601240 0 0.0
RAM 108588 108588 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819632 819636 4 0.0
RAM 91936 91936 0 0.0

@tomasmcguinness
Copy link
Author

Is there anything else I need to do in order to move this PR along?

@jamesharrow
Copy link
Contributor

Is there anything else I need to do in order to move this PR along?

In order for it to merge it needs 2 'approvers' (who are in a list of pull approvers) - and the CI needs to build cleanly, and all comments need to be resolved. It's best if the person who raised the comment clicks "Resolve comment" but sometimes they forget to come back and re-review.

I've asked @andy31415 and @ReneJosefsen to take another look (click the circular arrows icon next to their name if you have that option).

Copy link

github-actions bot commented Oct 11, 2025

PR #41160: Size comparison from 5a37876 to c229301

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 5a37876 c229301 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1105406 0 0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659894 659894 0 0.0
RAM 134825 134825 0 0.0
bl702+wifi FLASH 835978 835978 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1069114 0 0.0
RAM 117141 117141 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 899328 0 0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 981876 0 0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 769432 0 0.0
RAM 103208 103208 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 781076 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727072 0 0.0
RAM 97276 97276 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 711540 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554614 304 0.1
RAM 205544 205544 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587034 587034 0 0.0
RAM 205768 205768 0 0.0
efr32 lock-app BRD4187C FLASH 961168 961168 0 0.0
RAM 126228 126228 0 0.0
BRD4338a FLASH 755896 755888 -8 -0.0
RAM 255516 255516 0 0.0
window-app BRD4187C FLASH 1055508 1055508 0 0.0
RAM 122424 122424 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1792516 1792792 276 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 929968 930268 300 0.0
RAM 160987 160987 0 0.0
nxp contact mcxw71+release FLASH 691800 691800 0 0.0
RAM 61440 61440 0 0.0
lighting mcxw71+release FLASH 723368 723368 0 0.0
RAM 68100 68100 0 0.0
lock mcxw71+release FLASH 770592 770592 0 0.0
RAM 61804 61804 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1672460 1672860 400 0.0
RAM 213620 213620 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1590356 416 0.0
RAM 210900 210900 0 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1456772 0 0.0
RAM 197616 197616 0 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1489084 0 0.0
RAM 225328 225328 0 0.0
qpg lighting-app qpg6200+debug FLASH 835432 835432 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772180 772180 0 0.0
RAM 118580 118580 0 0.0
realtek light-switch-app rtl8777g FLASH 705368 705368 0 0.0
RAM 106784 106784 0 0.0
lighting-app rtl8777g FLASH 756568 756568 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469068 0 0.0
RAM 141208 141208 0 0.0
telink bridge-app tl7218x FLASH 708408 708408 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 795940 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787136 787136 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 713942 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 747246 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 724098 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 601366 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 819760 4 0.0
RAM 91948 91948 0 0.0

callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x123;
ram attribute featureMap default = 419;
Copy link
Contributor

@lboue lboue Oct 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this hex rather than decimal:

Suggested change
ram attribute featureMap default = 419;
ram attribute featureMap default = 0x1a3;

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done.

"singleton": 0,
"bounded": 0,
"defaultValue": "0x123",
"defaultValue": "419",
Copy link
Contributor

@lboue lboue Oct 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this hex rather than decimal:

Suggested change
"defaultValue": "419",
"defaultValue": "0x1a3",

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Now we are ready.

Copy link

github-actions bot commented Oct 14, 2025

PR #41160: Size comparison from 5a37876 to 1934547

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 5a37876 1934547 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1105406 0 0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659894 659894 0 0.0
RAM 134825 134825 0 0.0
bl702+wifi FLASH 835978 835978 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1069114 0 0.0
RAM 117141 117141 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 899328 0 0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 981876 0 0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 769432 0 0.0
RAM 103208 103208 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 781076 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727072 0 0.0
RAM 97276 97276 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 711540 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554614 304 0.1
RAM 205544 205544 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587034 587034 0 0.0
RAM 205768 205768 0 0.0
efr32 lock-app BRD4187C FLASH 961168 961168 0 0.0
RAM 126228 126228 0 0.0
BRD4338a FLASH 755896 755888 -8 -0.0
RAM 255516 255516 0 0.0
window-app BRD4187C FLASH 1055508 1055508 0 0.0
RAM 122424 122424 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1792516 1794096 1580 0.1
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 929968 931432 1464 0.2
RAM 160987 160987 0 0.0
nxp contact mcxw71+release FLASH 691800 691800 0 0.0
RAM 61440 61440 0 0.0
lighting mcxw71+release FLASH 723368 723368 0 0.0
RAM 68100 68100 0 0.0
lock mcxw71+release FLASH 770592 770592 0 0.0
RAM 61804 61804 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1672460 1674220 1760 0.1
RAM 213620 213620 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1590356 416 0.0
RAM 210900 210900 0 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1456772 0 0.0
RAM 197616 197616 0 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1489084 0 0.0
RAM 225328 225328 0 0.0
qpg lighting-app qpg6200+debug FLASH 835432 835432 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772180 772180 0 0.0
RAM 118580 118580 0 0.0
realtek light-switch-app rtl8777g FLASH 705368 705368 0 0.0
RAM 106784 106784 0 0.0
lighting-app rtl8777g FLASH 756568 756568 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469068 0 0.0
RAM 141208 141208 0 0.0
telink bridge-app tl7218x FLASH 708408 708408 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 795940 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787136 787136 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 713942 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 747246 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 724098 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 601366 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 819760 4 0.0
RAM 91948 91948 0 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants