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

Allow passing in a Path change listener to ember write functions #35455

Merged

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Sep 6, 2024

Call paths description

MatterAttributeChangeCallback is actually an ember functionality even though it resides in src/app/reporting.cpp (rather than util). In practice we have this callback used by:

  • cluster implementations (to notify when code changes data especially in AAI-backed clusters)
  • attribute-storage.cpp, specifically for emberAfEndpointEnableDisable: once for the entire endpoint and then once per Descriptor::PartsList for the root endpoint and parent endpoints
  • attribute-table.cpp for emAfWriteAttribute (with various dirty detection options)

The change callback does two things:

  • increase cluster versions (this is kept by EMBER using emberAfDataVersionStorage insice metadata structues)
  • uses the reporting engine in the InteractionModelEngine singleton to mark paths dirty

Where things are not ideal

  • MatterAttributeChangeCallback is not obviously ember code even though in practice it is (it uses emberAfDataVersionStorage)
  • There is a singleton coupling to interactionmodelengine. This makes it impossible for DataModel::Provider to be generic/decoupled because ember hardcodes a InteractionModelEngine singleton coupling

Changes in the PR

  • place the actual implementation of MatterAttributeChangeCallback as emberAfAttributeChanged and emberAfEndpointChanged calls to make them clearly ember and use only these inside src/app/util. Clusters can still use MatterAttributeChangeCallback, we may need to figure out how/if we can make that one decoupled
  • define a AttributesChangedListener that can be used by the ember callbacks to mark things dirty (instead of accessing the singleton IME object and engine)
    • default implementation is still to use the global InteractionModelEngine
    • this however allows DataModel::Provider in the future to inject its own callback
    • update ember write functions to be able to use a change path listener and also provide a default if the change path listener is not provided

Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Sep 9, 2024

PR #35455: Size comparison from 96e687b to 39e9015

Full report (63 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 96e687b 39e9015 change % change
bl602 lighting-app bl602 FLASH 1279600 1280176 576 0.0
RAM 95904 95920 16 0.0
bl602+mfd FLASH 1293710 1294296 586 0.0
RAM 96048 96056 8 0.0
bl602+rpc FLASH 1318564 1319396 832 0.1
RAM 104328 104344 16 0.0
bl702 lighting-app bl702 FLASH 944934 945738 804 0.1
RAM 15209 15209 0 0.0
bl702+mfd FLASH 947334 948136 802 0.1
RAM 15353 15361 8 0.1
bl702+rpc FLASH 1040246 1040794 548 0.1
RAM 24221 24229 8 0.0
bl706-eth FLASH 648006 648554 548 0.1
RAM 25305 25313 8 0.0
bl706-wifi FLASH 895420 896218 798 0.1
RAM 14525 14549 24 0.2
bl702l lighting-app bl702l FLASH 961594 962142 548 0.1
RAM 16868 16884 16 0.1
bl702l+mfd FLASH 964216 964762 546 0.1
RAM 17012 17036 24 0.1
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678265 678841 576 0.1
RAM 78556 78556 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698117 698693 576 0.1
RAM 81188 81196 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698117 698693 576 0.1
RAM 81188 81196 8 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655053 655637 584 0.1
RAM 73624 73624 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614601 614993 392 0.1
RAM 71524 71532 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634237 634621 384 0.1
RAM 74076 74076 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634237 634621 384 0.1
RAM 74076 74076 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 632625 632977 352 0.1
RAM 74540 74548 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652341 652693 352 0.1
RAM 77092 77092 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652341 652693 352 0.1
RAM 77092 77092 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 606917 607269 352 0.1
RAM 68580 68580 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 626769 627121 352 0.1
RAM 71212 71220 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 626769 627121 352 0.1
RAM 71212 71220 8 0.0
efr32 lighting-app BRD4187C FLASH 933684 934268 584 0.1
RAM 135120 135128 8 0.0
lock-app BRD4338a FLASH 740804 741108 304 0.0
RAM 197184 197204 20 0.0
window-app BRD4187C FLASH 1017480 1017800 320 0.0
RAM 127060 127068 8 0.0
esp32 all-clusters-app c3devkit DRAM 94136 94144 8 0.0
FLASH 1538430 1539044 614 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115072 115088 16 0.0
FLASH 1548862 1549402 540 0.0
IRAM 117039 117039 0 0.0
linux chip-tool-ipv6only arm64 unknown 20368 20376 8 0.0
FLASH 11325156 11326196 1040 0.0
RAM 608672 608736 64 0.0
thermostat-no-ble arm64 unknown 9320 9320 0 0.0
FLASH 4330692 4331348 656 0.0
RAM 242240 242288 48 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914064 914672 608 0.1
RAM 142252 142256 4 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885732 886320 588 0.1
RAM 140391 140395 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845456 846028 572 0.1
RAM 141070 141074 4 0.0
nxp contact k32w0+release FLASH 579500 579860 360 0.1
RAM 70676 70684 8 0.0
k32w1+release FLASH 593328 593664 336 0.1
RAM 62712 62720 8 0.0
light k32w0+release FLASH 615128 615544 416 0.1
RAM 70140 70148 8 0.0
k32w1+release FLASH 676952 677344 392 0.1
RAM 47848 47864 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645964 1646524 560 0.0
RAM 210944 210952 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1549596 1550140 544 0.0
RAM 207656 207664 8 0.0
light cy8ckit_062s2_43012 FLASH 1468388 1468924 536 0.0
RAM 200752 200752 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463660 1463972 312 0.0
RAM 225064 225072 8 0.0
qpg lighting-app qpg6105+debug FLASH 657804 658364 560 0.1
RAM 105192 105200 8 0.0
lock-app qpg6105+debug FLASH 615960 616288 328 0.1
RAM 99660 99660 0 0.0
stm32 light STM32WB5MM-DK FLASH 481608 482168 560 0.1
RAM 144740 144748 8 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620810 621214 404 0.1
RAM 50940 50948 8 0.0
all-clusters-app tlsr9118bdk40d FLASH 686304 686978 674 0.1
RAM 149584 149592 8 0.0
all-clusters-minimal-app tlsr9528a FLASH 778744 779394 650 0.1
RAM 110744 110752 8 0.0
bridge-app tlsr9258a FLASH 679804 680288 484 0.1
RAM 91596 91604 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 622402 622806 404 0.1
RAM 50980 50988 8 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708414 708846 432 0.1
RAM 74320 74328 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 624604 625238 634 0.1
RAM 145564 145572 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810734 811368 634 0.1
RAM 99488 99496 8 0.0
lock-app-dfu tlsr9528a FLASH 655386 655794 408 0.1
RAM 67016 67024 8 0.0
ota-requestor-app tlsr9258a FLASH 697670 698094 424 0.1
RAM 91280 91288 8 0.0
pump-app-usb tlsr9518adk80d FLASH 632112 632580 468 0.1
RAM 55760 55768 8 0.0
pump-controller-app tlsr9518adk80d FLASH 609360 609768 408 0.1
RAM 53004 53012 8 0.0
shell tlsr9518adk80d FLASH 467196 467196 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 629188 629592 404 0.1
RAM 52700 52708 8 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653342 653750 408 0.1
RAM 56640 56648 8 0.0
thermostat tlsr9518adk80d FLASH 636092 636500 408 0.1
RAM 53408 53416 8 0.0
window-covering tlsr9118bdk40d FLASH 523346 523754 408 0.1
RAM 98540 98548 8 0.0
tizen all-clusters-app arm unknown 4840 4844 4 0.1
FLASH 1722416 1723480 1064 0.1
RAM 89548 89588 40 0.0
chip-tool-ubsan arm unknown 10272 10280 8 0.1
FLASH 17499570 17509922 10352 0.1
RAM 7596248 7599476 3228 0.0

Copy link

github-actions bot commented Sep 9, 2024

PR #35455: Size comparison from 7d57f07 to 3ebc3be

Full report (12 builds for nrfconnect, nxp, qpg, stm32, tizen)
platform target config section 7d57f07 3ebc3be change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914064 914672 608 0.1
RAM 142252 142256 4 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885732 886320 588 0.1
RAM 140391 140395 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845456 846028 572 0.1
RAM 141070 141074 4 0.0
nxp contact k32w0+release FLASH 579500 579860 360 0.1
RAM 70676 70684 8 0.0
k32w1+release FLASH 593328 593664 336 0.1
RAM 62712 62720 8 0.0
light k32w0+release FLASH 615128 615544 416 0.1
RAM 70140 70148 8 0.0
k32w1+release FLASH 676952 677344 392 0.1
RAM 47848 47864 16 0.0
qpg lighting-app qpg6105+debug FLASH 657804 658364 560 0.1
RAM 105192 105200 8 0.0
lock-app qpg6105+debug FLASH 615960 616288 328 0.1
RAM 99660 99660 0 0.0
stm32 light STM32WB5MM-DK FLASH 479320 479880 560 0.1
RAM 144644 144660 16 0.0
tizen all-clusters-app arm unknown 4840 4844 4 0.1
FLASH 1722416 1723480 1064 0.1
RAM 89548 89588 40 0.0
chip-tool-ubsan arm unknown 10276 10280 4 0.0
FLASH 17501426 17509922 8496 0.0
RAM 7597300 7599476 2176 0.0

Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
Copy link

github-actions bot commented Sep 9, 2024

PR #35455: Size comparison from 7d57f07 to c2e80c2

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 7d57f07 c2e80c2 change % change
bl602 lighting-app bl602 FLASH 1276224 1276800 576 0.0
RAM 95800 95816 16 0.0
bl602+mfd FLASH 1290332 1290908 576 0.0
RAM 95944 95952 8 0.0
bl602+rpc FLASH 1315180 1316012 832 0.1
RAM 104224 104240 16 0.0
bl702 lighting-app bl702 FLASH 942516 943320 804 0.1
RAM 15137 15153 16 0.1
bl702+mfd FLASH 944914 945462 548 0.1
RAM 15281 15305 24 0.2
bl702+rpc FLASH 1037836 1038384 548 0.1
RAM 24149 24173 24 0.1
bl706-eth FLASH 645588 646136 548 0.1
RAM 25233 25241 8 0.0
bl706-wifi FLASH 892496 893550 1054 0.1
RAM 14453 14477 24 0.2
bl702l lighting-app bl702l FLASH 959176 959724 548 0.1
RAM 16812 16812 0 0.0
bl702l+mfd FLASH 961796 962344 548 0.1
RAM 16956 16964 8 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 675889 676465 576 0.1
RAM 78460 78468 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 695749 696325 576 0.1
RAM 81092 81108 16 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 695749 696325 576 0.1
RAM 81092 81108 16 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 652685 653253 568 0.1
RAM 73528 73536 8 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 612257 612649 392 0.1
RAM 71436 71444 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631893 632277 384 0.1
RAM 73988 73988 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631893 632277 384 0.1
RAM 73988 73988 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 631409 631761 352 0.1
RAM 74476 74492 16 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 651125 651477 352 0.1
RAM 77028 77036 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 651125 651477 352 0.1
RAM 77028 77036 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 606917 607269 352 0.1
RAM 68580 68580 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 626769 627121 352 0.1
RAM 71212 71220 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 626769 627121 352 0.1
RAM 71212 71220 8 0.0
efr32 lighting-app BRD4187C FLASH 931396 931980 584 0.1
RAM 135024 135032 8 0.0
lock-app BRD4338a FLASH 739324 739628 304 0.0
RAM 197112 197132 20 0.0
window-app BRD4187C FLASH 1014544 1014832 288 0.0
RAM 126964 126972 8 0.0
esp32 all-clusters-app c3devkit DRAM 94136 94144 8 0.0
FLASH 1538430 1539044 614 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115072 115088 16 0.0
FLASH 1548862 1549402 540 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2768253 2769323 1070 0.0
RAM 128808 128872 64 0.0
all-clusters-app debug unknown 5456 5456 0 0.0
FLASH 6079122 6080736 1614 0.0
RAM 510840 510952 112 0.0
all-clusters-minimal-app debug unknown 5352 5352 0 0.0
FLASH 5403236 5404752 1516 0.0
RAM 240648 240728 80 0.0
bridge-app debug unknown 5336 5336 0 0.0
FLASH 4737058 4738224 1166 0.0
RAM 217640 217752 112 0.1
chip-tool debug unknown 5888 5888 0 0.0
FLASH 12653798 12660824 7026 0.1
RAM 558570 558634 64 0.0
chip-tool-ipv6only arm64 unknown 20376 20376 0 0.0
FLASH 11325732 11326196 464 0.0
RAM 608672 608736 64 0.0
fabric-admin debug unknown 5720 5720 0 0.0
FLASH 10961327 10968297 6970 0.1
RAM 557562 557658 96 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4559860 4560930 1070 0.0
RAM 204288 204352 64 0.0
lighting-app debug+rpc+ui unknown 5984 5984 0 0.0
FLASH 5673185 5674705 1520 0.0
RAM 227928 228056 128 0.1
lock-app debug unknown 5272 5272 0 0.0
FLASH 4786614 4787684 1070 0.0
RAM 203728 203872 144 0.1
ota-provider-app debug unknown 4648 4648 0 0.0
FLASH 4419788 4420858 1070 0.0
RAM 197496 197560 64 0.0
ota-requestor-app debug unknown 4584 4584 0 0.0
FLASH 4558364 4559434 1070 0.0
RAM 202032 202096 64 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3105469 3107021 1552 0.0
RAM 159520 159616 96 0.1
thermostat-no-ble arm64 unknown 9320 9320 0 0.0
FLASH 4330692 4331348 656 0.0
RAM 242240 242288 48 0.0
tv-app debug unknown 5552 5552 0 0.0
FLASH 6018869 6020277 1408 0.0
RAM 583512 583592 80 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10859293 10866285 6992 0.1
RAM 646200 646408 208 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914064 914672 608 0.1
RAM 142252 142256 4 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885732 886320 588 0.1
RAM 140391 140395 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845456 846028 572 0.1
RAM 141070 141074 4 0.0
nxp contact k32w0+release FLASH 579500 579860 360 0.1
RAM 70676 70684 8 0.0
k32w1+release FLASH 593328 593664 336 0.1
RAM 62712 62720 8 0.0
light k32w0+release FLASH 615128 615544 416 0.1
RAM 70140 70148 8 0.0
k32w1+release FLASH 676952 677344 392 0.1
RAM 47848 47864 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645964 1646524 560 0.0
RAM 210944 210952 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1549596 1550140 544 0.0
RAM 207656 207664 8 0.0
light cy8ckit_062s2_43012 FLASH 1465436 1465972 536 0.0
RAM 200656 200656 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462180 1462492 312 0.0
RAM 225000 225008 8 0.0
qpg lighting-app qpg6105+debug FLASH 657804 658364 560 0.1
RAM 105192 105200 8 0.0
lock-app qpg6105+debug FLASH 615960 616288 328 0.1
RAM 99660 99660 0 0.0
stm32 light STM32WB5MM-DK FLASH 479320 479880 560 0.1
RAM 144644 144660 16 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620810 621214 404 0.1
RAM 50940 50948 8 0.0
all-clusters-app tlsr9118bdk40d FLASH 686304 686978 674 0.1
RAM 149584 149592 8 0.0
all-clusters-minimal-app tlsr9528a FLASH 778744 779394 650 0.1
RAM 110744 110752 8 0.0
bridge-app tlsr9258a FLASH 679804 680288 484 0.1
RAM 91596 91604 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 620574 620978 404 0.1
RAM 50892 50900 8 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706568 707000 432 0.1
RAM 74232 74240 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 622758 623392 634 0.1
RAM 145476 145484 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 808888 809522 634 0.1
RAM 99400 99408 8 0.0
lock-app-dfu tlsr9528a FLASH 654424 654832 408 0.1
RAM 66952 66960 8 0.0
ota-requestor-app tlsr9258a FLASH 695840 696264 424 0.1
RAM 91188 91196 8 0.0
pump-app-usb tlsr9518adk80d FLASH 632112 632580 468 0.1
RAM 55760 55768 8 0.0
pump-controller-app tlsr9518adk80d FLASH 609360 609768 408 0.1
RAM 53004 53012 8 0.0
shell tlsr9518adk80d FLASH 467196 467196 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627352 627756 404 0.1
RAM 52612 52620 8 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651496 651904 408 0.1
RAM 56552 56560 8 0.0
thermostat tlsr9518adk80d FLASH 636092 636500 408 0.1
RAM 53408 53416 8 0.0
window-covering tlsr9118bdk40d FLASH 521504 521912 408 0.1
RAM 98452 98460 8 0.0
tizen all-clusters-app arm unknown 4840 4844 4 0.1
FLASH 1722416 1723480 1064 0.1
RAM 89548 89588 40 0.0
chip-tool-ubsan arm unknown 10276 10280 4 0.0
FLASH 17501426 17509922 8496 0.0
RAM 7597300 7599476 2176 0.0

Copy link

github-actions bot commented Sep 9, 2024

PR #35455: Size comparison from 7d57f07 to 6969378

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 7d57f07 6969378 change % change
bl602 lighting-app bl602 FLASH 1276224 1276800 576 0.0
RAM 95800 95816 16 0.0
bl602+mfd FLASH 1290332 1290908 576 0.0
RAM 95944 95952 8 0.0
bl602+rpc FLASH 1315180 1316012 832 0.1
RAM 104224 104240 16 0.0
bl702 lighting-app bl702 FLASH 942516 943320 804 0.1
RAM 15137 15153 16 0.1
bl702+mfd FLASH 944914 945462 548 0.1
RAM 15281 15305 24 0.2
bl702+rpc FLASH 1037836 1038384 548 0.1
RAM 24149 24173 24 0.1
bl706-eth FLASH 645588 646136 548 0.1
RAM 25233 25241 8 0.0
bl706-wifi FLASH 892496 893550 1054 0.1
RAM 14453 14477 24 0.2
bl702l lighting-app bl702l FLASH 959176 959724 548 0.1
RAM 16812 16812 0 0.0
bl702l+mfd FLASH 961796 962344 548 0.1
RAM 16956 16964 8 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 675889 676465 576 0.1
RAM 78460 78468 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 695749 696325 576 0.1
RAM 81092 81108 16 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 695749 696325 576 0.1
RAM 81092 81108 16 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 652685 653253 568 0.1
RAM 73528 73536 8 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 612257 612649 392 0.1
RAM 71436 71444 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631893 632277 384 0.1
RAM 73988 73988 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631893 632277 384 0.1
RAM 73988 73988 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 631409 631761 352 0.1
RAM 74476 74492 16 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 651125 651477 352 0.1
RAM 77028 77036 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 651125 651477 352 0.1
RAM 77028 77036 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 606917 607269 352 0.1
RAM 68580 68580 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 626769 627121 352 0.1
RAM 71212 71220 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 626769 627121 352 0.1
RAM 71212 71220 8 0.0
efr32 lighting-app BRD4187C FLASH 931396 931980 584 0.1
RAM 135024 135032 8 0.0
lock-app BRD4338a FLASH 739324 739628 304 0.0
RAM 197112 197132 20 0.0
window-app BRD4187C FLASH 1014544 1014832 288 0.0
RAM 126964 126972 8 0.0
esp32 all-clusters-app c3devkit DRAM 94136 94144 8 0.0
FLASH 1538430 1539044 614 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115072 115088 16 0.0
FLASH 1548862 1549402 540 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2768253 2769323 1070 0.0
RAM 128808 128872 64 0.0
all-clusters-app debug unknown 5456 5456 0 0.0
FLASH 6079122 6080736 1614 0.0
RAM 510840 510952 112 0.0
all-clusters-minimal-app debug unknown 5352 5352 0 0.0
FLASH 5403236 5404752 1516 0.0
RAM 240648 240728 80 0.0
bridge-app debug unknown 5336 5336 0 0.0
FLASH 4737058 4738224 1166 0.0
RAM 217640 217752 112 0.1
chip-tool debug unknown 5888 5888 0 0.0
FLASH 12653798 12660824 7026 0.1
RAM 558570 558634 64 0.0
chip-tool-ipv6only arm64 unknown 20376 20376 0 0.0
FLASH 11325732 11326196 464 0.0
RAM 608672 608736 64 0.0
fabric-admin debug unknown 5720 5720 0 0.0
FLASH 10961327 10968297 6970 0.1
RAM 557562 557658 96 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4559860 4560930 1070 0.0
RAM 204288 204352 64 0.0
lighting-app debug+rpc+ui unknown 5984 5984 0 0.0
FLASH 5673185 5674705 1520 0.0
RAM 227928 228056 128 0.1
lock-app debug unknown 5272 5272 0 0.0
FLASH 4786614 4787684 1070 0.0
RAM 203728 203872 144 0.1
ota-provider-app debug unknown 4648 4648 0 0.0
FLASH 4419788 4420858 1070 0.0
RAM 197496 197560 64 0.0
ota-requestor-app debug unknown 4584 4584 0 0.0
FLASH 4558364 4559434 1070 0.0
RAM 202032 202096 64 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3105469 3107021 1552 0.0
RAM 159520 159616 96 0.1
thermostat-no-ble arm64 unknown 9320 9320 0 0.0
FLASH 4330692 4331348 656 0.0
RAM 242240 242288 48 0.0
tv-app debug unknown 5552 5552 0 0.0
FLASH 6018869 6020277 1408 0.0
RAM 583512 583592 80 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10859293 10866285 6992 0.1
RAM 646200 646408 208 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914064 914672 608 0.1
RAM 142252 142256 4 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885732 886320 588 0.1
RAM 140391 140395 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845456 846028 572 0.1
RAM 141070 141074 4 0.0
nxp contact k32w0+release FLASH 579500 579860 360 0.1
RAM 70676 70684 8 0.0
k32w1+release FLASH 593328 593664 336 0.1
RAM 62712 62720 8 0.0
light k32w0+release FLASH 615128 615544 416 0.1
RAM 70140 70148 8 0.0
k32w1+release FLASH 676952 677344 392 0.1
RAM 47848 47864 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645964 1646524 560 0.0
RAM 210944 210952 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1549596 1550140 544 0.0
RAM 207656 207664 8 0.0
light cy8ckit_062s2_43012 FLASH 1465436 1465972 536 0.0
RAM 200656 200656 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462180 1462492 312 0.0
RAM 225000 225008 8 0.0
qpg lighting-app qpg6105+debug FLASH 657804 658364 560 0.1
RAM 105192 105200 8 0.0
lock-app qpg6105+debug FLASH 615960 616288 328 0.1
RAM 99660 99660 0 0.0
stm32 light STM32WB5MM-DK FLASH 479320 479880 560 0.1
RAM 144644 144660 16 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620810 621214 404 0.1
RAM 50940 50948 8 0.0
all-clusters-app tlsr9118bdk40d FLASH 686304 686978 674 0.1
RAM 149584 149592 8 0.0
all-clusters-minimal-app tlsr9528a FLASH 778744 779394 650 0.1
RAM 110744 110752 8 0.0
bridge-app tlsr9258a FLASH 679804 680288 484 0.1
RAM 91596 91604 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 620574 620978 404 0.1
RAM 50892 50900 8 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706568 707000 432 0.1
RAM 74232 74240 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 622758 623392 634 0.1
RAM 145476 145484 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 808888 809522 634 0.1
RAM 99400 99408 8 0.0
lock-app-dfu tlsr9528a FLASH 654424 654832 408 0.1
RAM 66952 66960 8 0.0
ota-requestor-app tlsr9258a FLASH 695840 696264 424 0.1
RAM 91188 91196 8 0.0
pump-app-usb tlsr9518adk80d FLASH 632112 632580 468 0.1
RAM 55760 55768 8 0.0
pump-controller-app tlsr9518adk80d FLASH 609360 609768 408 0.1
RAM 53004 53012 8 0.0
shell tlsr9518adk80d FLASH 467196 467196 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627352 627756 404 0.1
RAM 52612 52620 8 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651496 651904 408 0.1
RAM 56552 56560 8 0.0
thermostat tlsr9518adk80d FLASH 636092 636500 408 0.1
RAM 53408 53416 8 0.0
window-covering tlsr9118bdk40d FLASH 521504 521912 408 0.1
RAM 98452 98460 8 0.0
tizen all-clusters-app arm unknown 4840 4844 4 0.1
FLASH 1722416 1723480 1064 0.1
RAM 89548 89588 40 0.0
chip-tool-ubsan arm unknown 10276 10280 4 0.0
FLASH 17501426 17509922 8496 0.0
RAM 7597300 7599476 2176 0.0

@mergify mergify bot merged commit 7f78939 into project-chip:master Sep 10, 2024
67 checks passed
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
…roject-chip#35455)

* Cleaner usage: no need of a separate function that is used in one place only

* Attempt an API update

* Fix typos in the Accessors src

* Fix typo and regen

* More fixes on accessors

* Update signature for emAfWriteAttributeExternal

* Add a comment about all the checks being vague

* Update src/app/util/af-types.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/af-types.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-storage.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/zap-templates/templates/app/attributes/Accessors-src.zapt

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/mock/CodegenEmberMocks.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/zap-templates/templates/app/attributes/Accessors-src.zapt

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/zap-templates/templates/app/attributes/Accessors-src.zapt

Co-authored-by: Boris Zbarsky <[email protected]>

* zap regen and restyle

* Update src/app/zap-templates/templates/app/attributes/Accessors-src.zapt

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-table.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-storage.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-storage.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-table.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-table.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-storage.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/util/attribute-table.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Rename ChangedPathListener to AttributesChangedListener

* Remove chip:: and chip::app

* Update constructors of AttributePathParams and add nodiscard according to the linter to never call const methods without considering their return value

* Restyled by clang-format

* Remove auto-inserted include

* Update again and zap regen: removed extra namespace prefixes in accessors.h/cpp

* Add comment about uint8_t non-const usage...

* Another rename given that the listener is now an attributes and not a path listener

* Update src/app/util/attribute-table.h

Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>

* Comment update to talk more about AttributesChangedListener

* Restyle

---------

Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants