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

ReadClient: Truncate data version list during encoding if necessary #34111

Merged
merged 7 commits into from
Jul 2, 2024

Conversation

ksperling-apple
Copy link
Contributor

The existing code made the assumption that if a list of versions was able to fit into the request packet when generating the first subscribe request, then any resubscribe containing data versions for the same clusters would also fit. However the data version numbers themselves can be updated when we receive reports, and this can cause the list to no longer fit the request packet, leaving us in a state where every resubscribe attempt would fail.

Note that this change means even an initial subscribe request with a data version list that is too long will no longer fail; ReadClient will simply truncate the list as needed in all cases.

Copy link

github-actions bot commented Jul 1, 2024

PR #34111: Size comparison from cde0b92 to 79882d0

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section cde0b92 79882d0 change % change
bl602 lighting-app bl602 FLASH 1270846 1271070 224 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285104 1285584 480 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310062 1310286 224 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1091992 1092216 224 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102686 1102910 224 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1181802 1182026 224 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875086 875310 224 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127428 1127706 278 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1078878 1079102 224 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090140 1090364 224 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798480 798552 72 0.0
RAM 103096 103096 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814236 814308 72 0.0
RAM 113568 113568 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 803752 803824 72 0.0
RAM 107696 107696 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 756544 756616 72 0.0
RAM 101788 101788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 742224 742296 72 0.0
RAM 102036 102036 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606042 606162 120 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651078 651198 120 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 666249 666321 72 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686093 686165 72 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686093 686165 72 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643037 643101 64 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608793 608841 48 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628437 628477 40 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628437 628477 40 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624297 624369 72 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644021 644093 72 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644021 644093 72 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592861 592933 72 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612713 612785 72 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612713 612785 72 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 923428 923428 0 0.0
RAM 134996 134996 0 0.0
lock-app BRD4338a FLASH 762340 762452 112 0.0
RAM 174552 174552 0 0.0
window-app BRD4187C FLASH 1012216 1012344 128 0.0
RAM 129616 129616 0 0.0
esp32 all-clusters-app c3devkit DRAM 88332 88332 0 0.0
FLASH 1468930 1469044 114 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114796 114796 0 0.0
FLASH 1538191 1538279 88 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529680 2530096 416 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5581742 5582142 400 0.0
RAM 487512 487512 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5051864 5052280 416 0.0
RAM 232936 232936 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4477896 4478312 416 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11693351 11693751 400 0.0
RAM 542146 542146 0 0.0
chip-tool-ipv6only arm64 unknown 19992 19992 0 0.0
FLASH 10811708 10811948 240 0.0
RAM 591072 591072 0 0.0
fabric-admin debug unknown 5592 5592 0 0.0
FLASH 10657831 10658247 416 0.0
RAM 535786 535786 0 0.0
fabric-bridge-app debug unknown 5264 5264 0 0.0
FLASH 4348440 4348856 416 0.0
RAM 204960 204960 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5373522 5373522 0 0.0
RAM 221640 221640 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541480 4541880 400 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197336 4197752 416 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4322696 4323112 416 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2794957 2795373 416 0.0
RAM 150480 150480 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4167964 4168220 256 0.0
RAM 235864 235864 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605144 5605560 416 0.0
RAM 341800 341800 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9862542 9862942 400 0.0
RAM 400024 400024 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502292 1502420 128 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 881272 881320 48 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951804 951852 48 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826824 826824 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575996 576060 64 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591160 591232 72 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610104 610168 64 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674720 674792 72 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613628 1613740 112 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534396 1534508 112 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461268 1461396 128 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463124 1463252 128 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651052 651124 72 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611184 611256 72 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472456 472528 72 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632508 632626 118 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657190 657304 114 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777484 777602 118 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675502 675620 118 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634092 634210 118 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 719896 720010 114 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612324 612442 118 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 800104 800222 118 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665666 665784 118 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694832 694950 118 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616366 616484 118 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606750 606868 118 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466192 466192 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640706 640824 118 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650576 650694 118 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625640 625758 118 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 518872 518990 118 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1633672 1633816 144 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16119802 16120170 368 0.0
RAM 7084788 7084924 136 0.0

Copy link

github-actions bot commented Jul 1, 2024

PR #34111: Size comparison from 176896a to 005d220

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 176896a 005d220 change % change
bl602 lighting-app bl602 FLASH 1270864 1271088 224 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285122 1285602 480 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310080 1310304 224 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092014 1092238 224 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102708 1102932 224 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1181824 1182048 224 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875104 875328 224 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127446 1127724 278 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1078900 1079124 224 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090162 1090386 224 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798488 798560 72 0.0
RAM 103096 103096 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814252 814324 72 0.0
RAM 113568 113568 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 803760 803832 72 0.0
RAM 107696 107696 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 756552 756624 72 0.0
RAM 101788 101788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 742232 742304 72 0.0
RAM 102036 102036 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606066 606186 120 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651094 651214 120 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 666281 666345 64 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686133 686197 64 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686133 686197 64 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643061 643133 72 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608833 608873 40 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628469 628517 48 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628469 628517 48 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624337 624401 64 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644053 644117 64 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644053 644117 64 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592901 592973 72 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612753 612825 72 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612753 612825 72 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 923444 923436 -8 -0.0
RAM 134996 134996 0 0.0
lock-app BRD4338a FLASH 762412 762524 112 0.0
RAM 174552 174552 0 0.0
window-app BRD4187C FLASH 1012232 1012352 120 0.0
RAM 129616 129616 0 0.0
esp32 all-clusters-app c3devkit DRAM 88396 88396 0 0.0
FLASH 1467774 1467888 114 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114868 114868 0 0.0
FLASH 1536675 1536799 124 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529696 2530112 416 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5581758 5582158 400 0.0
RAM 487512 487512 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5051912 5052328 416 0.0
RAM 232936 232936 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4477912 4478328 416 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11693383 11693799 416 0.0
RAM 542146 542146 0 0.0
chip-tool-ipv6only arm64 unknown 19992 19992 0 0.0
FLASH 10811724 10811980 256 0.0
RAM 591072 591072 0 0.0
fabric-admin debug unknown 5592 5592 0 0.0
FLASH 10657847 10658247 400 0.0
RAM 535786 535786 0 0.0
fabric-bridge-app debug unknown 5264 5264 0 0.0
FLASH 4348456 4348856 400 0.0
RAM 204960 204960 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5373570 5373570 0 0.0
RAM 221640 221640 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541480 4541896 416 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197352 4197768 416 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4322712 4323128 416 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2794973 2795373 400 0.0
RAM 150480 150480 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4167980 4168236 256 0.0
RAM 235864 235864 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605192 5605592 400 0.0
RAM 341800 341800 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9862542 9862958 416 0.0
RAM 400024 400024 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502364 1502428 64 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 881292 881340 48 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951804 951852 48 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826848 826848 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575996 576076 80 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591160 591232 72 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610120 610184 64 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674752 674824 72 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613644 1613772 128 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534412 1534540 128 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461292 1461404 112 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463156 1463268 112 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651084 651156 72 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611208 611280 72 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472472 472544 72 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632528 632646 118 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657206 657320 114 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777506 777624 118 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675524 675642 118 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634112 634230 118 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 719916 720030 114 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612340 612458 118 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 800126 800244 118 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665686 665804 118 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694854 694972 118 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616386 616504 118 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606770 606888 118 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466214 466214 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640726 640844 118 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650596 650714 118 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625660 625778 118 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 518886 519004 118 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1633712 1633856 144 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16119922 16120290 368 0.0
RAM 7084844 7084980 136 0.0

Copy link

github-actions bot commented Jul 2, 2024

PR #34111: Size comparison from 1919112 to 3ab02a6

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 1919112 3ab02a6 change % change
bl602 lighting-app bl602 FLASH 1270864 1271088 224 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285122 1285602 480 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310080 1310304 224 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092014 1092238 224 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102708 1102932 224 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1181824 1182048 224 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875104 875328 224 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127446 1127724 278 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1078900 1079124 224 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090162 1090386 224 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797272 797344 72 0.0
RAM 106636 106636 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816188 816260 72 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807640 807712 72 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760480 760552 72 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746200 746272 72 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606066 606186 120 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651094 651214 120 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 666281 666345 64 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686133 686197 64 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686133 686197 64 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643061 643133 72 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608833 608873 40 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628469 628517 48 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628469 628517 48 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624337 624401 64 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644053 644117 64 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644053 644117 64 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592901 592973 72 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612753 612825 72 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612753 612825 72 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 923444 923436 -8 -0.0
RAM 134996 134996 0 0.0
lock-app BRD4338a FLASH 762412 762524 112 0.0
RAM 174552 174552 0 0.0
window-app BRD4187C FLASH 1012232 1012352 120 0.0
RAM 129616 129616 0 0.0
esp32 all-clusters-app c3devkit DRAM 88396 88396 0 0.0
FLASH 1467774 1467888 114 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114868 114868 0 0.0
FLASH 1536675 1536799 124 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529696 2530112 416 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5581758 5582158 400 0.0
RAM 487512 487512 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5051912 5052328 416 0.0
RAM 232936 232936 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4477912 4478328 416 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11693383 11693799 416 0.0
RAM 542146 542146 0 0.0
chip-tool-ipv6only arm64 unknown 19992 19992 0 0.0
FLASH 10811724 10811980 256 0.0
RAM 591072 591072 0 0.0
fabric-admin debug unknown 5592 5592 0 0.0
FLASH 10657847 10658247 400 0.0
RAM 535786 535786 0 0.0
fabric-bridge-app debug unknown 5264 5264 0 0.0
FLASH 4348456 4348856 400 0.0
RAM 204960 204960 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5373570 5373570 0 0.0
RAM 221640 221640 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541480 4541896 416 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197352 4197768 416 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4322712 4323128 416 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2794973 2795373 400 0.0
RAM 150480 150480 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4167980 4168236 256 0.0
RAM 235864 235864 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605192 5605592 400 0.0
RAM 341800 341800 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9862542 9862958 416 0.0
RAM 400024 400024 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502364 1502428 64 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 881292 881340 48 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951804 951852 48 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826848 826848 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575996 576076 80 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591160 591232 72 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610120 610184 64 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674752 674824 72 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613644 1613772 128 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534412 1534540 128 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461292 1461404 112 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463156 1463268 112 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651084 651156 72 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611208 611280 72 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472472 472544 72 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632528 632646 118 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657206 657320 114 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777506 777624 118 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675524 675642 118 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634112 634230 118 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 719916 720030 114 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612340 612458 118 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 800126 800244 118 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665686 665804 118 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694854 694972 118 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616386 616504 118 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606770 606888 118 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466214 466214 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640726 640844 118 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650596 650714 118 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625660 625778 118 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 518886 519004 118 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1633712 1633856 144 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16119922 16120290 368 0.0
RAM 7084844 7084980 136 0.0

ksperling-apple and others added 7 commits July 2, 2024 22:24
The existing code made the assumption that if a list of versions was able to
fit into the request packet when generating the first subscribe request, then
any resubscribe containing data versions for the same clusters would also fit.
However the data version numbers themselves can be updated when we receive
reports, and this can cause the list to no longer fit the request packet,
leaving us in a state where every resubscribe attempt would fail.

Note that this change means even an initial subscribe request with a data
version list that is too long will no longer fail; ReadClient will simply
truncate the list as needed in all cases.
Copy link

github-actions bot commented Jul 2, 2024

PR #34111: Size comparison from 247f05d to 4d8ea7f

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 247f05d 4d8ea7f change % change
bl602 lighting-app bl602 FLASH 1270864 1271088 224 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285122 1285602 480 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310080 1310304 224 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092014 1092238 224 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102708 1102932 224 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1181824 1182048 224 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875104 875328 224 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127446 1127724 278 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1078900 1079124 224 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090162 1090386 224 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797272 797344 72 0.0
RAM 106636 106636 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816188 816260 72 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807640 807712 72 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760480 760552 72 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746200 746272 72 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606066 606186 120 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651094 651214 120 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 666281 666345 64 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686133 686197 64 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686133 686197 64 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643061 643133 72 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608833 608873 40 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628469 628517 48 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628469 628517 48 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624337 624401 64 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644053 644117 64 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644053 644117 64 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592901 592973 72 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612753 612825 72 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612753 612825 72 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 923444 923436 -8 -0.0
RAM 134996 134996 0 0.0
lock-app BRD4338a FLASH 762412 762524 112 0.0
RAM 174552 174552 0 0.0
window-app BRD4187C FLASH 1012232 1012352 120 0.0
RAM 129616 129616 0 0.0
esp32 all-clusters-app c3devkit DRAM 88396 88396 0 0.0
FLASH 1467774 1467888 114 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114868 114868 0 0.0
FLASH 1536675 1536799 124 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529696 2530112 416 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5581758 5582158 400 0.0
RAM 487512 487512 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5051912 5052328 416 0.0
RAM 232936 232936 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4477912 4478328 416 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11693383 11693799 416 0.0
RAM 542146 542146 0 0.0
chip-tool-ipv6only arm64 unknown 19992 19992 0 0.0
FLASH 10811724 10811980 256 0.0
RAM 591072 591072 0 0.0
fabric-admin debug unknown 5592 5592 0 0.0
FLASH 10657847 10658247 400 0.0
RAM 535786 535786 0 0.0
fabric-bridge-app debug unknown 5264 5264 0 0.0
FLASH 4348456 4348856 400 0.0
RAM 204960 204960 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5373570 5373570 0 0.0
RAM 221640 221640 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541480 4541896 416 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197352 4197768 416 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4322712 4323128 416 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2794973 2795373 400 0.0
RAM 150480 150480 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4167980 4168236 256 0.0
RAM 235864 235864 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605192 5605592 400 0.0
RAM 341800 341800 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9862542 9862958 416 0.0
RAM 400024 400024 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502364 1502428 64 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 881292 881340 48 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951804 951852 48 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826848 826848 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575996 576076 80 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591160 591232 72 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610120 610184 64 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674752 674824 72 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613644 1613772 128 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534412 1534540 128 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461292 1461404 112 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463156 1463268 112 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651084 651156 72 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611208 611280 72 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472472 472544 72 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632528 632646 118 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657206 657320 114 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777506 777624 118 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675524 675642 118 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634112 634230 118 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 719916 720030 114 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612340 612458 118 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 800126 800244 118 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665686 665804 118 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694854 694972 118 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616386 616504 118 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606770 606888 118 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466214 466214 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640726 640844 118 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650596 650714 118 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625660 625778 118 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 518886 519004 118 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1633712 1633856 144 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16119922 16120290 368 0.0
RAM 7084844 7084980 136 0.0

@mergify mergify bot merged commit 102faca into project-chip:master Jul 2, 2024
68 checks passed
@ksperling-apple ksperling-apple deleted the readclient-dvs branch July 3, 2024 02:01
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Jul 3, 2024
After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.
austina-csa pushed a commit to austina-csa/connectedhomeip that referenced this pull request Jul 10, 2024
…roject-chip#34111)

* ReadClient: Truncate data version list during encoding if necessary

The existing code made the assumption that if a list of versions was able to
fit into the request packet when generating the first subscribe request, then
any resubscribe containing data versions for the same clusters would also fit.
However the data version numbers themselves can be updated when we receive
reports, and this can cause the list to no longer fit the request packet,
leaving us in a state where every resubscribe attempt would fail.

Note that this change means even an initial subscribe request with a data
version list that is too long will no longer fail; ReadClient will simply
truncate the list as needed in all cases.

* Apply comment suggestions from code review

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

* Treat CHIP_ERROR_BUFFER_TOO_SMALL the same

* Switch data_model tests to pw_unit_test

* Add WillSendMessage to loopback delegate and make source addresses more plausible

* Add test for ReadClient data version truncation

* Make the linter happy

---------

Co-authored-by: Boris Zbarsky <[email protected]>
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Jul 23, 2024
After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.
mergify bot pushed a commit that referenced this pull request Jul 25, 2024
…ts (#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After #34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.
PeterC1965 pushed a commit to PeterC1965/connectedhomeip that referenced this pull request Jul 26, 2024
…ts (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.
mergify bot pushed a commit that referenced this pull request Jul 29, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>

* Revert thermostat stuff breaking tot (#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After #34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 31, 2024
…ts (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 31, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (project-chip#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>

* Revert thermostat stuff breaking tot (project-chip#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (project-chip#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (project-chip#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (project-chip#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (project-chip#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Jul 31, 2024
…ts (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Jul 31, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (project-chip#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>

* Revert thermostat stuff breaking tot (project-chip#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (project-chip#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (project-chip#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (project-chip#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (project-chip#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
ArekBalysNordic pushed a commit to ArekBalysNordic/sdk-connectedhomeip that referenced this pull request Nov 28, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>

* Revert thermostat stuff breaking tot (#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip/connectedhomeip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
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.

5 participants