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

Establish CASE on re-subscription #20080

Merged
merged 14 commits into from
Jul 27, 2022

Conversation

mrjerryjohns
Copy link
Contributor

@mrjerryjohns mrjerryjohns commented Jun 28, 2022

This adds support for re-establishing CASE on re-subscription if a CHIP_ERROR_TIMEOUT was encountered as a default policy implementation, with the application having the ability to over-ride that if needed.

Fixes #16202

This works out-of-the-box if you call SendAutoResubscribeRequest.

This deletes the function-callback approach in ReadPrepareParams::mResubscribePolicy and uses instead the re-named, ReadClient::Callback::OnResubscriptionNeeded callback to effect the right re-subscription policy.

That callback now pivots from being just an informational callback to one that places the onus on the application (if it over-rides the default impl) to schedule the ensuing re-subscription by calling back into ReadClient::ScheduleResubscription.

Helper methods are provided to help applications pick and select elements of the default re-sub implementation as they desire.

Other notables:

  • Fixes missing clean-up of timers on ReadClient destruction initiated by the application.
  • Fixes missing error-handling of calls made during re-subscription to ensure they trigger further re-subscription.

Testing

  1. Added a new TestSubscribeAttributeTimeout in TestRead.cpp that validates re-subscription sans CASE.
  2. Added a new TestResubscription in the Python test suite that validates re-subscription with CASE.

This adds support for re-establishing CASE on re-subscription as a
default policy implementation, with the application having the ability
to over-ride that if needed.
@github-actions
Copy link

github-actions bot commented Jul 26, 2022

PR #20080: Size comparison from 79e8c9e to a495e41

Increases (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 79e8c9e a495e41 change % change
bl602 lighting-app bl602 .bss 117538 117546 8 0.0
.text 1051524 1051576 52 0.0
bl602+rpc .bss 124978 124986 8 0.0
.text 1083188 1083240 52 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182940 183132 192 0.1
.bss 74252 74260 8 0.0
.text 579692 579732 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read/write) 157820 157828 8 0.0
.bss 73548 73556 8 0.0
.text 556060 556092 32 0.0
lock-ftd LP_CC2652R7 (read/write) 169984 170176 192 0.1
.bss 71332 71340 8 0.0
.text 594624 594656 32 0.0
lock-mtd LP_CC2652R7 (read/write) 183444 183756 312 0.2
.bss 67020 67028 8 0.0
pump-app LP_CC2652R7 (read/write) 161384 161728 344 0.2
.bss 71396 71404 8 0.0
pump-controller-app LP_CC2652R7 (read/write) 175760 176120 360 0.2
.bss 71532 71540 8 0.0
shell LP_CC2652R7 (read only) 660894 660934 40 0.0
.bss 76572 76580 8 0.0
.text 575404 575460 56 0.0
cyw30739 light cyw930739m2evb_01 .bss 65656 65664 8 0.0
lock cyw930739m2evb_01 .bss 70384 70392 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 64896 64904 8 0.0
efr32 lighting-app BRD4161A .bss 133276 133284 8 0.0
BRD4161A+rpc .bss 149956 149964 8 0.0
BRD4161A+rs911x .bss 140992 141000 8 0.0
lock-app BRD4161A+wf200 .bss 144360 144368 8 0.0
window-app BRD4161A .bss 134748 134756 8 0.0
esp32 all-clusters-app c3devkit .dram0.bss 70288 70296 8 0.0
m5stack .dram0.bss 75800 75808 8 0.0
k32w light k32w0+release (read/write) 641776 642528 752 0.1
.bss 69728 69736 8 0.0
.text 567292 568036 744 0.1
lock k32w0+release (read/write) 699056 699776 720 0.1
.bss 70168 70176 8 0.0
.text 624124 624836 712 0.1
linux chip-tool-ipv6only arm64 (read only) 9809652 9812100 2448 0.0
(read/write) 678593 678609 16 0.0
.got 13536 13552 16 0.1
.text 7760852 7763396 2544 0.0
thermostat-no-ble arm64 (read only) 2342156 2342700 544 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.text 1965520 1966288 768 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2449328 2450312 984 0.0
.bss 214508 214516 8 0.0
.text 1411972 1412956 984 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 143132 143140 8 0.0
text 812408 812416 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 bss 142368 142376 8 0.0
text 801716 801724 8 0.0
p6 all-clusters-app default .bss 149128 149136 8 0.0
all-clusters-minimal-app default .bss 148408 148416 8 0.0
light-app default (read/write) 1551516 1552164 648 0.0
.bss 140312 140320 8 0.0
.text 1400376 1401016 640 0.0
lock-app default (read/write) 1589116 1589772 656 0.0
.bss 144768 144776 8 0.0
.text 1433504 1434152 648 0.0
telink light-switch-app tlsr9518adk80d bss 70808 70816 8 0.0
text 567188 567198 10 0.0
lighting-app tlsr9518adk80d bss 71652 71660 8 0.0
text 583758 583772 14 0.0
Decreases (29 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, p6, telink)
platform target config section 79e8c9e a495e41 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381210 -240 -0.0
bl602+rpc (read/write) 1426866 1426610 -256 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668419 668235 -184 -0.0
.rodata 88411 88187 -224 -0.3
all-clusters-minimal-app LP_CC2652R7 (read only) 634019 633819 -200 -0.0
.rodata 77635 77403 -232 -0.3
lock-ftd LP_CC2652R7 (read only) 671567 671383 -184 -0.0
.rodata 76463 76247 -216 -0.3
lock-mtd LP_CC2652R7 (read only) 653795 653491 -304 -0.0
.rodata 101163 100867 -296 -0.3
.text 552152 552144 -8 -0.0
pump-app LP_CC2652R7 (read only) 680999 680663 -336 -0.0
.rodata 89175 88855 -320 -0.4
.text 591340 591324 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 666759 666407 -352 -0.1
.rodata 85007 84671 -336 -0.4
.text 581272 581256 -16 -0.0
shell LP_CC2652R7 (read/write) 185984 185952 -32 -0.0
.rodata 85174 85158 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583158 -176 -0.0
.app_xip_area 460472 460288 -184 -0.0
lock cyw930739m2evb_01 (read/write) 589254 589078 -176 -0.0
.app_xip_area 461664 461480 -184 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588866 -216 -0.0
.app_xip_area 467036 466812 -224 -0.0
efr32 lighting-app BRD4161A (read/write) 1088160 1087760 -400 -0.0
.text 952816 952408 -408 -0.0
BRD4161A+rpc (read/write) 1142452 1142052 -400 -0.0
.text 990216 989808 -408 -0.0
BRD4161A+rs911x (read/write) 952704 952304 -400 -0.0
.text 809644 809236 -408 -0.1
lock-app BRD4161A+wf200 (read/write) 1128256 1128160 -96 -0.0
.text 981820 981716 -104 -0.0
window-app BRD4161A (read/write) 1081636 1081236 -400 -0.0
.text 944788 944380 -408 -0.0
esp32 all-clusters-app c3devkit (read only) 1022112 1022096 -16 -0.0
(read/write) 1486586 1486274 -312 -0.0
.flash.rodata 216264 215936 -328 -0.2
.flash.text 1022112 1022096 -16 -0.0
m5stack (read only) 1075771 1075723 -48 -0.0
(read/write) 488608 488312 -296 -0.1
.flash.rodata 246668 246364 -304 -0.1
.flash.text 1070387 1070339 -48 -0.0
linux chip-tool-ipv6only arm64 .rodata 466500 466356 -144 -0.0
thermostat-no-ble arm64 .rodata 139588 139364 -224 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177131 1177015 -116 -0.0
rodata 142660 142544 -116 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157183 1157067 -116 -0.0
rodata 134192 134076 -116 -0.1
p6 all-clusters-app default (read only) 881568 881560 -8 -0.0
(read/write) 1687044 1686644 -400 -0.0
.text 1526880 1526472 -408 -0.0
all-clusters-minimal-app default (read only) 882288 882280 -8 -0.0
(read/write) 1631148 1630740 -408 -0.0
.text 1471704 1471288 -416 -0.0
light-app default (read only) 890592 890584 -8 -0.0
lock-app default (read only) 886120 886112 -8 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799552 -108 -0.0
lighting-app tlsr9518adk80d (read/write) 819760 819660 -100 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 79e8c9e a495e41 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381210 -240 -0.0
.bss 117538 117546 8 0.0
.data 4480 4480 0 0.0
.text 1051524 1051576 52 0.0
bl602+rpc (read/write) 1426866 1426610 -256 -0.0
.bss 124978 124986 8 0.0
.data 4600 4600 0 0.0
.text 1083188 1083240 52 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668419 668235 -184 -0.0
(read/write) 182940 183132 192 0.1
.bss 74252 74260 8 0.0
.data 3356 3356 0 0.0
.rodata 88411 88187 -224 -0.3
.text 579692 579732 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634019 633819 -200 -0.0
(read/write) 157820 157828 8 0.0
.bss 73548 73556 8 0.0
.data 3356 3356 0 0.0
.rodata 77635 77403 -232 -0.3
.text 556060 556092 32 0.0
lock-ftd LP_CC2652R7 (read only) 671567 671383 -184 -0.0
(read/write) 169984 170176 192 0.1
.bss 71332 71340 8 0.0
.data 3280 3280 0 0.0
.rodata 76463 76247 -216 -0.3
.text 594624 594656 32 0.0
lock-mtd LP_CC2652R7 (read only) 653795 653491 -304 -0.0
(read/write) 183444 183756 312 0.2
.bss 67020 67028 8 0.0
.data 3280 3280 0 0.0
.rodata 101163 100867 -296 -0.3
.text 552152 552144 -8 -0.0
pump-app LP_CC2652R7 (read only) 680999 680663 -336 -0.0
(read/write) 161384 161728 344 0.2
.bss 71396 71404 8 0.0
.data 3280 3280 0 0.0
.rodata 89175 88855 -320 -0.4
.text 591340 591324 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 666759 666407 -352 -0.1
(read/write) 175760 176120 360 0.2
.bss 71532 71540 8 0.0
.data 3276 3276 0 0.0
.rodata 85007 84671 -336 -0.4
.text 581272 581256 -16 -0.0
shell LP_CC2652R7 (read only) 660894 660934 40 0.0
(read/write) 185984 185952 -32 -0.0
.bss 76572 76580 8 0.0
.data 3360 3360 0 0.0
.rodata 85174 85158 -16 -0.0
.text 575404 575460 56 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583158 -176 -0.0
.app_xip_area 460472 460288 -184 -0.0
.bss 65656 65664 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589254 589078 -176 -0.0
.app_xip_area 461664 461480 -184 -0.0
.bss 70384 70392 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588866 -216 -0.0
.app_xip_area 467036 466812 -224 -0.0
.bss 64896 64904 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088160 1087760 -400 -0.0
.bss 133276 133284 8 0.0
.data 2048 2048 0 0.0
.text 952816 952408 -408 -0.0
BRD4161A+rpc (read/write) 1142452 1142052 -400 -0.0
.bss 149956 149964 8 0.0
.data 2260 2260 0 0.0
.text 990216 989808 -408 -0.0
BRD4161A+rs911x (read/write) 952704 952304 -400 -0.0
.bss 140992 141000 8 0.0
.data 2048 2048 0 0.0
.text 809644 809236 -408 -0.1
lock-app BRD4161A+wf200 (read/write) 1128256 1128160 -96 -0.0
.bss 144360 144368 8 0.0
.data 2056 2056 0 0.0
.text 981820 981716 -104 -0.0
window-app BRD4161A (read/write) 1081636 1081236 -400 -0.0
.bss 134748 134756 8 0.0
.data 2076 2076 0 0.0
.text 944788 944380 -408 -0.0
esp32 all-clusters-app c3devkit (read only) 1022112 1022096 -16 -0.0
(read/write) 1486586 1486274 -312 -0.0
.dram0.bss 70288 70296 8 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216264 215936 -328 -0.2
.flash.text 1022112 1022096 -16 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1075771 1075723 -48 -0.0
(read/write) 488608 488312 -296 -0.1
.dram0.bss 75800 75808 8 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246668 246364 -304 -0.1
.flash.text 1070387 1070339 -48 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 641776 642528 752 0.1
.bss 69728 69736 8 0.0
.data 2028 2028 0 0.0
.text 567292 568036 744 0.1
lock k32w0+release (read/write) 699056 699776 720 0.1
.bss 70168 70176 8 0.0
.data 2036 2036 0 0.0
.text 624124 624836 712 0.1
linux chip-tool-ipv6only arm64 (read only) 9809652 9812100 2448 0.0
(read/write) 678593 678609 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 623936 623936 0 0.0
.dynamic 560 560 0 0.0
.got 13536 13552 16 0.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 466500 466356 -144 -0.0
.text 7760852 7763396 2544 0.0
thermostat-no-ble arm64 (read only) 2342156 2342700 544 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75672 75672 0 0.0
.dynamic 560 560 0 0.0
.got 4984 4984 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 139588 139364 -224 -0.2
.text 1965520 1966288 768 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449328 2450312 984 0.0
.bss 214508 214516 8 0.0
.data 5872 5872 0 0.0
.text 1411972 1412956 984 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177131 1177015 -116 -0.0
bss 143132 143140 8 0.0
rodata 142660 142544 -116 -0.1
text 812408 812416 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157183 1157067 -116 -0.0
bss 142368 142376 8 0.0
rodata 134192 134076 -116 -0.1
text 801716 801724 8 0.0
p6 all-clusters-app default (read only) 881568 881560 -8 -0.0
(read/write) 1687044 1686644 -400 -0.0
.bss 149128 149136 8 0.0
.data 2648 2648 0 0.0
.text 1526880 1526472 -408 -0.0
all-clusters-minimal-app default (read only) 882288 882280 -8 -0.0
(read/write) 1631148 1630740 -408 -0.0
.bss 148408 148416 8 0.0
.data 2648 2648 0 0.0
.text 1471704 1471288 -416 -0.0
light-app default (read only) 890592 890584 -8 -0.0
(read/write) 1551516 1552164 648 0.0
.bss 140312 140320 8 0.0
.data 2440 2440 0 0.0
.text 1400376 1401016 640 0.0
lock-app default (read only) 886120 886112 -8 -0.0
(read/write) 1589116 1589772 656 0.0
.bss 144768 144776 8 0.0
.data 2456 2456 0 0.0
.text 1433504 1434152 648 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799552 -108 -0.0
bss 70808 70816 8 0.0
noinit 40416 40416 0 0.0
text 567188 567198 10 0.0
lighting-app tlsr9518adk80d (read/write) 819760 819660 -100 -0.0
bss 71652 71660 8 0.0
noinit 40416 40416 0 0.0
text 583758 583772 14 0.0

src/app/ReadClient.cpp Outdated Show resolved Hide resolved
src/app/ReadClient.cpp Outdated Show resolved Hide resolved
src/app/ReadClient.cpp Outdated Show resolved Hide resolved
src/app/ReadClient.cpp Outdated Show resolved Hide resolved
src/app/ReadClient.cpp Show resolved Hide resolved
src/app/ReadClient.h Outdated Show resolved Hide resolved
src/app/ReadClient.h Outdated Show resolved Hide resolved
src/app/ReadClient.h Outdated Show resolved Hide resolved
src/app/ReadClient.h Outdated Show resolved Hide resolved
src/app/ReadClient.h Outdated Show resolved Hide resolved
@github-actions
Copy link

PR #20080: Size comparison from a7ad1d8 to 9b6fbb7

Increases (6 builds for cyw30739, mbed, telink)
platform target config section a7ad1d8 9b6fbb7 change % change
cyw30739 light cyw930739m2evb_01 .bss 65656 65664 8 0.0
lock cyw930739m2evb_01 .bss 70384 70392 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 64896 64904 8 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2449328 2450376 1048 0.0
.bss 214508 214516 8 0.0
.text 1411972 1413020 1048 0.1
telink light-switch-app tlsr9518adk80d bss 70808 70816 8 0.0
text 567186 567224 38 0.0
lighting-app tlsr9518adk80d bss 71652 71660 8 0.0
text 583758 583798 40 0.0
Decreases (5 builds for cyw30739, telink)
platform target config section a7ad1d8 9b6fbb7 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583198 -136 -0.0
.app_xip_area 460472 460328 -144 -0.0
lock cyw930739m2evb_01 (read/write) 589254 589110 -144 -0.0
.app_xip_area 461664 461512 -152 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588906 -176 -0.0
.app_xip_area 467036 466852 -184 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799576 -84 -0.0
lighting-app tlsr9518adk80d (read/write) 819760 819684 -76 -0.0
Full report (6 builds for cyw30739, mbed, telink)
platform target config section a7ad1d8 9b6fbb7 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583198 -136 -0.0
.app_xip_area 460472 460328 -144 -0.0
.bss 65656 65664 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589254 589110 -144 -0.0
.app_xip_area 461664 461512 -152 -0.0
.bss 70384 70392 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588906 -176 -0.0
.app_xip_area 467036 466852 -184 -0.0
.bss 64896 64904 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449328 2450376 1048 0.0
.bss 214508 214516 8 0.0
.data 5872 5872 0 0.0
.text 1411972 1413020 1048 0.1
telink light-switch-app tlsr9518adk80d (read/write) 799660 799576 -84 -0.0
bss 70808 70816 8 0.0
noinit 40416 40416 0 0.0
text 567186 567224 38 0.0
lighting-app tlsr9518adk80d (read/write) 819760 819684 -76 -0.0
bss 71652 71660 8 0.0
noinit 40416 40416 0 0.0
text 583758 583798 40 0.0

@github-actions
Copy link

github-actions bot commented Jul 26, 2022

PR #20080: Size comparison from a7ad1d8 to 10ab053

Increases above 0.2%:

platform target config section a7ad1d8 10ab053 change % change
linux all-clusters-app debug .init_array 1072 1144 72 6.7
.rodata 268139 269099 960 0.4
all-clusters-minimal-app debug .init_array 1064 1136 72 6.8
.rodata 268139 269163 1024 0.4
bridge-app debug+rpc (read only) 2344289 2350649 6360 0.3
.init_array 744 816 72 9.7
.rodata 200456 201416 960 0.5
.text 1981282 1986466 5184 0.3
chip-tool debug .init_array 656 760 104 15.9
.rodata 532693 533973 1280 0.2
lighting-app debug+rpc (read only) 2567361 2573801 6440 0.3
.init_array 832 904 72 8.7
.rodata 216144 217168 1024 0.5
.text 2180578 2185778 5200 0.2
lock-app debug (read only) 2532409 2538801 6392 0.3
.init_array 808 880 72 8.9
.rodata 231120 232048 928 0.4
.text 2135426 2140674 5248 0.2
ota-provider-app debug (read only) 2336193 2343097 6904 0.3
.init_array 688 760 72 10.5
.rodata 206136 207576 1440 0.7
.text 1966610 1971858 5248 0.3
ota-requestor-app debug .init_array 752 824 72 9.6
.rodata 210112 211104 992 0.5
shell debug .init_array 944 1016 72 7.6
.rodata 230322 231250 928 0.4
tv-app debug .init_array 968 1064 96 9.9
.rodata 252168 253384 1216 0.5
tv-casting-app debug .init_array 928 1024 96 10.3
.rodata 337249 338577 1328 0.4
Increases (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a7ad1d8 10ab053 change % change
bl602 lighting-app bl602 .bss 117538 117546 8 0.0
.text 1051520 1051600 80 0.0
bl602+rpc .bss 124978 124986 8 0.0
.text 1083188 1083264 76 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182932 183100 168 0.1
.bss 74252 74260 8 0.0
.text 579700 579764 64 0.0
all-clusters-minimal-app LP_CC2652R7 (read/write) 157820 157828 8 0.0
.bss 73548 73556 8 0.0
.text 556060 556124 64 0.0
lock-ftd LP_CC2652R7 (read/write) 169984 170136 152 0.1
.bss 71332 71340 8 0.0
.text 594624 594696 72 0.0
lock-mtd LP_CC2652R7 (read/write) 183444 183716 272 0.1
.bss 67020 67028 8 0.0
.text 552152 552184 32 0.0
pump-app LP_CC2652R7 (read/write) 161384 161688 304 0.2
.bss 71396 71404 8 0.0
.text 591340 591364 24 0.0
pump-controller-app LP_CC2652R7 (read/write) 175768 176080 312 0.2
.bss 71532 71540 8 0.0
.text 581264 581296 32 0.0
shell LP_CC2652R7 (read only) 660894 660974 80 0.0
.bss 76572 76580 8 0.0
.text 575404 575500 96 0.0
cyw30739 light cyw930739m2evb_01 .bss 65656 65664 8 0.0
lock cyw930739m2evb_01 .bss 70384 70392 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 64896 64904 8 0.0
efr32 lighting-app BRD4161A .bss 133276 133284 8 0.0
BRD4161A+rpc .bss 149956 149964 8 0.0
BRD4161A+rs911x .bss 140992 141000 8 0.0
lock-app BRD4161A+wf200 .bss 144360 144368 8 0.0
window-app BRD4161A .bss 134748 134756 8 0.0
esp32 all-clusters-app c3devkit .dram0.bss 70288 70296 8 0.0
m5stack .dram0.bss 75800 75808 8 0.0
k32w light k32w0+release (read/write) 641776 642576 800 0.1
.bss 69728 69736 8 0.0
.text 567292 568084 792 0.1
lock k32w0+release (read/write) 699056 699824 768 0.1
.bss 70168 70176 8 0.0
.text 624124 624884 760 0.1
linux all-clusters-app debug (read only) 2986593 2989433 2840 0.1
(read/write) 155480 155584 104 0.1
.bss 61856 61888 32 0.1
.init_array 1072 1144 72 6.7
.rodata 268139 269099 960 0.4
.text 2540098 2541762 1664 0.1
all-clusters-minimal-app debug (read only) 2829473 2832377 2904 0.1
(read/write) 147184 147288 104 0.1
.bss 61056 61088 32 0.1
.init_array 1064 1136 72 6.8
.rodata 268139 269163 1024 0.4
.text 2385586 2387250 1664 0.1
bridge-app debug+rpc (read only) 2344289 2350649 6360 0.3
(read/write) 127056 127160 104 0.1
.bss 50144 50176 32 0.1
.init_array 744 816 72 9.7
.rodata 200456 201416 960 0.5
.text 1981282 1986466 5184 0.3
chip-tool debug (read only) 10385937 10391705 5768 0.1
(read/write) 631088 631224 136 0.0
.bss 24824 24856 32 0.1
.init_array 656 760 104 15.9
.rodata 532693 533973 1280 0.2
.text 8401668 8405844 4176 0.0
chip-tool-ipv6only arm64 (read only) 9809588 9812020 2432 0.0
(read/write) 678593 678609 16 0.0
.got 13536 13552 16 0.1
.text 7760852 7763380 2528 0.0
lighting-app debug+rpc (read only) 2567361 2573801 6440 0.3
(read/write) 129992 130096 104 0.1
.bss 49696 49728 32 0.1
.init_array 832 904 72 8.7
.rodata 216144 217168 1024 0.5
.text 2180578 2185778 5200 0.2
lock-app debug (read only) 2532409 2538801 6392 0.3
(read/write) 125040 125176 136 0.1
.bss 48096 48160 64 0.1
.init_array 808 880 72 8.9
.rodata 231120 232048 928 0.4
.text 2135426 2140674 5248 0.2
ota-provider-app debug (read only) 2336193 2343097 6904 0.3
(read/write) 118840 118944 104 0.1
.bss 47744 47776 32 0.1
.init_array 688 760 72 10.5
.rodata 206136 207576 1440 0.7
.text 1966610 1971858 5248 0.3
ota-requestor-app debug (read only) 2461169 2464089 2920 0.1
(read/write) 126200 126304 104 0.1
.bss 50112 50144 32 0.1
.init_array 752 824 72 9.6
.rodata 210112 211104 992 0.5
.text 2078994 2080706 1712 0.1
shell debug (read only) 2570009 2572849 2840 0.1
(read/write) 141632 141736 104 0.1
.bss 57704 57736 32 0.1
.init_array 944 1016 72 7.6
.rodata 230322 231250 928 0.4
.text 2181842 2183538 1696 0.1
thermostat-no-ble arm64 (read only) 2342156 2342700 544 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.text 1965520 1966288 768 0.0
tv-app debug (read only) 3117409 3123057 5648 0.2
(read/write) 257224 257416 192 0.1
.bss 167160 167256 96 0.1
.init_array 968 1064 96 9.9
.rodata 252168 253384 1216 0.5
.text 2676530 2680674 4144 0.2
tv-casting-app debug (read only) 5372345 5377817 5472 0.1
(read/write) 158464 158592 128 0.1
.bss 51320 51352 32 0.1
.init_array 928 1024 96 10.3
.rodata 337249 338577 1328 0.4
.text 4768306 4772162 3856 0.1
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2449328 2450376 1048 0.0
.bss 214508 214516 8 0.0
.text 1411972 1413020 1048 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 143132 143140 8 0.0
text 812408 812456 48 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 bss 142368 142376 8 0.0
text 801716 801768 52 0.0
p6 all-clusters-app default .bss 149128 149136 8 0.0
all-clusters-minimal-app default .bss 148408 148416 8 0.0
light-app default (read/write) 1551516 1552228 712 0.0
.bss 140312 140320 8 0.0
.text 1400376 1401080 704 0.1
lock-app default (read/write) 1589116 1589836 720 0.0
.bss 144768 144776 8 0.0
.text 1433504 1434216 712 0.0
telink light-switch-app tlsr9518adk80d bss 70808 70816 8 0.0
text 567186 567224 38 0.0
lighting-app tlsr9518adk80d bss 71652 71660 8 0.0
text 583758 583796 38 0.0
Decreases (29 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, p6, telink)
platform target config section a7ad1d8 10ab053 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381234 -216 -0.0
bl602+rpc (read/write) 1426866 1426634 -232 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668427 668267 -160 -0.0
.rodata 88411 88187 -224 -0.3
all-clusters-minimal-app LP_CC2652R7 (read only) 634019 633851 -168 -0.0
.rodata 77635 77403 -232 -0.3
lock-ftd LP_CC2652R7 (read only) 671567 671423 -144 -0.0
.rodata 76463 76247 -216 -0.3
lock-mtd LP_CC2652R7 (read only) 653795 653531 -264 -0.0
.rodata 101163 100867 -296 -0.3
pump-app LP_CC2652R7 (read only) 680999 680703 -296 -0.0
.rodata 89175 88855 -320 -0.4
pump-controller-app LP_CC2652R7 (read only) 666751 666447 -304 -0.0
.rodata 85007 84671 -336 -0.4
shell LP_CC2652R7 (read/write) 185984 185912 -72 -0.0
.rodata 85174 85158 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583190 -144 -0.0
.app_xip_area 460472 460320 -152 -0.0
lock cyw930739m2evb_01 (read/write) 589254 589110 -144 -0.0
.app_xip_area 461664 461512 -152 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588906 -176 -0.0
.app_xip_area 467036 466852 -184 -0.0
efr32 lighting-app BRD4161A (read/write) 1088160 1087824 -336 -0.0
.text 952816 952472 -344 -0.0
BRD4161A+rpc (read/write) 1142452 1142116 -336 -0.0
.text 990216 989872 -344 -0.0
BRD4161A+rs911x (read/write) 952704 952368 -336 -0.0
.text 809644 809300 -344 -0.0
lock-app BRD4161A+wf200 (read/write) 1128256 1128208 -48 -0.0
.text 981820 981764 -56 -0.0
window-app BRD4161A (read/write) 1081636 1081300 -336 -0.0
.text 944788 944444 -344 -0.0
esp32 all-clusters-app c3devkit (read only) 1022114 1022106 -8 -0.0
(read/write) 1486586 1486274 -312 -0.0
.flash.rodata 216264 215936 -328 -0.2
.flash.text 1022114 1022106 -8 -0.0
m5stack (read only) 1075771 1075755 -16 -0.0
(read/write) 488608 488312 -296 -0.1
.flash.rodata 246668 246364 -304 -0.1
.flash.text 1070387 1070371 -16 -0.0
linux chip-tool-ipv6only arm64 .rodata 466436 466292 -144 -0.0
thermostat-no-ble arm64 .rodata 139588 139364 -224 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177131 1177063 -68 -0.0
rodata 142660 142544 -116 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157183 1157115 -68 -0.0
rodata 134192 134076 -116 -0.1
p6 all-clusters-app default (read only) 881568 881560 -8 -0.0
(read/write) 1687044 1686708 -336 -0.0
.text 1526880 1526536 -344 -0.0
all-clusters-minimal-app default (read only) 882288 882280 -8 -0.0
(read/write) 1631148 1630804 -344 -0.0
.text 1471704 1471352 -352 -0.0
light-app default (read only) 890592 890584 -8 -0.0
lock-app default (read only) 886120 886112 -8 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799576 -84 -0.0
lighting-app tlsr9518adk80d (read/write) 819760 819684 -76 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a7ad1d8 10ab053 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381234 -216 -0.0
.bss 117538 117546 8 0.0
.data 4480 4480 0 0.0
.text 1051520 1051600 80 0.0
bl602+rpc (read/write) 1426866 1426634 -232 -0.0
.bss 124978 124986 8 0.0
.data 4600 4600 0 0.0
.text 1083188 1083264 76 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668427 668267 -160 -0.0
(read/write) 182932 183100 168 0.1
.bss 74252 74260 8 0.0
.data 3356 3356 0 0.0
.rodata 88411 88187 -224 -0.3
.text 579700 579764 64 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634019 633851 -168 -0.0
(read/write) 157820 157828 8 0.0
.bss 73548 73556 8 0.0
.data 3356 3356 0 0.0
.rodata 77635 77403 -232 -0.3
.text 556060 556124 64 0.0
lock-ftd LP_CC2652R7 (read only) 671567 671423 -144 -0.0
(read/write) 169984 170136 152 0.1
.bss 71332 71340 8 0.0
.data 3280 3280 0 0.0
.rodata 76463 76247 -216 -0.3
.text 594624 594696 72 0.0
lock-mtd LP_CC2652R7 (read only) 653795 653531 -264 -0.0
(read/write) 183444 183716 272 0.1
.bss 67020 67028 8 0.0
.data 3280 3280 0 0.0
.rodata 101163 100867 -296 -0.3
.text 552152 552184 32 0.0
pump-app LP_CC2652R7 (read only) 680999 680703 -296 -0.0
(read/write) 161384 161688 304 0.2
.bss 71396 71404 8 0.0
.data 3280 3280 0 0.0
.rodata 89175 88855 -320 -0.4
.text 591340 591364 24 0.0
pump-controller-app LP_CC2652R7 (read only) 666751 666447 -304 -0.0
(read/write) 175768 176080 312 0.2
.bss 71532 71540 8 0.0
.data 3276 3276 0 0.0
.rodata 85007 84671 -336 -0.4
.text 581264 581296 32 0.0
shell LP_CC2652R7 (read only) 660894 660974 80 0.0
(read/write) 185984 185912 -72 -0.0
.bss 76572 76580 8 0.0
.data 3360 3360 0 0.0
.rodata 85174 85158 -16 -0.0
.text 575404 575500 96 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583190 -144 -0.0
.app_xip_area 460472 460320 -152 -0.0
.bss 65656 65664 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589254 589110 -144 -0.0
.app_xip_area 461664 461512 -152 -0.0
.bss 70384 70392 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588906 -176 -0.0
.app_xip_area 467036 466852 -184 -0.0
.bss 64896 64904 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088160 1087824 -336 -0.0
.bss 133276 133284 8 0.0
.data 2048 2048 0 0.0
.text 952816 952472 -344 -0.0
BRD4161A+rpc (read/write) 1142452 1142116 -336 -0.0
.bss 149956 149964 8 0.0
.data 2260 2260 0 0.0
.text 990216 989872 -344 -0.0
BRD4161A+rs911x (read/write) 952704 952368 -336 -0.0
.bss 140992 141000 8 0.0
.data 2048 2048 0 0.0
.text 809644 809300 -344 -0.0
lock-app BRD4161A+wf200 (read/write) 1128256 1128208 -48 -0.0
.bss 144360 144368 8 0.0
.data 2056 2056 0 0.0
.text 981820 981764 -56 -0.0
window-app BRD4161A (read/write) 1081636 1081300 -336 -0.0
.bss 134748 134756 8 0.0
.data 2076 2076 0 0.0
.text 944788 944444 -344 -0.0
esp32 all-clusters-app c3devkit (read only) 1022114 1022106 -8 -0.0
(read/write) 1486586 1486274 -312 -0.0
.dram0.bss 70288 70296 8 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216264 215936 -328 -0.2
.flash.text 1022114 1022106 -8 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1075771 1075755 -16 -0.0
(read/write) 488608 488312 -296 -0.1
.dram0.bss 75800 75808 8 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246668 246364 -304 -0.1
.flash.text 1070387 1070371 -16 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 641776 642576 800 0.1
.bss 69728 69736 8 0.0
.data 2028 2028 0 0.0
.text 567292 568084 792 0.1
lock k32w0+release (read/write) 699056 699824 768 0.1
.bss 70168 70176 8 0.0
.data 2036 2036 0 0.0
.text 624124 624884 760 0.1
linux all-clusters-app debug (read only) 2986593 2989433 2840 0.1
(read/write) 155480 155584 104 0.1
.bss 61856 61888 32 0.1
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1072 1144 72 6.7
.rodata 268139 269099 960 0.4
.text 2540098 2541762 1664 0.1
all-clusters-minimal-app debug (read only) 2829473 2832377 2904 0.1
(read/write) 147184 147288 104 0.1
.bss 61056 61088 32 0.1
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1064 1136 72 6.8
.rodata 268139 269163 1024 0.4
.text 2385586 2387250 1664 0.1
bridge-app debug+rpc (read only) 2344289 2350649 6360 0.3
(read/write) 127056 127160 104 0.1
.bss 50144 50176 32 0.1
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 744 816 72 9.7
.rodata 200456 201416 960 0.5
.text 1981282 1986466 5184 0.3
chip-tool debug (read only) 10385937 10391705 5768 0.1
(read/write) 631088 631224 136 0.0
.bss 24824 24856 32 0.1
.data 3266 3266 0 0.0
.data.rel.ro 596592 596592 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 656 760 104 15.9
.rodata 532693 533973 1280 0.2
.text 8401668 8405844 4176 0.0
chip-tool-ipv6only arm64 (read only) 9809588 9812020 2432 0.0
(read/write) 678593 678609 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 623936 623936 0 0.0
.dynamic 560 560 0 0.0
.got 13536 13552 16 0.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 466436 466292 -144 -0.0
.text 7760852 7763380 2528 0.0
lighting-app debug+rpc (read only) 2567361 2573801 6440 0.3
(read/write) 129992 130096 104 0.1
.bss 49696 49728 32 0.1
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 832 904 72 8.7
.rodata 216144 217168 1024 0.5
.text 2180578 2185778 5200 0.2
lock-app debug (read only) 2532409 2538801 6392 0.3
(read/write) 125040 125176 136 0.1
.bss 48096 48160 64 0.1
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 808 880 72 8.9
.rodata 231120 232048 928 0.4
.text 2135426 2140674 5248 0.2
ota-provider-app debug (read only) 2336193 2343097 6904 0.3
(read/write) 118840 118944 104 0.1
.bss 47744 47776 32 0.1
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 688 760 72 10.5
.rodata 206136 207576 1440 0.7
.text 1966610 1971858 5248 0.3
ota-requestor-app debug (read only) 2461169 2464089 2920 0.1
(read/write) 126200 126304 104 0.1
.bss 50112 50144 32 0.1
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 752 824 72 9.6
.rodata 210112 211104 992 0.5
.text 2078994 2080706 1712 0.1
shell debug (read only) 2570009 2572849 2840 0.1
(read/write) 141632 141736 104 0.1
.bss 57704 57736 32 0.1
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 944 1016 72 7.6
.rodata 230322 231250 928 0.4
.text 2181842 2183538 1696 0.1
thermostat-no-ble arm64 (read only) 2342156 2342700 544 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75672 75672 0 0.0
.dynamic 560 560 0 0.0
.got 4984 4984 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 139588 139364 -224 -0.2
.text 1965520 1966288 768 0.0
tv-app debug (read only) 3117409 3123057 5648 0.2
(read/write) 257224 257416 192 0.1
.bss 167160 167256 96 0.1
.data 4736 4736 0 0.0
.data.rel.ro 78888 78888 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 968 1064 96 9.9
.rodata 252168 253384 1216 0.5
.text 2676530 2680674 4144 0.2
tv-casting-app debug (read only) 5372345 5377817 5472 0.1
(read/write) 158464 158592 128 0.1
.bss 51320 51352 32 0.1
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 928 1024 96 10.3
.rodata 337249 338577 1328 0.4
.text 4768306 4772162 3856 0.1
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449328 2450376 1048 0.0
.bss 214508 214516 8 0.0
.data 5872 5872 0 0.0
.text 1411972 1413020 1048 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177131 1177063 -68 -0.0
bss 143132 143140 8 0.0
rodata 142660 142544 -116 -0.1
text 812408 812456 48 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157183 1157115 -68 -0.0
bss 142368 142376 8 0.0
rodata 134192 134076 -116 -0.1
text 801716 801768 52 0.0
p6 all-clusters-app default (read only) 881568 881560 -8 -0.0
(read/write) 1687044 1686708 -336 -0.0
.bss 149128 149136 8 0.0
.data 2648 2648 0 0.0
.text 1526880 1526536 -344 -0.0
all-clusters-minimal-app default (read only) 882288 882280 -8 -0.0
(read/write) 1631148 1630804 -344 -0.0
.bss 148408 148416 8 0.0
.data 2648 2648 0 0.0
.text 1471704 1471352 -352 -0.0
light-app default (read only) 890592 890584 -8 -0.0
(read/write) 1551516 1552228 712 0.0
.bss 140312 140320 8 0.0
.data 2440 2440 0 0.0
.text 1400376 1401080 704 0.1
lock-app default (read only) 886120 886112 -8 -0.0
(read/write) 1589116 1589836 720 0.0
.bss 144768 144776 8 0.0
.data 2456 2456 0 0.0
.text 1433504 1434216 712 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799576 -84 -0.0
bss 70808 70816 8 0.0
noinit 40416 40416 0 0.0
text 567186 567224 38 0.0
lighting-app tlsr9518adk80d (read/write) 819760 819684 -76 -0.0
bss 71652 71660 8 0.0
noinit 40416 40416 0 0.0
text 583758 583796 38 0.0

src/app/ReadClient.cpp Outdated Show resolved Hide resolved
src/app/ReadClient.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jul 27, 2022

PR #20080: Size comparison from a7ad1d8 to c707843

Increases above 0.2%:

platform target config section a7ad1d8 c707843 change % change
linux chip-tool-ipv6only arm64 (read only) 9809588 9838276 28688 0.3
.rodata 466436 467844 1408 0.3
.text 7760852 7788084 27232 0.4
Increases (10 builds for bl602, cyw30739, linux, mbed, telink)
platform target config section a7ad1d8 c707843 change % change
bl602 lighting-app bl602 .bss 117538 117546 8 0.0
.text 1051520 1051580 60 0.0
bl602+rpc .bss 124978 124986 8 0.0
.text 1083188 1083244 56 0.0
cyw30739 light cyw930739m2evb_01 .bss 65656 65664 8 0.0
lock cyw930739m2evb_01 .bss 70384 70392 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 64896 64904 8 0.0
linux chip-tool-ipv6only arm64 (read only) 9809588 9838276 28688 0.3
(read/write) 678593 678609 16 0.0
.got 13536 13552 16 0.1
.rodata 466436 467844 1408 0.3
.text 7760852 7788084 27232 0.4
thermostat-no-ble arm64 (read only) 2342156 2342668 512 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.text 1965520 1966256 736 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2449328 2450312 984 0.0
.bss 214508 214516 8 0.0
.text 1411972 1412956 984 0.1
telink light-switch-app tlsr9518adk80d bss 70808 70816 8 0.0
text 567186 567210 24 0.0
lighting-app tlsr9518adk80d bss 71652 71660 8 0.0
text 583758 583780 22 0.0
Decreases (8 builds for bl602, cyw30739, linux, telink)
platform target config section a7ad1d8 c707843 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381210 -240 -0.0
bl602+rpc (read/write) 1426866 1426610 -256 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583174 -160 -0.0
.app_xip_area 460472 460304 -168 -0.0
lock cyw930739m2evb_01 (read/write) 589254 589094 -160 -0.0
.app_xip_area 461664 461496 -168 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588882 -200 -0.0
.app_xip_area 467036 466828 -208 -0.0
linux thermostat-no-ble arm64 .rodata 139588 139364 -224 -0.2
telink light-switch-app tlsr9518adk80d (read/write) 799660 799568 -92 -0.0
lighting-app tlsr9518adk80d (read/write) 819760 819668 -92 -0.0
Full report (10 builds for bl602, cyw30739, linux, mbed, telink)
platform target config section a7ad1d8 c707843 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381210 -240 -0.0
.bss 117538 117546 8 0.0
.data 4480 4480 0 0.0
.text 1051520 1051580 60 0.0
bl602+rpc (read/write) 1426866 1426610 -256 -0.0
.bss 124978 124986 8 0.0
.data 4600 4600 0 0.0
.text 1083188 1083244 56 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583334 583174 -160 -0.0
.app_xip_area 460472 460304 -168 -0.0
.bss 65656 65664 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589254 589094 -160 -0.0
.app_xip_area 461664 461496 -168 -0.0
.bss 70384 70392 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588882 -200 -0.0
.app_xip_area 467036 466828 -208 -0.0
.bss 64896 64904 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9809588 9838276 28688 0.3
(read/write) 678593 678609 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 623936 623936 0 0.0
.dynamic 560 560 0 0.0
.got 13536 13552 16 0.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 466436 467844 1408 0.3
.text 7760852 7788084 27232 0.4
thermostat-no-ble arm64 (read only) 2342156 2342668 512 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75672 75672 0 0.0
.dynamic 560 560 0 0.0
.got 4984 4984 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 139588 139364 -224 -0.2
.text 1965520 1966256 736 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449328 2450312 984 0.0
.bss 214508 214516 8 0.0
.data 5872 5872 0 0.0
.text 1411972 1412956 984 0.1
telink light-switch-app tlsr9518adk80d (read/write) 799660 799568 -92 -0.0
bss 70808 70816 8 0.0
noinit 40416 40416 0 0.0
text 567186 567210 24 0.0
lighting-app tlsr9518adk80d (read/write) 819760 819668 -92 -0.0
bss 71652 71660 8 0.0
noinit 40416 40416 0 0.0
text 583758 583780 22 0.0

@github-actions
Copy link

github-actions bot commented Jul 27, 2022

PR #20080: Size comparison from 750eedf to 00f7ac3

Increases (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 750eedf 00f7ac3 change % change
bl602 lighting-app bl602 .bss 117538 117546 8 0.0
.text 1051524 1051580 56 0.0
bl602+rpc .bss 124978 124986 8 0.0
.text 1083188 1083244 56 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182932 183124 192 0.1
.bss 74252 74260 8 0.0
.text 579700 579740 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read/write) 157820 157828 8 0.0
.bss 73548 73556 8 0.0
.text 556060 556100 40 0.0
lock-ftd LP_CC2652R7 (read/write) 169984 170160 176 0.1
.bss 71332 71340 8 0.0
.text 594624 594672 48 0.0
lock-mtd LP_CC2652R7 (read/write) 183444 183740 296 0.2
.bss 67020 67028 8 0.0
.text 552152 552160 8 0.0
pump-app LP_CC2652R7 (read/write) 161384 161712 328 0.2
.bss 71396 71404 8 0.0
pump-controller-app LP_CC2652R7 (read/write) 175768 176104 336 0.2
.bss 71532 71540 8 0.0
.text 581264 581272 8 0.0
shell LP_CC2652R7 (read only) 660894 660950 56 0.0
.bss 76572 76580 8 0.0
.text 575404 575476 72 0.0
cyw30739 light cyw930739m2evb_01 .bss 65656 65664 8 0.0
lock cyw930739m2evb_01 .bss 70384 70392 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 64896 64904 8 0.0
efr32 lighting-app BRD4161A .bss 133276 133284 8 0.0
BRD4161A+rpc .bss 149956 149964 8 0.0
BRD4161A+rs911x .bss 140992 141000 8 0.0
lock-app BRD4161A+wf200 .bss 144360 144368 8 0.0
window-app BRD4161A .bss 134748 134756 8 0.0
esp32 all-clusters-app c3devkit .dram0.bss 70288 70296 8 0.0
m5stack .dram0.bss 75800 75808 8 0.0
k32w light k32w0+release (read/write) 641776 642544 768 0.1
.bss 69728 69736 8 0.0
.text 567292 568052 760 0.1
lock k32w0+release (read/write) 699056 699792 736 0.1
.bss 70168 70176 8 0.0
.text 624124 624852 728 0.1
linux chip-tool-ipv6only arm64 (read only) 9835876 9838276 2400 0.0
(read/write) 678593 678609 16 0.0
.got 13536 13552 16 0.1
.text 7785604 7788084 2480 0.0
thermostat-no-ble arm64 (read only) 2342156 2342668 512 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.text 1965520 1966256 736 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2449328 2450312 984 0.0
.bss 214508 214516 8 0.0
.text 1411972 1412956 984 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 143132 143140 8 0.0
text 812408 812432 24 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 bss 142368 142376 8 0.0
text 801716 801744 28 0.0
p6 all-clusters-app default .bss 149128 149136 8 0.0
all-clusters-minimal-app default .bss 148408 148416 8 0.0
light-app default (read/write) 1551516 1552180 664 0.0
.bss 140312 140320 8 0.0
.text 1400376 1401032 656 0.0
lock-app default (read/write) 1589116 1589788 672 0.0
.bss 144768 144776 8 0.0
.text 1433504 1434168 664 0.0
telink light-switch-app tlsr9518adk80d bss 70808 70816 8 0.0
text 567188 567208 20 0.0
lighting-app tlsr9518adk80d bss 71652 71660 8 0.0
text 583758 583782 24 0.0
Decreases (29 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, p6, telink)
platform target config section 750eedf 00f7ac3 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381210 -240 -0.0
bl602+rpc (read/write) 1426866 1426610 -256 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668427 668243 -184 -0.0
.rodata 88411 88187 -224 -0.3
all-clusters-minimal-app LP_CC2652R7 (read only) 634019 633827 -192 -0.0
.rodata 77635 77403 -232 -0.3
lock-ftd LP_CC2652R7 (read only) 671567 671399 -168 -0.0
.rodata 76463 76247 -216 -0.3
lock-mtd LP_CC2652R7 (read only) 653795 653507 -288 -0.0
.rodata 101163 100867 -296 -0.3
pump-app LP_CC2652R7 (read only) 680999 680679 -320 -0.0
.rodata 89175 88855 -320 -0.4
pump-controller-app LP_CC2652R7 (read only) 666751 666423 -328 -0.0
.rodata 85007 84671 -336 -0.4
shell LP_CC2652R7 (read/write) 185984 185936 -48 -0.0
.rodata 85174 85158 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583326 583174 -152 -0.0
.app_xip_area 460464 460304 -160 -0.0
lock cyw930739m2evb_01 (read/write) 589254 589094 -160 -0.0
.app_xip_area 461664 461496 -168 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588882 -200 -0.0
.app_xip_area 467036 466828 -208 -0.0
efr32 lighting-app BRD4161A (read/write) 1088160 1087776 -384 -0.0
.text 952816 952424 -392 -0.0
BRD4161A+rpc (read/write) 1142452 1142068 -384 -0.0
.text 990216 989824 -392 -0.0
BRD4161A+rs911x (read/write) 952704 952320 -384 -0.0
.text 809644 809252 -392 -0.0
lock-app BRD4161A+wf200 (read/write) 1128256 1128176 -80 -0.0
.text 981820 981732 -88 -0.0
window-app BRD4161A (read/write) 1081636 1081252 -384 -0.0
.text 944788 944396 -392 -0.0
esp32 all-clusters-app c3devkit (read only) 1022112 1022104 -8 -0.0
(read/write) 1486586 1486274 -312 -0.0
.flash.rodata 216264 215936 -328 -0.2
.flash.text 1022112 1022104 -8 -0.0
m5stack (read only) 1075771 1075739 -32 -0.0
(read/write) 488608 488312 -296 -0.1
.flash.rodata 246668 246364 -304 -0.1
.flash.text 1070387 1070355 -32 -0.0
linux chip-tool-ipv6only arm64 .rodata 467972 467844 -128 -0.0
thermostat-no-ble arm64 .rodata 139588 139364 -224 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177131 1177031 -100 -0.0
rodata 142660 142544 -116 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157183 1157083 -100 -0.0
rodata 134192 134076 -116 -0.1
p6 all-clusters-app default (read only) 881568 881560 -8 -0.0
(read/write) 1687044 1686660 -384 -0.0
.text 1526880 1526488 -392 -0.0
all-clusters-minimal-app default (read only) 882288 882280 -8 -0.0
(read/write) 1631148 1630756 -392 -0.0
.text 1471704 1471304 -400 -0.0
light-app default (read only) 890592 890584 -8 -0.0
lock-app default (read only) 886120 886112 -8 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799560 -100 -0.0
lighting-app tlsr9518adk80d (read/write) 819760 819668 -92 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 750eedf 00f7ac3 change % change
bl602 lighting-app bl602 (read/write) 1381450 1381210 -240 -0.0
.bss 117538 117546 8 0.0
.data 4480 4480 0 0.0
.text 1051524 1051580 56 0.0
bl602+rpc (read/write) 1426866 1426610 -256 -0.0
.bss 124978 124986 8 0.0
.data 4600 4600 0 0.0
.text 1083188 1083244 56 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668427 668243 -184 -0.0
(read/write) 182932 183124 192 0.1
.bss 74252 74260 8 0.0
.data 3356 3356 0 0.0
.rodata 88411 88187 -224 -0.3
.text 579700 579740 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634019 633827 -192 -0.0
(read/write) 157820 157828 8 0.0
.bss 73548 73556 8 0.0
.data 3356 3356 0 0.0
.rodata 77635 77403 -232 -0.3
.text 556060 556100 40 0.0
lock-ftd LP_CC2652R7 (read only) 671567 671399 -168 -0.0
(read/write) 169984 170160 176 0.1
.bss 71332 71340 8 0.0
.data 3280 3280 0 0.0
.rodata 76463 76247 -216 -0.3
.text 594624 594672 48 0.0
lock-mtd LP_CC2652R7 (read only) 653795 653507 -288 -0.0
(read/write) 183444 183740 296 0.2
.bss 67020 67028 8 0.0
.data 3280 3280 0 0.0
.rodata 101163 100867 -296 -0.3
.text 552152 552160 8 0.0
pump-app LP_CC2652R7 (read only) 680999 680679 -320 -0.0
(read/write) 161384 161712 328 0.2
.bss 71396 71404 8 0.0
.data 3280 3280 0 0.0
.rodata 89175 88855 -320 -0.4
.text 591340 591340 0 0.0
pump-controller-app LP_CC2652R7 (read only) 666751 666423 -328 -0.0
(read/write) 175768 176104 336 0.2
.bss 71532 71540 8 0.0
.data 3276 3276 0 0.0
.rodata 85007 84671 -336 -0.4
.text 581264 581272 8 0.0
shell LP_CC2652R7 (read only) 660894 660950 56 0.0
(read/write) 185984 185936 -48 -0.0
.bss 76572 76580 8 0.0
.data 3360 3360 0 0.0
.rodata 85174 85158 -16 -0.0
.text 575404 575476 72 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583326 583174 -152 -0.0
.app_xip_area 460464 460304 -160 -0.0
.bss 65656 65664 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589254 589094 -160 -0.0
.app_xip_area 461664 461496 -168 -0.0
.bss 70384 70392 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589082 588882 -200 -0.0
.app_xip_area 467036 466828 -208 -0.0
.bss 64896 64904 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088160 1087776 -384 -0.0
.bss 133276 133284 8 0.0
.data 2048 2048 0 0.0
.text 952816 952424 -392 -0.0
BRD4161A+rpc (read/write) 1142452 1142068 -384 -0.0
.bss 149956 149964 8 0.0
.data 2260 2260 0 0.0
.text 990216 989824 -392 -0.0
BRD4161A+rs911x (read/write) 952704 952320 -384 -0.0
.bss 140992 141000 8 0.0
.data 2048 2048 0 0.0
.text 809644 809252 -392 -0.0
lock-app BRD4161A+wf200 (read/write) 1128256 1128176 -80 -0.0
.bss 144360 144368 8 0.0
.data 2056 2056 0 0.0
.text 981820 981732 -88 -0.0
window-app BRD4161A (read/write) 1081636 1081252 -384 -0.0
.bss 134748 134756 8 0.0
.data 2076 2076 0 0.0
.text 944788 944396 -392 -0.0
esp32 all-clusters-app c3devkit (read only) 1022112 1022104 -8 -0.0
(read/write) 1486586 1486274 -312 -0.0
.dram0.bss 70288 70296 8 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216264 215936 -328 -0.2
.flash.text 1022112 1022104 -8 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1075771 1075739 -32 -0.0
(read/write) 488608 488312 -296 -0.1
.dram0.bss 75800 75808 8 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246668 246364 -304 -0.1
.flash.text 1070387 1070355 -32 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 641776 642544 768 0.1
.bss 69728 69736 8 0.0
.data 2028 2028 0 0.0
.text 567292 568052 760 0.1
lock k32w0+release (read/write) 699056 699792 736 0.1
.bss 70168 70176 8 0.0
.data 2036 2036 0 0.0
.text 624124 624852 728 0.1
linux chip-tool-ipv6only arm64 (read only) 9835876 9838276 2400 0.0
(read/write) 678593 678609 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 623936 623936 0 0.0
.dynamic 560 560 0 0.0
.got 13536 13552 16 0.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 467972 467844 -128 -0.0
.text 7785604 7788084 2480 0.0
thermostat-no-ble arm64 (read only) 2342156 2342668 512 0.0
(read/write) 141393 141409 16 0.0
.bss 55297 55313 16 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75672 75672 0 0.0
.dynamic 560 560 0 0.0
.got 4984 4984 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 139588 139364 -224 -0.2
.text 1965520 1966256 736 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449328 2450312 984 0.0
.bss 214508 214516 8 0.0
.data 5872 5872 0 0.0
.text 1411972 1412956 984 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177131 1177031 -100 -0.0
bss 143132 143140 8 0.0
rodata 142660 142544 -116 -0.1
text 812408 812432 24 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157183 1157083 -100 -0.0
bss 142368 142376 8 0.0
rodata 134192 134076 -116 -0.1
text 801716 801744 28 0.0
p6 all-clusters-app default (read only) 881568 881560 -8 -0.0
(read/write) 1687044 1686660 -384 -0.0
.bss 149128 149136 8 0.0
.data 2648 2648 0 0.0
.text 1526880 1526488 -392 -0.0
all-clusters-minimal-app default (read only) 882288 882280 -8 -0.0
(read/write) 1631148 1630756 -392 -0.0
.bss 148408 148416 8 0.0
.data 2648 2648 0 0.0
.text 1471704 1471304 -400 -0.0
light-app default (read only) 890592 890584 -8 -0.0
(read/write) 1551516 1552180 664 0.0
.bss 140312 140320 8 0.0
.data 2440 2440 0 0.0
.text 1400376 1401032 656 0.0
lock-app default (read only) 886120 886112 -8 -0.0
(read/write) 1589116 1589788 672 0.0
.bss 144768 144776 8 0.0
.data 2456 2456 0 0.0
.text 1433504 1434168 664 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799660 799560 -100 -0.0
bss 70808 70816 8 0.0
noinit 40416 40416 0 0.0
text 567188 567208 20 0.0
lighting-app tlsr9518adk80d (read/write) 819760 819668 -92 -0.0
bss 71652 71660 8 0.0
noinit 40416 40416 0 0.0
text 583758 583782 24 0.0

@mrjerryjohns mrjerryjohns merged commit 6cd4676 into project-chip:master Jul 27, 2022
github-actions bot pushed a commit that referenced this pull request Jul 27, 2022
* Establish CASE on re-subscription

This adds support for re-establishing CASE on re-subscription as a
default policy implementation, with the application having the ability
to over-ride that if needed.

* Review feedback WIP

* Further fixes

* Added a Python test to validate re-subscription

* Updated comment style

* More minor cleanup

* More build fixes

* Update to master

* Review feedback

* Review
woody-apple added a commit that referenced this pull request Jul 28, 2022
* Establish CASE on re-subscription

This adds support for re-establishing CASE on re-subscription as a
default policy implementation, with the application having the ability
to over-ride that if needed.

* Review feedback WIP

* Further fixes

* Added a Python test to validate re-subscription

* Updated comment style

* More minor cleanup

* More build fixes

* Update to master

* Review feedback

* Review

Co-authored-by: Jerry Johns <[email protected]>
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
* Establish CASE on re-subscription

This adds support for re-establishing CASE on re-subscription as a
default policy implementation, with the application having the ability
to over-ride that if needed.

* Review feedback WIP

* Further fixes

* Added a Python test to validate re-subscription

* Updated comment style

* More minor cleanup

* More build fixes

* Update to master

* Review feedback

* Review
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.

Figure out interaction timeout behaviors and recovery logic
7 participants