Skip to content

Conversation

ehsanziyaee
Copy link
Contributor

@ehsanziyaee ehsanziyaee commented Aug 1, 2025

Summary

1 - I saw that there is no GetInstance function in the protected section of the Delegate class of ModeBase cluster, like other clusters' structure pattern. So I opened an issue and its related PR.

2- Some examples, such as 'Chef', that used this cluster were also edited.

3- The 'SetInstace' function was moved to the public section of the delegate class.

4- The 'Instance class' member was moved to the private section of the delegate class.

Related issues

Testing

There is no test because it's just a replacement.

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 Aug 1, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the app label Aug 1, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the Delegate class in the ModeBase cluster to improve encapsulation and align with patterns used in other clusters. The changes involve moving mInstance and SetInstance to be private, and adding a new protected GetInstance method. The logic is sound and this is a good improvement. I have one suggestion to add documentation for the new method to enhance maintainability.

Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from f263ab7 to e9ee5a4

Full report (12 builds for cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
platform target config section f263ab7f e9ee5a4 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766848 766848 0 0.0
RAM 103320 103320 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778452 778452 0 0.0
RAM 108488 108488 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 724120 724120 0 0.0
RAM 96884 96884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708436 708436 0 0.0
RAM 97092 97092 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
qpg lighting-app qpg6200+debug FLASH 819560 819560 0 0.0
RAM 127600 127600 0 0.0
lock-app qpg6200+debug FLASH 756836 756836 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from f263ab7 to 0d2936d

Full report (6 builds for cc32xx, nrfconnect, stm32, tizen)
platform target config section f263ab7f 0d2936d change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from f263ab7 to 2a56e1c

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section f263ab7f 2a56e1c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104428 1104428 0 0.0
RAM 179058 179058 0 0.0
bl702 lighting-app bl702+eth FLASH 657054 657054 0 0.0
RAM 134921 134921 0 0.0
bl702+wifi FLASH 834846 834846 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066676 1066676 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896114 896114 0 0.0
RAM 105644 105644 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979828 979828 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766848 766848 0 0.0
RAM 103320 103320 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778452 778452 0 0.0
RAM 108488 108488 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 724120 724120 0 0.0
RAM 96884 96884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708436 708436 0 0.0
RAM 97092 97092 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
efr32 lock-app BRD4187C FLASH 958132 958132 0 0.0
RAM 126512 126512 0 0.0
BRD4338a FLASH 752556 752548 -8 -0.0
RAM 251856 251856 0 0.0
window-app BRD4187C FLASH 1050752 1050744 -8 -0.0
RAM 122708 122708 0 0.0
esp32 all-clusters-app c3devkit DRAM 102288 102288 0 0.0
FLASH 1750290 1750290 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121156 121156 0 0.0
FLASH 1698782 1698782 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2590152 2590152 0 0.0
RAM 116808 116808 0 0.0
all-clusters-app debug unknown 5688 5688 0 0.0
FLASH 5978426 5978452 26 0.0
RAM 534392 534392 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5205508 5205508 0 0.0
RAM 228088 228088 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4591842 4591842 0 0.0
RAM 208432 208432 0 0.0
camera-app debug unknown 8976 8976 0 0.0
FLASH 6700235 6700235 0 0.0
RAM 230720 230720 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13640187 13640187 0 0.0
RAM 662136 662136 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13701859 13701859 0 0.0
RAM 655616 655616 0 0.0
chip-tool-ipv6only arm64 unknown 40744 40744 0 0.0
FLASH 12729943 12729943 0 0.0
RAM 690616 690616 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4573558 4573558 0 0.0
RAM 200328 200328 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12047180 12047180 0 0.0
RAM 654696 654696 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4390690 4390690 0 0.0
RAM 194096 194096 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5475509 5475509 0 0.0
RAM 493520 493520 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5472705 5472705 0 0.0
RAM 209688 209688 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4619390 4619390 0 0.0
RAM 196952 196952 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4249460 4249460 0 0.0
RAM 185552 185552 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4312672 4312672 0 0.0
RAM 188376 188376 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2931603 2931603 0 0.0
RAM 148584 148584 0 0.0
thermostat-no-ble arm64 unknown 9976 9976 0 0.0
FLASH 4227567 4227567 0 0.0
RAM 226568 226568 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5803877 5803877 0 0.0
RAM 617896 617896 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11840757 11840757 0 0.0
RAM 772368 772368 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
nxp contact mcxw71+release FLASH 627120 627120 0 0.0
RAM 64012 64012 0 0.0
lock mcxw71+release FLASH 737312 737312 0 0.0
RAM 65096 65096 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657820 1657820 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579460 1579460 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450604 1450604 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482940 1482940 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819560 819560 0 0.0
RAM 127600 127600 0 0.0
lock-app qpg6200+debug FLASH 756836 756836 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
telink bridge-app tl7218x FLASH 703720 703720 0 0.0
RAM 93544 93544 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795510 795510 0 0.0
RAM 43960 43960 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783916 783916 0 0.0
RAM 100848 100848 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711514 711514 0 0.0
RAM 54180 54180 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748108 748108 0 0.0
RAM 77336 77336 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724834 724834 0 0.0
RAM 36936 36936 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604776 604776 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819520 819524 4 0.0
RAM 99100 99100 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

@github-actions github-actions bot added the examples chef Changes in examples/chef label Aug 1, 2025
Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from f263ab7 to 6d33bee

Full report (2 builds for nrfconnect, stm32)
platform target config section f263ab7f 6d33bee change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0

Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from 8b40f17 to 6c5ef72

Full report (30 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, stm32, telink, tizen)
platform target config section 8b40f17 6c5ef72 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104428 1104428 0 0.0
RAM 179058 179058 0 0.0
bl702 lighting-app bl702+eth FLASH 657054 657054 0 0.0
RAM 134921 134921 0 0.0
bl702+wifi FLASH 834846 834846 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066676 1066676 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896114 896114 0 0.0
RAM 105644 105644 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979828 979828 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766848 766848 0 0.0
RAM 103320 103320 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778452 778452 0 0.0
RAM 108488 108488 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 724120 724120 0 0.0
RAM 96884 96884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708436 708436 0 0.0
RAM 97092 97092 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657820 1657820 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579460 1579460 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450604 1450604 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482940 1482940 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819560 819560 0 0.0
RAM 127600 127600 0 0.0
lock-app qpg6200+debug FLASH 756836 756836 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
telink bridge-app tl7218x FLASH 703720 703720 0 0.0
RAM 93544 93544 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795510 795510 0 0.0
RAM 43960 43960 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783916 783916 0 0.0
RAM 100848 100848 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711514 711514 0 0.0
RAM 54180 54180 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748108 748108 0 0.0
RAM 77336 77336 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724834 724834 0 0.0
RAM 36936 36936 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604776 604776 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819520 819524 4 0.0
RAM 99100 99100 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

ehsanziyaee and others added 3 commits August 1, 2025 17:50
…r' of github.com:ehsanziyaee/connectedhomeip into bugfix_add-GetInstance-method-instead-of-Instance-member
Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from 9bd6b4b to c1c6275

Full report (30 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, stm32, telink, tizen)
platform target config section 9bd6b4b c1c6275 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104428 1104428 0 0.0
RAM 179058 179058 0 0.0
bl702 lighting-app bl702+eth FLASH 657054 657054 0 0.0
RAM 134921 134921 0 0.0
bl702+wifi FLASH 834846 834846 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066676 1066676 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896114 896114 0 0.0
RAM 105644 105644 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979828 979828 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766848 766848 0 0.0
RAM 103320 103320 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778452 778452 0 0.0
RAM 108488 108488 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 724120 724120 0 0.0
RAM 96884 96884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708436 708436 0 0.0
RAM 97092 97092 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657820 1657820 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579460 1579460 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450604 1450604 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482940 1482940 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819560 819560 0 0.0
RAM 127600 127600 0 0.0
lock-app qpg6200+debug FLASH 756836 756836 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
telink bridge-app tl7218x FLASH 703720 703720 0 0.0
RAM 93544 93544 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795510 795510 0 0.0
RAM 43960 43960 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783916 783916 0 0.0
RAM 100848 100848 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711514 711514 0 0.0
RAM 54180 54180 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748108 748108 0 0.0
RAM 77336 77336 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724834 724834 0 0.0
RAM 36936 36936 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604776 604776 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819520 819524 4 0.0
RAM 99100 99100 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from 9bd6b4b to 5b2ef26

Full report (22 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, stm32, tizen)
platform target config section 9bd6b4b 5b2ef26 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104428 1104428 0 0.0
RAM 179058 179058 0 0.0
bl702 lighting-app bl702+eth FLASH 657054 657054 0 0.0
RAM 134921 134921 0 0.0
bl702+wifi FLASH 834846 834846 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066676 1066676 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896114 896114 0 0.0
RAM 105644 105644 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979828 979828 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766848 766848 0 0.0
RAM 103320 103320 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778452 778452 0 0.0
RAM 108488 108488 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 724120 724120 0 0.0
RAM 96884 96884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708436 708436 0 0.0
RAM 97092 97092 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657820 1657820 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579460 1579460 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450604 1450604 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482940 1482940 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819560 819560 0 0.0
RAM 127600 127600 0 0.0
lock-app qpg6200+debug FLASH 756836 756836 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

Copy link

github-actions bot commented Aug 1, 2025

PR #40412: Size comparison from a72f457 to 2290798

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a72f457 2290798 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104428 1104428 0 0.0
RAM 179058 179058 0 0.0
bl702 lighting-app bl702+eth FLASH 657054 657054 0 0.0
RAM 134921 134921 0 0.0
bl702+wifi FLASH 834846 834846 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066676 1066676 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896114 896114 0 0.0
RAM 105644 105644 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979828 979828 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766848 766848 0 0.0
RAM 103320 103320 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778452 778452 0 0.0
RAM 108488 108488 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 724120 724120 0 0.0
RAM 96884 96884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708436 708436 0 0.0
RAM 97092 97092 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550594 550594 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582902 582902 0 0.0
RAM 205296 205296 0 0.0
efr32 lock-app BRD4187C FLASH 958132 958132 0 0.0
RAM 126512 126512 0 0.0
BRD4338a FLASH 752556 752548 -8 -0.0
RAM 251856 251856 0 0.0
window-app BRD4187C FLASH 1050752 1050744 -8 -0.0
RAM 122708 122708 0 0.0
esp32 all-clusters-app c3devkit DRAM 102288 102288 0 0.0
FLASH 1750290 1750290 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121156 121156 0 0.0
FLASH 1698782 1698782 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2590152 2590152 0 0.0
RAM 116808 116808 0 0.0
all-clusters-app debug unknown 5688 5688 0 0.0
FLASH 5978426 5978452 26 0.0
RAM 534392 534392 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5205508 5205508 0 0.0
RAM 228088 228088 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4591842 4591842 0 0.0
RAM 208432 208432 0 0.0
camera-app debug unknown 8976 8976 0 0.0
FLASH 6700235 6700235 0 0.0
RAM 230720 230720 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13640187 13640187 0 0.0
RAM 662136 662136 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13701859 13701859 0 0.0
RAM 655616 655616 0 0.0
chip-tool-ipv6only arm64 unknown 40744 40744 0 0.0
FLASH 12729943 12729943 0 0.0
RAM 690616 690616 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4573558 4573558 0 0.0
RAM 200328 200328 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12047180 12047180 0 0.0
RAM 654696 654696 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4390690 4390690 0 0.0
RAM 194096 194096 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5475509 5475509 0 0.0
RAM 493520 493520 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5472705 5472705 0 0.0
RAM 209688 209688 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4619390 4619390 0 0.0
RAM 196952 196952 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4249460 4249460 0 0.0
RAM 185552 185552 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4312672 4312672 0 0.0
RAM 188376 188376 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2931603 2931603 0 0.0
RAM 148584 148584 0 0.0
thermostat-no-ble arm64 unknown 9976 9976 0 0.0
FLASH 4227567 4227567 0 0.0
RAM 226568 226568 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5803877 5803877 0 0.0
RAM 617896 617896 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11840757 11840757 0 0.0
RAM 772368 772368 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909648 909648 0 0.0
RAM 152824 152824 0 0.0
nxp contact mcxw71+release FLASH 627120 627120 0 0.0
RAM 64012 64012 0 0.0
lock mcxw71+release FLASH 737312 737312 0 0.0
RAM 65096 65096 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657820 1657820 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579460 1579460 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450604 1450604 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482940 1482940 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819560 819560 0 0.0
RAM 127600 127600 0 0.0
lock-app qpg6200+debug FLASH 756836 756836 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 466532 466532 0 0.0
RAM 141320 141320 0 0.0
telink bridge-app tl7218x FLASH 703720 703720 0 0.0
RAM 93544 93544 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795510 795510 0 0.0
RAM 43960 43960 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783916 783916 0 0.0
RAM 100848 100848 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711514 711514 0 0.0
RAM 54180 54180 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748108 748108 0 0.0
RAM 77336 77336 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724834 724834 0 0.0
RAM 36936 36936 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604776 604776 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819520 819524 4 0.0
RAM 99100 99100 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767328 1767328 0 0.0
RAM 92212 92212 0 0.0
chip-tool-ubsan arm unknown 20776 20776 0 0.0
FLASH 21120066 21120066 0 0.0
RAM 9188028 9188028 0 0.0

@ehsanziyaee
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the ModeBase::Delegate to improve encapsulation by making the mInstance member private and adding a GetInstance() accessor. The changes are correctly propagated to the example applications.

My review has two main points:

  1. In mode-base-server.h, the new GetInstance() only returns a const pointer, which breaks the documented contract for delegates that need to call non-const methods on the instance (like ReportSupportedModesChange()). I've suggested adding a non-const overload to fix this.
  2. There's an inconsistency in the refactoring within the chef example. While OvenMode was nicely refactored to cache the endpointId, MicrowaveOvenMode was not. I've recommended applying the same pattern for consistency.

Overall, this is a good change for improving the API design. Addressing the feedback will make it more robust and consistent.

@ehsanziyaee
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a GetInstance() method to the ModeBase::Delegate class, improving encapsulation by making the mInstance member private. This is a good architectural improvement that aligns ModeBase with other clusters. The changes in most example files correctly adapt to this new accessor.

However, I've found a critical issue in the changes for the chef-oven-mode example. A small refactoring to cache the endpointId was introduced, but it leads to a null pointer dereference during initialization, which will cause a crash. I've left detailed comments and suggestions in examples/chef/common/clusters/oven-mode/chef-oven-mode.h and examples/chef/common/clusters/oven-mode/chef-oven-mode.cpp to resolve this. The fix involves reverting this small refactoring and instead calling GetInstance()->GetEndpointId() where needed, which also makes the changes consistent with other files in this PR.

Copy link

github-actions bot commented Sep 20, 2025

PR #40412: Size comparison from 7963c96 to eda771c

Full report (12 builds for cc13x4_26x4, cc32xx, nrfconnect, qpg, realtek, stm32)
platform target config section 7963c96 eda771c change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 767976 767976 0 0.0
RAM 103128 103128 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779604 779604 0 0.0
RAM 108288 108288 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725836 725836 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710328 710328 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552918 552918 0 0.0
RAM 204904 204904 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585626 585626 0 0.0
RAM 205136 205136 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915200 915200 0 0.0
RAM 153288 153288 0 0.0
qpg lighting-app qpg6200+debug FLASH 831160 831160 0 0.0
RAM 127512 127512 0 0.0
lock-app qpg6200+debug FLASH 768228 768228 0 0.0
RAM 118480 118480 0 0.0
realtek light-switch-app rtl8777g FLASH 704080 704080 0 0.0
RAM 106692 106692 0 0.0
lighting-app rtl8777g FLASH 755224 755224 0 0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467668 467668 0 0.0
RAM 141128 141128 0 0.0

Copy link

github-actions bot commented Sep 20, 2025

PR #40412: Size comparison from 7963c96 to 60b3753

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7963c96 60b3753 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104392 1104392 0 0.0
RAM 178706 178706 0 0.0
bl702 lighting-app bl702+eth FLASH 658764 658764 0 0.0
RAM 134769 134769 0 0.0
bl702+wifi FLASH 834832 834832 0 0.0
RAM 124237 124237 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067842 1067842 0 0.0
RAM 117077 117077 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898062 898062 0 0.0
RAM 105420 105420 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980738 980738 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 767976 767976 0 0.0
RAM 103128 103128 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779604 779604 0 0.0
RAM 108288 108288 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725836 725836 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710328 710328 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552918 552918 0 0.0
RAM 204904 204904 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585626 585626 0 0.0
RAM 205136 205136 0 0.0
efr32 lock-app BRD4187C FLASH 959560 959560 0 0.0
RAM 126148 126148 0 0.0
BRD4338a FLASH 754848 754848 0 0.0
RAM 255456 255456 0 0.0
window-app BRD4187C FLASH 1053668 1053660 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102912 102912 0 0.0
FLASH 1776582 1776582 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915200 915200 0 0.0
RAM 153288 153288 0 0.0
nxp contact mcxw71+release FLASH 690304 690304 0 0.0
RAM 61376 61376 0 0.0
lighting mcxw71+release FLASH 722104 722104 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 768912 768912 0 0.0
RAM 61740 61740 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1666028 1666028 0 0.0
RAM 212972 212972 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1585716 1585716 0 0.0
RAM 210236 210236 0 0.0
light cy8ckit_062s2_43012 FLASH 1454780 1454780 0 0.0
RAM 196984 196984 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487108 1487108 0 0.0
RAM 224704 224704 0 0.0
qpg lighting-app qpg6200+debug FLASH 831160 831160 0 0.0
RAM 127512 127512 0 0.0
lock-app qpg6200+debug FLASH 768228 768228 0 0.0
RAM 118480 118480 0 0.0
realtek light-switch-app rtl8777g FLASH 704080 704080 0 0.0
RAM 106692 106692 0 0.0
lighting-app rtl8777g FLASH 755224 755224 0 0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467668 467668 0 0.0
RAM 141128 141128 0 0.0
telink bridge-app tl7218x FLASH 708642 708642 0 0.0
RAM 91164 91164 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797868 797868 0 0.0
RAM 41736 41736 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789082 789082 0 0.0
RAM 94380 94380 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715904 715904 0 0.0
RAM 52556 52556 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749210 749210 0 0.0
RAM 71604 71604 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726050 726050 0 0.0
RAM 35304 35304 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603294 603294 0 0.0
RAM 107172 107172 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821704 821708 4 0.0
RAM 92776 92776 0 0.0

@ehsanziyaee
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the ModeBase::Delegate class to improve encapsulation by making the mInstance member private and introducing a protected GetInstance() accessor method. This change aligns the ModeBase cluster with existing patterns in other clusters, as described in the pull request. The updates in the example applications correctly adopt the new GetInstance() method. The change is well-implemented and improves code quality. I have one minor suggestion to improve documentation consistency.

@ehsanziyaee
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the ModeBase::Delegate class to improve encapsulation by making the mInstance member private and introducing a protected GetInstance() accessor. This is a positive change that aligns with C++ best practices. The necessary updates in the example applications to use the new accessor are also included and appear correct. I have one minor suggestion to remove a duplicated comment to enhance code maintainability.

@ehsanziyaee
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly refactors the Delegate class in the ModeBase cluster to improve encapsulation by making the mInstance member private and providing a GetInstance() accessor. The necessary updates in the example applications are also included. This is a good improvement for code maintainability. I have one minor suggestion to fix a typo in a comment.

@ehsanziyaee
Copy link
Contributor Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the ModeBase::Delegate class to improve encapsulation by making the mInstance member private and providing a protected GetInstance() accessor. This aligns the implementation with patterns used in other clusters, enhancing code consistency. The changes are correctly propagated to the example applications, which now use the new accessor. The modifications are a good improvement to the codebase, and I have no further feedback.

Copy link

github-actions bot commented Sep 21, 2025

PR #40412: Size comparison from 7963c96 to 80462b8

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7963c96 80462b8 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104392 1104392 0 0.0
RAM 178706 178706 0 0.0
bl702 lighting-app bl702+eth FLASH 658764 658764 0 0.0
RAM 134769 134769 0 0.0
bl702+wifi FLASH 834832 834832 0 0.0
RAM 124237 124237 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067842 1067842 0 0.0
RAM 117077 117077 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898062 898062 0 0.0
RAM 105420 105420 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980738 980738 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 767976 767976 0 0.0
RAM 103128 103128 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779604 779604 0 0.0
RAM 108288 108288 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725836 725836 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710328 710328 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552918 552918 0 0.0
RAM 204904 204904 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585626 585626 0 0.0
RAM 205136 205136 0 0.0
efr32 lock-app BRD4187C FLASH 959560 959560 0 0.0
RAM 126148 126148 0 0.0
BRD4338a FLASH 754848 754848 0 0.0
RAM 255456 255456 0 0.0
window-app BRD4187C FLASH 1053668 1053660 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102912 102912 0 0.0
FLASH 1776582 1776582 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915200 915200 0 0.0
RAM 153288 153288 0 0.0
nxp contact mcxw71+release FLASH 690304 690304 0 0.0
RAM 61376 61376 0 0.0
lighting mcxw71+release FLASH 722104 722104 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 768912 768912 0 0.0
RAM 61740 61740 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1666028 1666028 0 0.0
RAM 212972 212972 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1585716 1585716 0 0.0
RAM 210236 210236 0 0.0
light cy8ckit_062s2_43012 FLASH 1454780 1454780 0 0.0
RAM 196984 196984 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487108 1487108 0 0.0
RAM 224704 224704 0 0.0
qpg lighting-app qpg6200+debug FLASH 831160 831160 0 0.0
RAM 127512 127512 0 0.0
lock-app qpg6200+debug FLASH 768228 768228 0 0.0
RAM 118480 118480 0 0.0
realtek light-switch-app rtl8777g FLASH 704080 704080 0 0.0
RAM 106692 106692 0 0.0
lighting-app rtl8777g FLASH 755224 755224 0 0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467668 467668 0 0.0
RAM 141128 141128 0 0.0
telink bridge-app tl7218x FLASH 708642 708642 0 0.0
RAM 91164 91164 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797868 797868 0 0.0
RAM 41736 41736 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789082 789082 0 0.0
RAM 94380 94380 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715904 715904 0 0.0
RAM 52556 52556 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749210 749210 0 0.0
RAM 71604 71604 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726050 726050 0 0.0
RAM 35304 35304 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603294 603294 0 0.0
RAM 107172 107172 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821704 821708 4 0.0
RAM 92776 92776 0 0.0

Copy link

github-actions bot commented Sep 22, 2025

PR #40412: Size comparison from db54d1a to 7cdbdd0

Full report (33 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, psoc6, qpg, realtek, stm32, telink)
platform target config section db54d1a 7cdbdd0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104392 1104392 0 0.0
RAM 178706 178706 0 0.0
bl702 lighting-app bl702+eth FLASH 658764 658764 0 0.0
RAM 134769 134769 0 0.0
bl702+wifi FLASH 834832 834832 0 0.0
RAM 124237 124237 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067842 1067842 0 0.0
RAM 117077 117077 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898062 898062 0 0.0
RAM 105420 105420 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980738 980738 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 767976 767976 0 0.0
RAM 103128 103128 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779604 779604 0 0.0
RAM 108288 108288 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725836 725836 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710328 710328 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552918 552918 0 0.0
RAM 204904 204904 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585626 585626 0 0.0
RAM 205136 205136 0 0.0
efr32 lock-app BRD4187C FLASH 959560 959560 0 0.0
RAM 126148 126148 0 0.0
BRD4338a FLASH 754848 754848 0 0.0
RAM 255456 255456 0 0.0
window-app BRD4187C FLASH 1053668 1053660 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102912 102912 0 0.0
FLASH 1776582 1776582 0 0.0
IRAM 83862 83862 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1666028 1666028 0 0.0
RAM 212972 212972 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1585716 1585716 0 0.0
RAM 210236 210236 0 0.0
light cy8ckit_062s2_43012 FLASH 1454780 1454780 0 0.0
RAM 196984 196984 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487108 1487108 0 0.0
RAM 224704 224704 0 0.0
qpg lighting-app qpg6200+debug FLASH 831160 831160 0 0.0
RAM 127512 127512 0 0.0
lock-app qpg6200+debug FLASH 768228 768228 0 0.0
RAM 118480 118480 0 0.0
realtek light-switch-app rtl8777g FLASH 704080 704080 0 0.0
RAM 106692 106692 0 0.0
lighting-app rtl8777g FLASH 755224 755224 0 0.0
RAM 127040 127040 0 0.0
stm32 light STM32WB5MM-DK FLASH 467668 467668 0 0.0
RAM 141128 141128 0 0.0
telink bridge-app tl7218x FLASH 708642 708642 0 0.0
RAM 91164 91164 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797868 797868 0 0.0
RAM 41736 41736 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789082 789082 0 0.0
RAM 94380 94380 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715904 715904 0 0.0
RAM 52556 52556 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749210 749210 0 0.0
RAM 71604 71604 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726050 726050 0 0.0
RAM 35304 35304 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603294 603294 0 0.0
RAM 107172 107172 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821704 821708 4 0.0
RAM 92776 92776 0 0.0

@mergify mergify bot merged commit d0db680 into project-chip:master Sep 22, 2025
84 of 88 checks passed
@ehsanziyaee ehsanziyaee deleted the bugfix_add-GetInstance-method-instead-of-Instance-member branch September 22, 2025 13:13
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.

[BUG] ModeBase delegate has no GetInstance() getter to get the corresponding cluster instance.

5 participants