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

Fix status response handling in write handler #21440

Merged

Conversation

yunhanw-google
Copy link
Contributor

Problem

Fix status response handler in ReadHandler
This PR is cut from #19356

Change overview

When receiving unknown message in write handler, write handler would send status response with invalid action.

Testing

Write client sends out the chunked write request and receive response, then inject the unknown report message in write handler side, write handler would send status response with invalid action.

@yunhanw-google yunhanw-google force-pushed the feature/fix_write_handler branch 2 times, most recently from 32ec9c5 to d2518cd Compare July 29, 2022 21:18
@woody-apple woody-apple enabled auto-merge (squash) July 29, 2022 21:27
@github-actions
Copy link

github-actions bot commented Jul 30, 2022

PR #21440: Size comparison from 561eaea to d2518cd

Increases (40 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, p6, telink)
platform target config section 561eaea d2518cd change % change
bl602 lighting-app bl602 (read/write) 1382346 1382386 40 0.0
.text 1052456 1052500 44 0.0
bl602+rpc (read/write) 1427746 1427786 40 0.0
.text 1084124 1084164 40 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 669067 669099 32 0.0
.text 580468 580500 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634675 634707 32 0.0
.text 556844 556876 32 0.0
lock-ftd LP_CC2652R7 (read only) 672055 672087 32 0.0
.text 595224 595256 32 0.0
lock-mtd LP_CC2652R7 (read only) 654315 654347 32 0.0
.text 552728 552760 32 0.0
pump-app LP_CC2652R7 (read only) 681167 681199 32 0.0
.text 591764 591796 32 0.0
pump-controller-app LP_CC2652R7 (read only) 666743 666767 24 0.0
.text 581520 581544 24 0.0
shell LP_CC2652R7 (read only) 661774 661806 32 0.0
.text 576196 576228 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583870 583894 24 0.0
.app_xip_area 460680 460704 24 0.0
lock cyw930739m2evb_01 (read/write) 589726 589758 32 0.0
.app_xip_area 461808 461840 32 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589570 589602 32 0.0
.app_xip_area 467196 467228 32 0.0
efr32 lighting-app BRD4161A (read/write) 1088816 1088864 48 0.0
.text 953464 953512 48 0.0
BRD4161A+rpc (read/write) 1143124 1143172 48 0.0
.text 990880 990928 48 0.0
BRD4161A+rs911x (read/write) 974768 974816 48 0.0
.text 810956 811004 48 0.0
lock-app BRD4161A+wf200 (read/write) 1129320 1129352 32 0.0
.text 982868 982900 32 0.0
window-app BRD4161A (read/write) 1082100 1082148 48 0.0
.text 945244 945292 48 0.0
esp32 all-clusters-app c3devkit (read only) 1023470 1023496 26 0.0
.flash.text 1023470 1023496 26 0.0
m5stack (read only) 1076831 1076855 24 0.0
.flash.text 1071447 1071471 24 0.0
k32w light k32w0+release (read/write) 643240 643272 32 0.0
.text 568748 568780 32 0.0
lock k32w0+release (read/write) 700640 700672 32 0.0
.text 625700 625732 32 0.0
linux all-clusters-app debug (read only) 3005889 3006033 144 0.0
.text 2556706 2556850 144 0.0
all-clusters-minimal-app debug (read only) 2848929 2849073 144 0.0
.text 2402194 2402338 144 0.0
bridge-app debug+rpc (read only) 2356465 2356625 160 0.0
.text 1991746 1991906 160 0.0
chip-tool debug (read only) 10476097 10476241 144 0.0
.text 8455092 8455236 144 0.0
chip-tool-ipv6only arm64 (read only) 9886644 9886772 128 0.0
(read/write) 689073 689089 16 0.0
.data.rel.ro 634360 634384 24 0.0
.text 7802724 7802836 112 0.0
lighting-app debug+rpc (read only) 2578665 2578825 160 0.0
.text 2190226 2190386 160 0.0
lock-app debug (read only) 2564705 2564849 144 0.0
.text 2163106 2163250 144 0.0
ota-provider-app debug (read only) 2347161 2347321 160 0.0
.text 1975410 1975570 160 0.0
ota-requestor-app debug (read only) 2468025 2468185 160 0.0
.text 2084130 2084290 160 0.0
shell debug (read only) 2578049 2578209 160 0.0
.text 2188274 2188434 160 0.0
thermostat-no-ble arm64 (read only) 2346028 2346156 128 0.0
(read/write) 141761 141793 32 0.0
.data.rel.ro 75976 76000 24 0.0
.text 1969392 1969504 112 0.0
tv-app debug (read only) 3150225 3150369 144 0.0
.text 2705218 2705362 144 0.0
tv-casting-app debug (read only) 5385273 5385417 144 0.0
.text 4779202 4779346 144 0.0
p6 all-clusters-app default (read/write) 1687892 1687940 48 0.0
.text 1527712 1527760 48 0.0
all-clusters-minimal-app default (read/write) 1632004 1632052 48 0.0
.text 1472544 1472592 48 0.0
light-app default (read/write) 1553196 1553244 48 0.0
.text 1402040 1402088 48 0.0
lock-app default (read/write) 1590828 1590876 48 0.0
.text 1435200 1435248 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805192 805216 24 0.0
text 569048 569074 26 0.0
lighting-app tlsr9518adk80d (read/write) 825632 825656 24 0.0
text 585940 585960 20 0.0
Decreases (6 builds for cc13x2_26x2)
platform target config section 561eaea d2518cd change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182284 182252 -32 -0.0
lock-ftd LP_CC2652R7 (read/write) 169488 169456 -32 -0.0
lock-mtd LP_CC2652R7 (read/write) 182916 182884 -32 -0.0
pump-app LP_CC2652R7 (read/write) 161200 161168 -32 -0.0
pump-controller-app LP_CC2652R7 (read/write) 175760 175736 -24 -0.0
shell LP_CC2652R7 (read/write) 185096 185064 -32 -0.0
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section 561eaea d2518cd change % change
bl602 lighting-app bl602 (read/write) 1382346 1382386 40 0.0
.bss 117626 117626 0 0.0
.data 4480 4480 0 0.0
.text 1052456 1052500 44 0.0
bl602+rpc (read/write) 1427746 1427786 40 0.0
.bss 125066 125066 0 0.0
.data 4600 4600 0 0.0
.text 1084124 1084164 40 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 669067 669099 32 0.0
(read/write) 182284 182252 -32 -0.0
.bss 74244 74244 0 0.0
.data 3372 3372 0 0.0
.rodata 88283 88283 0 0.0
.text 580468 580500 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634675 634707 32 0.0
(read/write) 157828 157828 0 0.0
.bss 73540 73540 0 0.0
.data 3372 3372 0 0.0
.rodata 77507 77507 0 0.0
.text 556844 556876 32 0.0
lock-ftd LP_CC2652R7 (read only) 672055 672087 32 0.0
(read/write) 169488 169456 -32 -0.0
.bss 71324 71324 0 0.0
.data 3296 3296 0 0.0
.rodata 76351 76351 0 0.0
.text 595224 595256 32 0.0
lock-mtd LP_CC2652R7 (read only) 654315 654347 32 0.0
(read/write) 182916 182884 -32 -0.0
.bss 67012 67012 0 0.0
.data 3296 3296 0 0.0
.rodata 101107 101107 0 0.0
.text 552728 552760 32 0.0
pump-app LP_CC2652R7 (read only) 681167 681199 32 0.0
(read/write) 161200 161168 -32 -0.0
.bss 71380 71380 0 0.0
.data 3296 3296 0 0.0
.rodata 88919 88919 0 0.0
.text 591764 591796 32 0.0
pump-controller-app LP_CC2652R7 (read only) 666743 666767 24 0.0
(read/write) 175760 175736 -24 -0.0
.bss 71516 71516 0 0.0
.data 3292 3292 0 0.0
.rodata 84743 84743 0 0.0
.text 581520 581544 24 0.0
shell LP_CC2652R7 (read only) 661774 661806 32 0.0
(read/write) 185096 185064 -32 -0.0
.bss 76564 76564 0 0.0
.data 3376 3376 0 0.0
.rodata 85262 85262 0 0.0
.text 576196 576228 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583870 583894 24 0.0
.app_xip_area 460680 460704 24 0.0
.bss 65632 65632 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589726 589758 32 0.0
.app_xip_area 461808 461840 32 0.0
.bss 70360 70360 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589570 589602 32 0.0
.app_xip_area 467196 467228 32 0.0
.bss 64872 64872 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088816 1088864 48 0.0
.bss 133268 133268 0 0.0
.data 2064 2064 0 0.0
.text 953464 953512 48 0.0
BRD4161A+rpc (read/write) 1143124 1143172 48 0.0
.bss 149948 149948 0 0.0
.data 2276 2276 0 0.0
.text 990880 990928 48 0.0
BRD4161A+rs911x (read/write) 974768 974816 48 0.0
.bss 161744 161744 0 0.0
.data 2048 2048 0 0.0
.text 810956 811004 48 0.0
lock-app BRD4161A+wf200 (read/write) 1129320 1129352 32 0.0
.bss 144376 144376 0 0.0
.data 2056 2056 0 0.0
.text 982868 982900 32 0.0
window-app BRD4161A (read/write) 1082100 1082148 48 0.0
.bss 134740 134740 0 0.0
.data 2092 2092 0 0.0
.text 945244 945292 48 0.0
esp32 all-clusters-app c3devkit (read only) 1023470 1023496 26 0.0
(read/write) 1486586 1486586 0 0.0
.dram0.bss 70304 70304 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216248 216248 0 0.0
.flash.text 1023470 1023496 26 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076831 1076855 24 0.0
(read/write) 488616 488616 0 0.0
.dram0.bss 75816 75816 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246660 246660 0 0.0
.flash.text 1071447 1071471 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643240 643272 32 0.0
.bss 69720 69720 0 0.0
.data 2044 2044 0 0.0
.text 568748 568780 32 0.0
lock k32w0+release (read/write) 700640 700672 32 0.0
.bss 70160 70160 0 0.0
.data 2052 2052 0 0.0
.text 625700 625732 32 0.0
linux all-clusters-app debug (read only) 3005889 3006033 144 0.0
(read/write) 155712 155712 0 0.0
.bss 61920 61920 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85384 85384 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 270347 270347 0 0.0
.text 2556706 2556850 144 0.0
all-clusters-minimal-app debug (read only) 2848929 2849073 144 0.0
(read/write) 147448 147448 0 0.0
.bss 61120 61120 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77992 77992 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 270507 270507 0 0.0
.text 2402194 2402338 144 0.0
bridge-app debug+rpc (read only) 2356465 2356625 160 0.0
(read/write) 127576 127576 0 0.0
.bss 50592 50592 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67544 67544 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 201736 201736 0 0.0
.text 1991746 1991906 160 0.0
chip-tool debug (read only) 10476097 10476241 144 0.0
(read/write) 641464 641464 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 536597 536597 0 0.0
.text 8455092 8455236 144 0.0
chip-tool-ipv6only arm64 (read only) 9886644 9886772 128 0.0
(read/write) 689073 689089 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634360 634384 24 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468756 468756 0 0.0
.text 7802724 7802836 112 0.0
lighting-app debug+rpc (read only) 2578665 2578825 160 0.0
(read/write) 130256 130256 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72456 72456 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 217392 217392 0 0.0
.text 2190226 2190386 160 0.0
lock-app debug (read only) 2564705 2564849 144 0.0
(read/write) 125528 125528 0 0.0
.bss 48224 48224 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69592 69592 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 234608 234608 0 0.0
.text 2163106 2163250 144 0.0
ota-provider-app debug (read only) 2347161 2347321 160 0.0
(read/write) 119040 119040 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63416 63416 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 207896 207896 0 0.0
.text 1975410 1975570 160 0.0
ota-requestor-app debug (read only) 2468025 2468185 160 0.0
(read/write) 126432 126432 0 0.0
.bss 50176 50176 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 68072 68072 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 211424 211424 0 0.0
.text 2084130 2084290 160 0.0
shell debug (read only) 2578049 2578209 160 0.0
(read/write) 141832 141832 0 0.0
.bss 57768 57768 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77008 77008 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 231570 231570 0 0.0
.text 2188274 2188434 160 0.0
thermostat-no-ble arm64 (read only) 2346028 2346156 128 0.0
(read/write) 141761 141793 32 0.0
.bss 55329 55329 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75976 76000 24 0.0
.dynamic 560 560 0 0.0
.got 5016 5016 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139124 139124 0 0.0
.text 1969392 1969504 112 0.0
tv-app debug (read only) 3150225 3150369 144 0.0
(read/write) 257736 257736 0 0.0
.bss 167352 167352 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79104 79104 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 255432 255432 0 0.0
.text 2705218 2705362 144 0.0
tv-casting-app debug (read only) 5385273 5385417 144 0.0
(read/write) 158720 158720 0 0.0
.bss 51384 51384 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98504 98504 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 338801 338801 0 0.0
.text 4779202 4779346 144 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2451608 2451608 0 0.0
.bss 214524 214524 0 0.0
.data 5872 5872 0 0.0
.text 1414252 1414252 0 0.0
p6 all-clusters-app default (read only) 881552 881552 0 0.0
(read/write) 1687892 1687940 48 0.0
.bss 149144 149144 0 0.0
.data 2648 2648 0 0.0
.text 1527712 1527760 48 0.0
all-clusters-minimal-app default (read only) 882272 882272 0 0.0
(read/write) 1632004 1632052 48 0.0
.bss 148424 148424 0 0.0
.data 2648 2648 0 0.0
.text 1472544 1472592 48 0.0
light-app default (read only) 890576 890576 0 0.0
(read/write) 1553196 1553244 48 0.0
.bss 140328 140328 0 0.0
.data 2440 2440 0 0.0
.text 1402040 1402088 48 0.0
lock-app default (read only) 886104 886104 0 0.0
(read/write) 1590828 1590876 48 0.0
.bss 144784 144784 0 0.0
.data 2456 2456 0 0.0
.text 1435200 1435248 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805192 805216 24 0.0
bss 70972 70972 0 0.0
noinit 43488 43488 0 0.0
text 569048 569074 26 0.0
lighting-app tlsr9518adk80d (read/write) 825632 825656 24 0.0
bss 71816 71816 0 0.0
noinit 43488 43488 0 0.0
text 585940 585960 20 0.0

@yunhanw-google yunhanw-google force-pushed the feature/fix_write_handler branch from d2518cd to ad59476 Compare August 2, 2022 18:29
@github-actions
Copy link

github-actions bot commented Aug 2, 2022

PR #21440: Size comparison from 90fe78e to ad59476

Increases (40 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, p6, telink)
platform target config section 90fe78e ad59476 change % change
bl602 lighting-app bl602 (read/write) 1378738 1378778 40 0.0
.text 1047200 1047244 44 0.0
bl602+rpc (read/write) 1423986 1424034 48 0.0
.text 1078700 1078744 44 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 669979 670011 32 0.0
.text 581196 581228 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 635491 635523 32 0.0
.text 557476 557508 32 0.0
lock-ftd LP_CC2652R7 (read only) 672959 672991 32 0.0
.text 595944 595976 32 0.0
lock-mtd LP_CC2652R7 (read only) 655507 655539 32 0.0
.text 553496 553528 32 0.0
pump-app LP_CC2652R7 (read only) 681447 681479 32 0.0
.text 592044 592076 32 0.0
pump-controller-app LP_CC2652R7 (read only) 667023 667055 32 0.0
.text 581800 581832 32 0.0
shell LP_CC2652R7 (read only) 662678 662710 32 0.0
.text 576916 576948 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584142 584174 32 0.0
.app_xip_area 460952 460984 32 0.0
lock cyw930739m2evb_01 (read/write) 590614 590646 32 0.0
.app_xip_area 462640 462672 32 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589850 589882 32 0.0
.app_xip_area 467468 467500 32 0.0
efr32 lighting-app BRD4161A (read/write) 1089152 1089200 48 0.0
.text 953800 953848 48 0.0
BRD4161A+rpc (read/write) 1143460 1143508 48 0.0
.text 991216 991264 48 0.0
BRD4161A+rs911x (read/write) 975624 975672 48 0.0
.text 811804 811852 48 0.0
lock-app BRD4161A+wf200 (read/write) 1130536 1130568 32 0.0
.text 984060 984092 32 0.0
window-app BRD4161A (read/write) 1082460 1082508 48 0.0
.text 945596 945644 48 0.0
esp32 all-clusters-app c3devkit (read only) 1024446 1024472 26 0.0
.flash.text 1024446 1024472 26 0.0
m5stack (read only) 1077927 1077971 44 0.0
.flash.text 1072543 1072587 44 0.0
k32w light k32w0+release (read/write) 643528 643560 32 0.0
.text 569036 569068 32 0.0
lock k32w0+release (read/write) 701896 701928 32 0.0
.text 626932 626964 32 0.0
linux all-clusters-app debug (read only) 3015057 3015217 160 0.0
.text 2564258 2564418 160 0.0
all-clusters-minimal-app debug (read only) 2856873 2857017 144 0.0
.text 2408674 2408818 144 0.0
bridge-app debug+rpc (read only) 2362201 2362361 160 0.0
.text 1996466 1996626 160 0.0
chip-tool debug (read only) 10558633 10558777 144 0.0
.text 8523172 8523316 144 0.0
chip-tool-ipv6only arm64 (read only) 9960892 9960988 96 0.0
(read/write) 694017 694033 16 0.0
.data.rel.ro 639264 639288 24 0.0
.text 7862884 7862964 80 0.0
lighting-app debug+rpc (read only) 2584673 2584817 144 0.0
.text 2195218 2195362 144 0.0
lock-app debug (read only) 2573337 2573481 144 0.0
.text 2170402 2170546 144 0.0
ota-provider-app debug (read only) 2353265 2353409 144 0.0
.text 1980466 1980610 144 0.0
ota-requestor-app debug (read only) 2473857 2474001 144 0.0
.text 2088914 2089058 144 0.0
shell debug (read only) 2586265 2586409 144 0.0
.text 2195154 2195298 144 0.0
thermostat-no-ble arm64 (read only) 2350700 2350796 96 0.0
(read/write) 141761 141793 32 0.0
.data.rel.ro 75976 76000 24 0.0
.text 1973776 1973856 80 0.0
tv-app debug (read only) 3155729 3155889 160 0.0
.text 2709762 2709922 160 0.0
tv-casting-app debug (read only) 5393105 5393249 144 0.0
.text 4785986 4786130 144 0.0
p6 all-clusters-app default (read/write) 1689268 1689316 48 0.0
.text 1529064 1529112 48 0.0
all-clusters-minimal-app default (read/write) 1633300 1633348 48 0.0
.text 1473816 1473864 48 0.0
light-app default (read/write) 1553556 1553604 48 0.0
.text 1402392 1402440 48 0.0
lock-app default (read/write) 1592212 1592260 48 0.0
.text 1436552 1436600 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805560 805584 24 0.0
text 569420 569442 22 0.0
lighting-app tlsr9518adk80d (read/write) 826000 826024 24 0.0
text 586306 586332 26 0.0
Decreases (6 builds for cc13x2_26x2)
platform target config section 90fe78e ad59476 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 181404 181372 -32 -0.0
lock-ftd LP_CC2652R7 (read/write) 168608 168576 -32 -0.0
lock-mtd LP_CC2652R7 (read/write) 181748 181716 -32 -0.0
pump-app LP_CC2652R7 (read/write) 160928 160896 -32 -0.0
pump-controller-app LP_CC2652R7 (read/write) 175488 175456 -32 -0.0
shell LP_CC2652R7 (read/write) 184224 184192 -32 -0.0
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section 90fe78e ad59476 change % change
bl602 lighting-app bl602 (read/write) 1378738 1378778 40 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1047200 1047244 44 0.0
bl602+rpc (read/write) 1423986 1424034 48 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1078700 1078744 44 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 669979 670011 32 0.0
(read/write) 181404 181372 -32 -0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88467 88467 0 0.0
.text 581196 581228 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 635491 635523 32 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77691 77691 0 0.0
.text 557476 557508 32 0.0
lock-ftd LP_CC2652R7 (read only) 672959 672991 32 0.0
(read/write) 168608 168576 -32 -0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76535 76535 0 0.0
.text 595944 595976 32 0.0
lock-mtd LP_CC2652R7 (read only) 655507 655539 32 0.0
(read/write) 181748 181716 -32 -0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101531 101531 0 0.0
.text 553496 553528 32 0.0
pump-app LP_CC2652R7 (read only) 681447 681479 32 0.0
(read/write) 160928 160896 -32 -0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 88919 88919 0 0.0
.text 592044 592076 32 0.0
pump-controller-app LP_CC2652R7 (read only) 667023 667055 32 0.0
(read/write) 175488 175456 -32 -0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84743 84743 0 0.0
.text 581800 581832 32 0.0
shell LP_CC2652R7 (read only) 662678 662710 32 0.0
(read/write) 184224 184192 -32 -0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85446 85446 0 0.0
.text 576916 576948 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584142 584174 32 0.0
.app_xip_area 460952 460984 32 0.0
.bss 65632 65632 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590614 590646 32 0.0
.app_xip_area 462640 462672 32 0.0
.bss 70416 70416 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589850 589882 32 0.0
.app_xip_area 467468 467500 32 0.0
.bss 64880 64880 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1089152 1089200 48 0.0
.bss 133268 133268 0 0.0
.data 2064 2064 0 0.0
.text 953800 953848 48 0.0
BRD4161A+rpc (read/write) 1143460 1143508 48 0.0
.bss 149948 149948 0 0.0
.data 2276 2276 0 0.0
.text 991216 991264 48 0.0
BRD4161A+rs911x (read/write) 975624 975672 48 0.0
.bss 161752 161752 0 0.0
.data 2048 2048 0 0.0
.text 811804 811852 48 0.0
lock-app BRD4161A+wf200 (read/write) 1130536 1130568 32 0.0
.bss 144400 144400 0 0.0
.data 2056 2056 0 0.0
.text 984060 984092 32 0.0
window-app BRD4161A (read/write) 1082460 1082508 48 0.0
.bss 134748 134748 0 0.0
.data 2092 2092 0 0.0
.text 945596 945644 48 0.0
esp32 all-clusters-app c3devkit (read only) 1024446 1024472 26 0.0
(read/write) 1487042 1487042 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216672 216672 0 0.0
.flash.text 1024446 1024472 26 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1077927 1077971 44 0.0
(read/write) 489064 489064 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247084 247084 0 0.0
.flash.text 1072543 1072587 44 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643528 643560 32 0.0
.bss 69720 69720 0 0.0
.data 2044 2044 0 0.0
.text 569036 569068 32 0.0
lock k32w0+release (read/write) 701896 701928 32 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626932 626964 32 0.0
linux all-clusters-app debug (read only) 3015057 3015217 160 0.0
(read/write) 155720 155720 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85384 85384 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 271915 271915 0 0.0
.text 2564258 2564418 160 0.0
all-clusters-minimal-app debug (read only) 2856873 2857017 144 0.0
(read/write) 147488 147488 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77992 77992 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 271947 271947 0 0.0
.text 2408674 2408818 144 0.0
bridge-app debug+rpc (read only) 2362201 2362361 160 0.0
(read/write) 127584 127584 0 0.0
.bss 50592 50592 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67544 67544 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202728 202728 0 0.0
.text 1996466 1996626 160 0.0
chip-tool debug (read only) 10558633 10558777 144 0.0
(read/write) 646336 646336 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 611704 611704 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 539509 539509 0 0.0
.text 8523172 8523316 144 0.0
chip-tool-ipv6only arm64 (read only) 9960892 9960988 96 0.0
(read/write) 694017 694033 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 639264 639288 24 0.0
.dynamic 560 560 0 0.0
.got 13624 13624 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471180 471180 0 0.0
.text 7862884 7862964 80 0.0
lighting-app debug+rpc (read only) 2584673 2584817 144 0.0
(read/write) 130232 130232 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72456 72456 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 218384 218384 0 0.0
.text 2195218 2195362 144 0.0
lock-app debug (read only) 2573337 2573481 144 0.0
(read/write) 125568 125568 0 0.0
.bss 48256 48256 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69592 69592 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 235920 235920 0 0.0
.text 2170402 2170546 144 0.0
ota-provider-app debug (read only) 2353265 2353409 144 0.0
(read/write) 119048 119048 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63416 63416 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 208920 208920 0 0.0
.text 1980466 1980610 144 0.0
ota-requestor-app debug (read only) 2473857 2474001 144 0.0
(read/write) 126440 126440 0 0.0
.bss 50176 50176 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 68072 68072 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 212448 212448 0 0.0
.text 2088914 2089058 144 0.0
shell debug (read only) 2586265 2586409 144 0.0
(read/write) 141872 141872 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77008 77008 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 232882 232882 0 0.0
.text 2195154 2195298 144 0.0
thermostat-no-ble arm64 (read only) 2350700 2350796 96 0.0
(read/write) 141761 141793 32 0.0
.bss 55329 55329 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75976 76000 24 0.0
.dynamic 560 560 0 0.0
.got 5016 5016 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139412 139412 0 0.0
.text 1973776 1973856 80 0.0
tv-app debug (read only) 3155729 3155889 160 0.0
(read/write) 257736 257736 0 0.0
.bss 167352 167352 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79104 79104 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 256392 256392 0 0.0
.text 2709762 2709922 160 0.0
tv-casting-app debug (read only) 5393105 5393249 144 0.0
(read/write) 158728 158728 0 0.0
.bss 51384 51384 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98504 98504 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 339825 339825 0 0.0
.text 4785986 4786130 144 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2453416 2453416 0 0.0
.bss 214548 214548 0 0.0
.data 5872 5872 0 0.0
.text 1416060 1416060 0 0.0
p6 all-clusters-app default (read only) 881528 881528 0 0.0
(read/write) 1689268 1689316 48 0.0
.bss 149168 149168 0 0.0
.data 2648 2648 0 0.0
.text 1529064 1529112 48 0.0
all-clusters-minimal-app default (read only) 882248 882248 0 0.0
(read/write) 1633300 1633348 48 0.0
.bss 148448 148448 0 0.0
.data 2648 2648 0 0.0
.text 1473816 1473864 48 0.0
light-app default (read only) 890568 890568 0 0.0
(read/write) 1553556 1553604 48 0.0
.bss 140336 140336 0 0.0
.data 2440 2440 0 0.0
.text 1402392 1402440 48 0.0
lock-app default (read only) 886072 886072 0 0.0
(read/write) 1592212 1592260 48 0.0
.bss 144816 144816 0 0.0
.data 2456 2456 0 0.0
.text 1436552 1436600 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805560 805584 24 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569420 569442 22 0.0
lighting-app tlsr9518adk80d (read/write) 826000 826024 24 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 586306 586332 26 0.0

src/app/WriteHandler.cpp Outdated Show resolved Hide resolved
src/app/tests/TestWriteInteraction.cpp Outdated Show resolved Hide resolved
@yunhanw-google yunhanw-google force-pushed the feature/fix_write_handler branch from ad59476 to 964f055 Compare August 5, 2022 23:03
@github-actions
Copy link

github-actions bot commented Aug 5, 2022

PR #21440: Size comparison from 0ac799e to 964f055

Increases (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section 0ac799e 964f055 change % change
bl602 lighting-app bl602 (read/write) 1379634 1379682 48 0.0
.text 1047876 1047920 44 0.0
bl602+rpc (read/write) 1424890 1424938 48 0.0
.text 1079380 1079424 44 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670775 670807 32 0.0
.text 581988 582020 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636311 636343 32 0.0
.text 558260 558292 32 0.0
lock-ftd LP_CC2652R7 (read only) 672619 672651 32 0.0
.text 595728 595760 32 0.0
lock-mtd LP_CC2652R7 (read only) 655107 655139 32 0.0
.text 553320 553352 32 0.0
pump-app LP_CC2652R7 (read only) 682791 682823 32 0.0
.text 593060 593092 32 0.0
pump-controller-app LP_CC2652R7 (read only) 667255 667287 32 0.0
.text 581984 582016 32 0.0
shell LP_CC2652R7 (read only) 663450 663482 32 0.0
.text 577716 577748 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584390 584422 32 0.0
.app_xip_area 461192 461224 32 0.0
lock cyw930739m2evb_01 (read/write) 590310 590342 32 0.0
.app_xip_area 462328 462360 32 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589378 589410 32 0.0
.app_xip_area 466996 467028 32 0.0
efr32 lighting-app BRD4161A (read/write) 1096004 1096052 48 0.0
.text 961068 961116 48 0.0
BRD4161A+rpc (read/write) 1150268 1150316 48 0.0
.text 998436 998484 48 0.0
BRD4161A+rs911x (read/write) 985284 985332 48 0.0
.text 821024 821072 48 0.0
lock-app BRD4161A+wf200 (read/write) 1135960 1135992 32 0.0
.text 989052 989084 32 0.0
window-app BRD4161A (read/write) 1087736 1087784 48 0.0
.text 951328 951376 48 0.0
esp32 all-clusters-app c3devkit (read only) 1025828 1025854 26 0.0
.flash.text 1025828 1025854 26 0.0
m5stack (read only) 1079115 1079147 32 0.0
.flash.text 1073731 1073763 32 0.0
k32w light k32w0+release (read/write) 643340 643372 32 0.0
.text 568856 568888 32 0.0
lock k32w0+release (read/write) 700676 700708 32 0.0
.text 625712 625744 32 0.0
linux all-clusters-app debug (read only) 3022745 3022889 144 0.0
.text 2571106 2571250 144 0.0
all-clusters-minimal-app debug (read only) 2864609 2864769 160 0.0
.text 2415506 2415666 160 0.0
bridge-app debug+rpc (read only) 2363881 2364025 144 0.0
.text 1999378 1999522 144 0.0
chip-tool debug (read only) 10444721 10444865 144 0.0
.text 8415220 8415364 144 0.0
chip-tool-ipv6only arm64 (read only) 9859324 9859436 112 0.0
(read/write) 694145 694161 16 0.0
.data.rel.ro 639360 639384 24 0.0
.text 7767524 7767604 80 0.0
lighting-app debug+rpc (read only) 2587513 2587657 144 0.0
.text 2198274 2198418 144 0.0
lock-app debug (read only) 2571745 2571889 144 0.0
.text 2169570 2169714 144 0.0
ota-provider-app debug (read only) 2349297 2349441 144 0.0
.text 1978114 1978258 144 0.0
ota-requestor-app debug (read only) 2473337 2473481 144 0.0
.text 2088962 2089106 144 0.0
shell debug (read only) 2593345 2593489 144 0.0
.text 2201874 2202018 144 0.0
thermostat-no-ble arm64 (read only) 2349676 2349772 96 0.0
(read/write) 141649 141681 32 0.0
.data.rel.ro 75856 75880 24 0.0
.text 1972544 1972624 80 0.0
tv-app debug (read only) 3167153 3167297 144 0.0
.text 2719842 2719986 144 0.0
tv-casting-app debug (read only) 5402513 5402657 144 0.0
.text 4794082 4794226 144 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452392 2452456 64 0.0
.text 1415036 1415100 64 0.0
p6 all-clusters-app default (read/write) 1690756 1690804 48 0.0
.text 1530552 1530600 48 0.0
all-clusters-minimal-app default (read/write) 1634948 1634996 48 0.0
.text 1475464 1475512 48 0.0
light-app default (read/write) 1553668 1553716 48 0.0
.text 1402504 1402552 48 0.0
lock-app default (read/write) 1590956 1591004 48 0.0
.text 1435296 1435344 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805836 805860 24 0.0
text 569642 569666 24 0.0
lighting-app tlsr9518adk80d (read/write) 827644 827668 24 0.0
text 587618 587640 22 0.0
Decreases (6 builds for cc13x2_26x2)
platform target config section 0ac799e 964f055 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 180608 180576 -32 -0.0
lock-ftd LP_CC2652R7 (read/write) 168948 168916 -32 -0.0
lock-mtd LP_CC2652R7 (read/write) 182148 182116 -32 -0.0
pump-app LP_CC2652R7 (read/write) 159584 159552 -32 -0.0
pump-controller-app LP_CC2652R7 (read/write) 175256 175224 -32 -0.0
shell LP_CC2652R7 (read/write) 183452 183420 -32 -0.0
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section 0ac799e 964f055 change % change
bl602 lighting-app bl602 (read/write) 1379634 1379682 48 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1047876 1047920 44 0.0
bl602+rpc (read/write) 1424890 1424938 48 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079380 1079424 44 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670775 670807 32 0.0
(read/write) 180608 180576 -32 -0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 581988 582020 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636311 636343 32 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558260 558292 32 0.0
lock-ftd LP_CC2652R7 (read only) 672619 672651 32 0.0
(read/write) 168948 168916 -32 -0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 595728 595760 32 0.0
lock-mtd LP_CC2652R7 (read only) 655107 655139 32 0.0
(read/write) 182148 182116 -32 -0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101307 101307 0 0.0
.text 553320 553352 32 0.0
pump-app LP_CC2652R7 (read only) 682791 682823 32 0.0
(read/write) 159584 159552 -32 -0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89247 89247 0 0.0
.text 593060 593092 32 0.0
pump-controller-app LP_CC2652R7 (read only) 667255 667287 32 0.0
(read/write) 175256 175224 -32 -0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84791 84791 0 0.0
.text 581984 582016 32 0.0
shell LP_CC2652R7 (read only) 663450 663482 32 0.0
(read/write) 183452 183420 -32 -0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 577716 577748 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584390 584422 32 0.0
.app_xip_area 461192 461224 32 0.0
.bss 65640 65640 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590310 590342 32 0.0
.app_xip_area 462328 462360 32 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 589378 589410 32 0.0
.app_xip_area 466996 467028 32 0.0
.bss 64880 64880 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096004 1096052 48 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961068 961116 48 0.0
BRD4161A+rpc (read/write) 1150268 1150316 48 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 998436 998484 48 0.0
BRD4161A+rs911x (read/write) 985284 985332 48 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821024 821072 48 0.0
lock-app BRD4161A+wf200 (read/write) 1135960 1135992 32 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989052 989084 32 0.0
window-app BRD4161A (read/write) 1087736 1087784 48 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951328 951376 48 0.0
esp32 all-clusters-app c3devkit (read only) 1025828 1025854 26 0.0
(read/write) 1487226 1487226 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216856 216856 0 0.0
.flash.text 1025828 1025854 26 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079115 1079147 32 0.0
(read/write) 489232 489232 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247252 247252 0 0.0
.flash.text 1073731 1073763 32 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643340 643372 32 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568856 568888 32 0.0
lock k32w0+release (read/write) 700676 700708 32 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 625712 625744 32 0.0
linux all-clusters-app debug (read only) 3022745 3022889 144 0.0
(read/write) 155720 155720 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85384 85384 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272779 272779 0 0.0
.text 2571106 2571250 144 0.0
all-clusters-minimal-app debug (read only) 2864609 2864769 160 0.0
(read/write) 147488 147488 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78008 78008 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272875 272875 0 0.0
.text 2415506 2415666 160 0.0
bridge-app debug+rpc (read only) 2363881 2364025 144 0.0
(read/write) 127416 127416 0 0.0
.bss 50592 50592 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67368 67368 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 202024 202024 0 0.0
.text 1999378 1999522 144 0.0
chip-tool debug (read only) 10444721 10444865 144 0.0
(read/write) 646464 646464 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 611800 611800 0 0.0
.dynamic 608 608 0 0.0
.got 5104 5104 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 533141 533141 0 0.0
.text 8415220 8415364 144 0.0
chip-tool-ipv6only arm64 (read only) 9859324 9859436 112 0.0
(read/write) 694145 694161 16 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 639360 639384 24 0.0
.dynamic 560 560 0 0.0
.got 13640 13640 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 464508 464508 0 0.0
.text 7767524 7767604 80 0.0
lighting-app debug+rpc (read only) 2587513 2587657 144 0.0
(read/write) 130008 130008 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72248 72248 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 218672 218672 0 0.0
.text 2198274 2198418 144 0.0
lock-app debug (read only) 2571745 2571889 144 0.0
(read/write) 125376 125376 0 0.0
.bss 48256 48256 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69416 69416 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 235664 235664 0 0.0
.text 2169570 2169714 144 0.0
ota-provider-app debug (read only) 2349297 2349441 144 0.0
(read/write) 118848 118848 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63224 63224 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 207832 207832 0 0.0
.text 1978114 1978258 144 0.0
ota-requestor-app debug (read only) 2473337 2473481 144 0.0
(read/write) 126248 126248 0 0.0
.bss 50176 50176 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67896 67896 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 212384 212384 0 0.0
.text 2088962 2089106 144 0.0
shell debug (read only) 2593345 2593489 144 0.0
(read/write) 141904 141904 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77024 77024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 233266 233266 0 0.0
.text 2201874 2202018 144 0.0
thermostat-no-ble arm64 (read only) 2349676 2349772 96 0.0
(read/write) 141649 141681 32 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75856 75880 24 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139620 139620 0 0.0
.text 1972544 1972624 80 0.0
tv-app debug (read only) 3167153 3167297 144 0.0
(read/write) 257864 257864 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79096 79096 0 0.0
.dynamic 608 608 0 0.0
.got 4864 4864 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 257544 257544 0 0.0
.text 2719842 2719986 144 0.0
tv-casting-app debug (read only) 5402513 5402657 144 0.0
(read/write) 158856 158856 0 0.0
.bss 51384 51384 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98608 98608 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 340465 340465 0 0.0
.text 4794082 4794226 144 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452392 2452456 64 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415036 1415100 64 0.0
p6 all-clusters-app default (read only) 881528 881528 0 0.0
(read/write) 1690756 1690804 48 0.0
.bss 149168 149168 0 0.0
.data 2648 2648 0 0.0
.text 1530552 1530600 48 0.0
all-clusters-minimal-app default (read only) 882248 882248 0 0.0
(read/write) 1634948 1634996 48 0.0
.bss 148448 148448 0 0.0
.data 2648 2648 0 0.0
.text 1475464 1475512 48 0.0
light-app default (read only) 890568 890568 0 0.0
(read/write) 1553668 1553716 48 0.0
.bss 140336 140336 0 0.0
.data 2440 2440 0 0.0
.text 1402504 1402552 48 0.0
lock-app default (read only) 886072 886072 0 0.0
(read/write) 1590956 1591004 48 0.0
.bss 144816 144816 0 0.0
.data 2456 2456 0 0.0
.text 1435296 1435344 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805836 805860 24 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569642 569666 24 0.0
lighting-app tlsr9518adk80d (read/write) 827644 827668 24 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587618 587640 22 0.0

@woody-apple woody-apple merged commit 75ffda4 into project-chip:master Aug 6, 2022
@bzbarsky-apple
Copy link
Contributor

@yunhanw-google This is failing the nRF Connect unit tests, with this error:

2022-08-06T06:29:13.5184322Z 2022-08-06 06:28:12 INFO    ../../../../src/app/tests/TestWriteInteraction.cpp:588: assertion failed: "InteractionModelEngine::GetInstance()->GetNumActiveWriteHandlers() == 1"

I am guessing the PacketBuffers there are bigger, and we end up not chunking.... We should probably reserve an amount of space dependent on the packet buffer available space, not a hardcoded 900 bytes.

woody-apple added a commit that referenced this pull request Aug 6, 2022
woody-apple added a commit that referenced this pull request Aug 6, 2022
yunhanw-google added a commit to yunhanw-google/connectedhomeip that referenced this pull request Aug 8, 2022
yunhanw-google added a commit that referenced this pull request Aug 9, 2022
#21707)

* Revert "Revert "Fix status report handling in write handler (#21440)" (#21701)"

This reverts commit 5ab5be3.

* Fix nrf test

in nrf test, somehow CONFIG_BUILD_FOR_HOST_UNIT_TEST is disabled,
need to disable this test in nrf tests

apply restyle

* Update src/app/WriteHandler.cpp

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

Co-authored-by: Boris Zbarsky <[email protected]>
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
…chip#21440)"… (project-chip#21707)

* Revert "Revert "Fix status report handling in write handler (project-chip#21440)" (project-chip#21701)"

This reverts commit 5ab5be3.

* Fix nrf test

in nrf test, somehow CONFIG_BUILD_FOR_HOST_UNIT_TEST is disabled,
need to disable this test in nrf tests

apply restyle

* Update src/app/WriteHandler.cpp

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

Co-authored-by: Boris Zbarsky <[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.

4 participants