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

[Scenes] Level control handler bugfix #29076

Merged

Conversation

lpbeliveau-silabs
Copy link
Contributor

@lpbeliveau-silabs lpbeliveau-silabs commented Sep 5, 2023

Addresses : #29033

Solves broken null value storage by adding proper null handling for storing the current level.

Also removes un-necessary explicit typing and documents the behavior of the on-off handler when the level-control handler is registered.

…ssary typing and added doc on on-off and level control handlers interactions
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

PR #29076: Size comparison from 14cbb32 to 63bd2cb

Increases (12 builds for bl702, bl702l, esp32, linux, psoc6, telink)
platform target config section 14cbb32 63bd2cb change % change
bl702 lighting-app bl702 .debug_line 5449662 5449664 2 0.0
bl702+rpc .debug_line 5858547 5858549 2 0.0
bl706-eth .debug_line 4407864 4407866 2 0.0
bl706-wifi .debug_line 4628866 4628868 2 0.0
bl702l lighting-app bl702l .debug_line 5365869 5365871 2 0.0
esp32 all-clusters-app m5stack (read only) 1213951 1213955 4 0.0
.flash.text 1208567 1208571 4 0.0
linux all-clusters-minimal-app debug (read only) 4915529 4915545 16 0.0
.text 4412227 4412243 16 0.0
lighting-app debug+rpc+ui (read only) 5247433 5247449 16 0.0
.text 4668179 4668195 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 33666561 33666859 298 0.0
.debug_line 4246396 4246426 30 0.0
.debug_loclists 2305682 2305695 13 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 29295206 29295504 298 0.0
.debug_line 3948210 3948240 30 0.0
.debug_loclists 2121573 2121586 13 0.0
light cy8ckit_062s2_43012 .debug_info 24348620 24348918 298 0.0
.debug_line 3512647 3512677 30 0.0
.debug_loclists 1958356 1958369 13 0.0
telink bridge-app tlsr9518adk80d text 647812 647814 2 0.0
Decreases (11 builds for cc32xx, efr32, esp32, nrfconnect, psoc6, telink)
platform target config section 14cbb32 63bd2cb change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_line 2797076 2797072 -4 -0.0
efr32 lighting-app BRD4187C (read/write) 1079220 1079204 -16 -0.0
.text 889936 889920 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 1173030 1173026 -4 -0.0
.flash.text 1173030 1173026 -4 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 863504 863500 -4 -0.0
psoc6 lock cy8ckit_062s2_43012 .debug_line 3465698 3465694 -4 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1096540 1096532 -8 -0.0
text 752644 752640 -4 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 981952 981944 -8 -0.0
text 673914 673910 -4 -0.0
lighting-app tlsr9518adk80d text 687486 687482 -4 -0.0
lighting-app-factory-data tlsr9518adk80d text 695002 694998 -4 -0.0
lighting-app-rpc tlsr9518adk80d text 732510 732506 -4 -0.0
lighting-app-shell tlsr9518adk80d text 752962 752958 -4 -0.0
Full report (67 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 14cbb32 63bd2cb change % change
bl602 lighting-app bl602 (read/write) 1365518 1365518 0 0.0
.bss 73446 73446 0 0.0
.data 9600 9600 0 0.0
.text 1058510 1058510 0 0.0
bl602+rpc (read/write) 1412658 1412658 0 0.0
.bss 81486 81486 0 0.0
.data 9952 9952 0 0.0
.text 1090188 1090188 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168623 1168623 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41301 41301 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 3584 3584 0 0.0
.debug_abbrev 1565754 1565754 0 0.0
.debug_aranges 137960 137960 0 0.0
.debug_frame 507336 507336 0 0.0
.debug_info 41821860 41821860 0 0.0
.debug_line 5449662 5449664 2 0.0
.debug_loc 3520934 3520934 0 0.0
.debug_ranges 380584 380584 0 0.0
.debug_str 3953463 3953463 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107100 107100 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 590830 590830 0 0.0
.symtab 176000 176000 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955666 955666 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265439 1265439 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1742574 1742574 0 0.0
.debug_aranges 146624 146624 0 0.0
.debug_frame 536588 536588 0 0.0
.debug_info 46724988 46724988 0 0.0
.debug_line 5858547 5858549 2 0.0
.debug_loc 3726225 3726225 0 0.0
.debug_ranges 406480 406480 0 0.0
.debug_str 4374928 4374928 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121972 121972 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 655001 655001 0 0.0
.symtab 195200 195200 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028116 1028116 0 0.0
bl706-eth (read/write) 1014752 1014752 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25586 25586 0 0.0
.bss_psram 94415 94415 0 0.0
.comment 48 48 0 0.0
.data 3304 3304 0 0.0
.debug_abbrev 1114790 1114790 0 0.0
.debug_aranges 114256 114256 0 0.0
.debug_frame 424208 424208 0 0.0
.debug_info 23276225 23276225 0 0.0
.debug_line 4407864 4407866 2 0.0
.debug_loc 3019180 3019180 0 0.0
.debug_ranges 317384 317384 0 0.0
.debug_str 3525465 3525465 0 0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 97296 97296 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 455889 455889 0 0.0
.symtab 138032 138032 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
773744 773744 0 0.0
bl706-wifi (read/write) 1086923 1086923 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9981 9981 0 0.0
.bss_psram 95151 95151 0 0.0
.comment 48 48 0 0.0
.data 3624 3624 0 0.0
.debug_abbrev 1207651 1207651 0 0.0
.debug_aranges 118520 118520 0 0.0
.debug_frame 439652 439652 0 0.0
.debug_info 24441351 24441351 0 0.0
.debug_line 4628866 4628868 2 0.0
.debug_loc 3103210 3103210 0 0.0
.debug_ranges 326280 326280 0 0.0
.debug_str 3586866 3586866 0 0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109572 109572 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 492654 492654 0 0.0
.symtab 150544 150544 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3402 3402 0 0.0
.text 0 0 0 0.0
847450 847450 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153856 1153856 0 0.0
.boot2 292 292 0 0.0
.bss 16004 16004 0 0.0
.bss_psram 77648 77648 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1568122 1568122 0 0.0
.debug_aranges 132480 132480 0 0.0
.debug_frame 487068 487068 0 0.0
.debug_info 41828665 41828665 0 0.0
.debug_line 5365869 5365871 2 0.0
.debug_loc 3456675 3456675 0 0.0
.debug_ranges 385904 385904 0 0.0
.debug_str 3965906 3965906 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100964 100964 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 591024 591024 0 0.0
.symtab 175536 175536 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944166 944166 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 735115 735115 0 0.0
(read/write) 166664 166664 0 0.0
.bss 89076 89076 0 0.0
.data 3424 3424 0 0.0
.rodata 84535 84535 0 0.0
.text 650192 650192 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 756451 756451 0 0.0
(read/write) 177056 177056 0 0.0
.bss 99436 99436 0 0.0
.data 3440 3440 0 0.0
.rodata 80015 80015 0 0.0
.text 676044 676044 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 744339 744339 0 0.0
(read/write) 171528 171528 0 0.0
.bss 93908 93908 0 0.0
.data 3440 3440 0 0.0
.rodata 106263 106263 0 0.0
.text 637688 637688 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 694787 694787 0 0.0
(read/write) 165900 165900 0 0.0
.bss 88080 88080 0 0.0
.data 3412 3412 0 0.0
.rodata 80423 80423 0 0.0
.text 613972 613972 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 680371 680371 0 0.0
(read/write) 166032 166032 0 0.0
.bss 88224 88224 0 0.0
.data 3408 3408 0 0.0
.rodata 76263 76263 0 0.0
.text 603716 603716 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617170 617170 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966876 966876 0 0.0
.debug_aranges 106760 106760 0 0.0
.debug_frame 361040 361040 0 0.0
.debug_info 21248048 21248048 0 0.0
.debug_line 2797076 2797072 -4 -0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1568244 1568244 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 98952 98952 0 0.0
.debug_str 3368410 3368410 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499912 499912 0 0.0
.symtab 294240 294240 0 0.0
.text 508540 508540 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 553071 553071 0 0.0
.app_xip_area 444089 444089 0 0.0
.bss 63952 63952 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 539527 539527 0 0.0
.app_xip_area 425609 425609 0 0.0
.bss 68856 68856 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574879 574879 0 0.0
.app_xip_area 467097 467097 0 0.0
.bss 62824 62824 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558639 558639 0 0.0
.app_xip_area 447649 447649 0 0.0
.bss 65936 65936 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+rs9116 (read/write) 1026156 1026156 0 0.0
.bss 193028 193028 0 0.0
.data 2668 2668 0 0.0
.text 830440 830440 0 0.0
BRD4187C (read/write) 1079220 1079204 -16 -0.0
.bss 186008 186008 0 0.0
.data 3256 3256 0 0.0
.text 889936 889920 -16 -0.0
lock-app BRD4161A+wf200 (read/write) 1103124 1103124 0 0.0
.bss 186956 186956 0 0.0
.data 2684 2684 0 0.0
.text 913464 913464 0 0.0
window-app BRD4187C (read/write) 1128120 1128120 0 0.0
.bss 168768 168768 0 0.0
.data 3132 3132 0 0.0
.text 956200 956200 0 0.0
esp32 all-clusters-app c3devkit (read only) 1173030 1173026 -4 -0.0
(read/write) 1703788 1703788 0 0.0
.dram0.bss 79056 79056 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268736 268736 0 0.0
.flash.text 1173030 1173026 -4 -0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1213951 1213955 4 0.0
(read/write) 553258 553258 0 0.0
.dram0.bss 85672 85672 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 299932 299932 0 0.0
.flash.text 1208567 1208571 4 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 590060 590060 0 0.0
(read/write) 87920 87920 0 0.0
.bss 71168 71168 0 0.0
.data 2128 2128 0 0.0
.text 589524 589524 0 0.0
light k32w0+release (read only) 589868 589868 0 0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589332 589332 0 0.0
lock k32w0+release (read only) 561220 561220 0 0.0
(read/write) 85372 85372 0 0.0
.bss 68688 68688 0 0.0
.data 2060 2060 0 0.0
.text 560684 560684 0 0.0
linux all-clusters-app debug (read only) 5649849 5649849 0 0.0
(read/write) 420104 420104 0 0.0
.bss 130400 130400 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 278296 278296 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339284 339284 0 0.0
.text 4929411 4929411 0 0.0
all-clusters-minimal-app debug (read only) 4915529 4915545 16 0.0
(read/write) 232352 232352 0 0.0
.bss 126336 126336 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 95024 95024 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272552 272552 0 0.0
.text 4412227 4412243 16 0.0
bridge-app debug (read only) 2772585 2772585 0 0.0
(read/write) 133136 133136 0 0.0
.bss 51768 51768 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214504 214504 0 0.0
.text 2380435 2380435 0 0.0
chip-tool debug (read only) 10332705 10332705 0 0.0
(read/write) 441784 441784 0 0.0
.bss 93688 93688 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 335760 335760 0 0.0
.dynamic 624 624 0 0.0
.got 5808 5808 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388785 388785 0 0.0
.text 9348435 9348435 0 0.0
chip-tool-ipv6only arm64 (read only) 10174140 10174140 0 0.0
(read/write) 504232 504232 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 373128 373128 0 0.0
.dynamic 512 512 0 0.0
.got 18192 18192 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316168 316168 0 0.0
.text 9093992 9093992 0 0.0
lighting-app debug+rpc+ui (read only) 5247433 5247449 16 0.0
(read/write) 222504 222504 0 0.0
.bss 118032 118032 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92376 92376 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336820 336820 0 0.0
.text 4668179 4668195 16 0.0
lock-app debug (read only) 4478993 4478993 0 0.0
(read/write) 203096 203096 0 0.0
.bss 113456 113456 0 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248456 248456 0 0.0
.text 4021043 4021043 0 0.0
ota-provider-app debug (read only) 4130433 4130433 0 0.0
(read/write) 192032 192032 0 0.0
.bss 113600 113600 0 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68480 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201128 201128 0 0.0
.text 3738867 3738867 0 0.0
ota-requestor-app debug (read only) 4223897 4223897 0 0.0
(read/write) 196344 196344 0 0.0
.bss 114656 114656 0 0.0
.data 4272 4272 0 0.0
.data.rel.ro 71480 71480 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204456 204456 0 0.0
.text 3824675 3824675 0 0.0
shell debug (read only) 3051025 3051025 0 0.0
(read/write) 153520 153520 0 0.0
.bss 60808 60808 0 0.0
.data 784 784 0 0.0
.data.rel.ro 85992 85992 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 214546 214546 0 0.0
.text 2661986 2661986 0 0.0
thermostat-no-ble arm64 (read only) 4358076 4358076 0 0.0
(read/write) 241896 241896 0 0.0
.bss 122200 122200 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100512 100512 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11824 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161236 161236 0 0.0
.text 3862776 3862776 0 0.0
tv-app debug (read only) 5321281 5321281 0 0.0
(read/write) 350824 350824 0 0.0
.bss 242016 242016 0 0.0
.data 5136 5136 0 0.0
.data.rel.ro 96256 96256 0 0.0
.dynamic 624 624 0 0.0
.got 5608 5608 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272920 272920 0 0.0
.text 4804307 4804307 0 0.0
tv-casting-app debug (read only) 8279993 8279993 0 0.0
(read/write) 211288 211288 0 0.0
.bss 54720 54720 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147224 147224 0 0.0
.dynamic 624 624 0 0.0
.got 5080 5080 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 338396 338396 0 0.0
.text 7541091 7541091 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219416 219416 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1241064 1241064 0 0.0
bss 155438 155438 0 0.0
rodata 143084 143084 0 0.0
text 863504 863500 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1359412 1359412 0 0.0
bss 140904 140904 0 0.0
rodata 136988 136988 0 0.0
text 790808 790808 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1160840 1160840 0 0.0
bss 154836 154836 0 0.0
rodata 113748 113748 0 0.0
text 813316 813316 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837184 837184 0 0.0
(read/write) 1793972 1793972 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193604 193604 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1425489 1425489 0 0.0
.debug_aranges 145304 145304 0 0.0
.debug_frame 483288 483288 0 0.0
.debug_info 33666561 33666859 298 0.0
.debug_line 4246396 4246426 30 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2305682 2305695 13 0.0
.debug_rnglists 144524 144524 0 0.0
.debug_str 4536983 4536983 0 0.0
.heap 837184 837184 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 852092 852092 0 0.0
.symtab 515712 515712 0 0.0
.text 1589428 1589428 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839944 839944 0 0.0
(read/write) 1678772 1678772 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190932 190932 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1290839 1290839 0 0.0
.debug_aranges 135040 135040 0 0.0
.debug_frame 454444 454444 0 0.0
.debug_info 29295206 29295504 298 0.0
.debug_line 3948210 3948240 30 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2121573 2121586 13 0.0
.debug_rnglists 134005 134005 0 0.0
.debug_str 3922660 3922660 0 0.0
.heap 839944 839944 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719967 719967 0 0.0
.symtab 467744 467744 0 0.0
.text 1476988 1476988 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846280 846280 0 0.0
(read/write) 1607084 1607084 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184708 184708 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1130664 1130664 0 0.0
.debug_aranges 125136 125136 0 0.0
.debug_frame 417488 417488 0 0.0
.debug_info 24348620 24348918 298 0.0
.debug_line 3512647 3512677 30 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1958356 1958369 13 0.0
.debug_rnglists 123702 123702 0 0.0
.debug_str 3729903 3729903 0 0.0
.heap 846280 846280 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 637532 637532 0 0.0
.symtab 431280 431280 0 0.0
.text 1411636 1411636 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1640356 1640356 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1121628 1121628 0 0.0
.debug_aranges 123944 123944 0 0.0
.debug_frame 413140 413140 0 0.0
.debug_info 24160351 24160351 0 0.0
.debug_line 3465698 3465694 -4 -0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1936875 1936875 0 0.0
.debug_rnglists 121798 121798 0 0.0
.debug_str 3693292 3693292 0 0.0
.heap 818880 818880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 611607 611607 0 0.0
.symtab 423328 423328 0 0.0
.text 1417508 1417508 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177940 1177940 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624784 624784 0 0.0
lock-app qpg6105+debug (read/write) 1134212 1134212 0 0.0
.bss 95728 95728 0 0.0
.data 748 748 0 0.0
.text 581052 581052 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096540 1096532 -8 -0.0
bss 108156 108156 0 0.0
text 752644 752640 -4 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 981952 981944 -8 -0.0
bss 105340 105340 0 0.0
text 673914 673910 -4 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 945184 945184 0 0.0
bss 109652 109652 0 0.0
text 647812 647814 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 875816 875816 0 0.0
bss 98680 98680 0 0.0
text 590202 590202 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 922152 922152 0 0.0
bss 99520 99520 0 0.0
text 631888 631888 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 984404 984404 0 0.0
bss 107504 107504 0 0.0
text 687486 687482 -4 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 995768 995768 0 0.0
bss 111752 111752 0 0.0
text 695002 694998 -4 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1054048 1054048 0 0.0
bss 109084 109084 0 0.0
text 732510 732506 -4 -0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086360 1086360 0 0.0
bss 120412 120412 0 0.0
text 752962 752958 -4 -0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 933872 933872 0 0.0
bss 99400 99400 0 0.0
text 621334 621334 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899744 899744 0 0.0
bss 100012 100012 0 0.0
text 613190 613190 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881248 881248 0 0.0
bss 98812 98812 0 0.0
text 595846 595846 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868388 868388 0 0.0
bss 98612 98612 0 0.0
text 586268 586268 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 745148 745148 0 0.0
bss 97476 97476 0 0.0
text 478888 478888 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879300 879300 0 0.0
bss 98792 98792 0 0.0
text 594562 594562 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 864536 864536 0 0.0
bss 98512 98512 0 0.0
text 581890 581890 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889820 889820 0 0.0
bss 98904 98904 0 0.0
text 601978 601978 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 885444 885444 0 0.0
bss 99228 99228 0 0.0
text 597306 597306 0 0.0

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

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

@lpbeliveau-silabs could we update the summary to contain things a bit clearer on what to expect in the PR?

Title says "bugfix" but it never says what bug... so the summary links to an issue and if opening the issue, that links to a PR review.

That is a lot of steps for reviewers and when this log becomes part of the git history it will likely not be useful either.

Could we explain what the bug was and what the fix is?

@lpbeliveau-silabs
Copy link
Contributor Author

Summary updated.

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

PR #29076: Size comparison from 14cbb32 to e32c08f

Increases (15 builds for bl702, bl702l, efr32, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 14cbb32 e32c08f change % change
bl702 lighting-app bl702 .debug_line 5449662 5449664 2 0.0
bl702+rpc .debug_line 5858547 5858549 2 0.0
bl706-eth .debug_line 4407864 4407866 2 0.0
bl706-wifi .debug_line 4628866 4628868 2 0.0
bl702l lighting-app bl702l .debug_line 5365869 5365871 2 0.0
efr32 lighting-app BRD4161A+rs9116 .text 830440 830456 16 0.0
esp32 all-clusters-app m5stack (read only) 1213951 1213955 4 0.0
.flash.text 1208567 1208571 4 0.0
linux all-clusters-minimal-app debug (read only) 4915529 4915545 16 0.0
.text 4412227 4412243 16 0.0
lighting-app debug+rpc+ui (read only) 5247433 5247449 16 0.0
.text 4668179 4668195 16 0.0
nrfconnect all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1359412 1359460 48 0.0
text 790808 790856 48 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160840 1161192 352 0.0
rodata 113748 113796 48 0.0
text 813316 813608 292 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 33666561 33666859 298 0.0
.debug_line 4246396 4246426 30 0.0
.debug_loclists 2305682 2305695 13 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 29295206 29295504 298 0.0
.debug_line 3948210 3948240 30 0.0
.debug_loclists 2121573 2121586 13 0.0
light cy8ckit_062s2_43012 .debug_info 24348620 24348918 298 0.0
.debug_line 3512647 3512677 30 0.0
.debug_loclists 1958356 1958369 13 0.0
telink bridge-app tlsr9518adk80d text 647812 647814 2 0.0
Decreases (12 builds for cc32xx, efr32, esp32, nrfconnect, psoc6, telink)
platform target config section 14cbb32 e32c08f change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_line 2797076 2797072 -4 -0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1026156 1005276 -20880 -2.0
.bss 193028 172132 -20896 -10.8
BRD4187C (read/write) 1079220 1079204 -16 -0.0
.text 889936 889920 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 1173030 1173026 -4 -0.0
.flash.text 1173030 1173026 -4 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 863504 863500 -4 -0.0
psoc6 lock cy8ckit_062s2_43012 .debug_line 3465698 3465694 -4 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1096540 1096532 -8 -0.0
text 752644 752640 -4 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 981952 981944 -8 -0.0
text 673914 673910 -4 -0.0
lighting-app tlsr9518adk80d text 687486 687482 -4 -0.0
lighting-app-factory-data tlsr9518adk80d text 695002 694998 -4 -0.0
lighting-app-rpc tlsr9518adk80d text 732510 732506 -4 -0.0
lighting-app-shell tlsr9518adk80d text 752962 752958 -4 -0.0
Full report (67 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 14cbb32 e32c08f change % change
bl602 lighting-app bl602 (read/write) 1365518 1365518 0 0.0
.bss 73446 73446 0 0.0
.data 9600 9600 0 0.0
.text 1058510 1058510 0 0.0
bl602+rpc (read/write) 1412658 1412658 0 0.0
.bss 81486 81486 0 0.0
.data 9952 9952 0 0.0
.text 1090188 1090188 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168623 1168623 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41301 41301 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 3584 3584 0 0.0
.debug_abbrev 1565754 1565754 0 0.0
.debug_aranges 137960 137960 0 0.0
.debug_frame 507336 507336 0 0.0
.debug_info 41821860 41821860 0 0.0
.debug_line 5449662 5449664 2 0.0
.debug_loc 3520934 3520934 0 0.0
.debug_ranges 380584 380584 0 0.0
.debug_str 3953463 3953463 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107100 107100 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 590830 590830 0 0.0
.symtab 176000 176000 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955666 955666 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265439 1265439 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1742574 1742574 0 0.0
.debug_aranges 146624 146624 0 0.0
.debug_frame 536588 536588 0 0.0
.debug_info 46724988 46724988 0 0.0
.debug_line 5858547 5858549 2 0.0
.debug_loc 3726225 3726225 0 0.0
.debug_ranges 406480 406480 0 0.0
.debug_str 4374928 4374928 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121972 121972 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 655001 655001 0 0.0
.symtab 195200 195200 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028116 1028116 0 0.0
bl706-eth (read/write) 1014752 1014752 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25586 25586 0 0.0
.bss_psram 94415 94415 0 0.0
.comment 48 48 0 0.0
.data 3304 3304 0 0.0
.debug_abbrev 1114790 1114790 0 0.0
.debug_aranges 114256 114256 0 0.0
.debug_frame 424208 424208 0 0.0
.debug_info 23276225 23276225 0 0.0
.debug_line 4407864 4407866 2 0.0
.debug_loc 3019180 3019180 0 0.0
.debug_ranges 317384 317384 0 0.0
.debug_str 3525465 3525465 0 0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 97296 97296 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 455889 455889 0 0.0
.symtab 138032 138032 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
773744 773744 0 0.0
bl706-wifi (read/write) 1086923 1086923 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9981 9981 0 0.0
.bss_psram 95151 95151 0 0.0
.comment 48 48 0 0.0
.data 3624 3624 0 0.0
.debug_abbrev 1207651 1207651 0 0.0
.debug_aranges 118520 118520 0 0.0
.debug_frame 439652 439652 0 0.0
.debug_info 24441351 24441351 0 0.0
.debug_line 4628866 4628868 2 0.0
.debug_loc 3103210 3103210 0 0.0
.debug_ranges 326280 326280 0 0.0
.debug_str 3586866 3586866 0 0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109572 109572 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 492654 492654 0 0.0
.symtab 150544 150544 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3402 3402 0 0.0
.text 0 0 0 0.0
847450 847450 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153856 1153856 0 0.0
.boot2 292 292 0 0.0
.bss 16004 16004 0 0.0
.bss_psram 77648 77648 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1568122 1568122 0 0.0
.debug_aranges 132480 132480 0 0.0
.debug_frame 487068 487068 0 0.0
.debug_info 41828665 41828665 0 0.0
.debug_line 5365869 5365871 2 0.0
.debug_loc 3456675 3456675 0 0.0
.debug_ranges 385904 385904 0 0.0
.debug_str 3965906 3965906 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100964 100964 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 591024 591024 0 0.0
.symtab 175536 175536 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944166 944166 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 735115 735115 0 0.0
(read/write) 166664 166664 0 0.0
.bss 89076 89076 0 0.0
.data 3424 3424 0 0.0
.rodata 84535 84535 0 0.0
.text 650192 650192 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 756451 756451 0 0.0
(read/write) 177056 177056 0 0.0
.bss 99436 99436 0 0.0
.data 3440 3440 0 0.0
.rodata 80015 80015 0 0.0
.text 676044 676044 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 744339 744339 0 0.0
(read/write) 171528 171528 0 0.0
.bss 93908 93908 0 0.0
.data 3440 3440 0 0.0
.rodata 106263 106263 0 0.0
.text 637688 637688 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 694787 694787 0 0.0
(read/write) 165900 165900 0 0.0
.bss 88080 88080 0 0.0
.data 3412 3412 0 0.0
.rodata 80423 80423 0 0.0
.text 613972 613972 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 680371 680371 0 0.0
(read/write) 166032 166032 0 0.0
.bss 88224 88224 0 0.0
.data 3408 3408 0 0.0
.rodata 76263 76263 0 0.0
.text 603716 603716 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617170 617170 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966876 966876 0 0.0
.debug_aranges 106760 106760 0 0.0
.debug_frame 361040 361040 0 0.0
.debug_info 21248048 21248048 0 0.0
.debug_line 2797076 2797072 -4 -0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1568244 1568244 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 98952 98952 0 0.0
.debug_str 3368410 3368410 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499912 499912 0 0.0
.symtab 294240 294240 0 0.0
.text 508540 508540 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 553071 553071 0 0.0
.app_xip_area 444089 444089 0 0.0
.bss 63952 63952 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 539527 539527 0 0.0
.app_xip_area 425609 425609 0 0.0
.bss 68856 68856 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574879 574879 0 0.0
.app_xip_area 467097 467097 0 0.0
.bss 62824 62824 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558639 558639 0 0.0
.app_xip_area 447649 447649 0 0.0
.bss 65936 65936 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+rs9116 (read/write) 1026156 1005276 -20880 -2.0
.bss 193028 172132 -20896 -10.8
.data 2668 2668 0 0.0
.text 830440 830456 16 0.0
BRD4187C (read/write) 1079220 1079204 -16 -0.0
.bss 186008 186008 0 0.0
.data 3256 3256 0 0.0
.text 889936 889920 -16 -0.0
lock-app BRD4161A+wf200 (read/write) 1103124 1103124 0 0.0
.bss 186956 186956 0 0.0
.data 2684 2684 0 0.0
.text 913464 913464 0 0.0
window-app BRD4187C (read/write) 1128120 1128120 0 0.0
.bss 168768 168768 0 0.0
.data 3132 3132 0 0.0
.text 956200 956200 0 0.0
esp32 all-clusters-app c3devkit (read only) 1173030 1173026 -4 -0.0
(read/write) 1703788 1703788 0 0.0
.dram0.bss 79056 79056 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268736 268736 0 0.0
.flash.text 1173030 1173026 -4 -0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1213951 1213955 4 0.0
(read/write) 553258 553258 0 0.0
.dram0.bss 85672 85672 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 299932 299932 0 0.0
.flash.text 1208567 1208571 4 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 590060 590060 0 0.0
(read/write) 87920 87920 0 0.0
.bss 71168 71168 0 0.0
.data 2128 2128 0 0.0
.text 589524 589524 0 0.0
light k32w0+release (read only) 589868 589868 0 0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589332 589332 0 0.0
lock k32w0+release (read only) 561220 561220 0 0.0
(read/write) 85372 85372 0 0.0
.bss 68688 68688 0 0.0
.data 2060 2060 0 0.0
.text 560684 560684 0 0.0
linux all-clusters-app debug (read only) 5649849 5649849 0 0.0
(read/write) 420104 420104 0 0.0
.bss 130400 130400 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 278296 278296 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339284 339284 0 0.0
.text 4929411 4929411 0 0.0
all-clusters-minimal-app debug (read only) 4915529 4915545 16 0.0
(read/write) 232352 232352 0 0.0
.bss 126336 126336 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 95024 95024 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272552 272552 0 0.0
.text 4412227 4412243 16 0.0
bridge-app debug (read only) 2772585 2772585 0 0.0
(read/write) 133136 133136 0 0.0
.bss 51768 51768 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214504 214504 0 0.0
.text 2380435 2380435 0 0.0
chip-tool debug (read only) 10332705 10332705 0 0.0
(read/write) 441784 441784 0 0.0
.bss 93688 93688 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 335760 335760 0 0.0
.dynamic 624 624 0 0.0
.got 5808 5808 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388785 388785 0 0.0
.text 9348435 9348435 0 0.0
chip-tool-ipv6only arm64 (read only) 10174140 10174140 0 0.0
(read/write) 504232 504232 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 373128 373128 0 0.0
.dynamic 512 512 0 0.0
.got 18192 18192 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316168 316168 0 0.0
.text 9093992 9093992 0 0.0
lighting-app debug+rpc+ui (read only) 5247433 5247449 16 0.0
(read/write) 222504 222504 0 0.0
.bss 118032 118032 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92376 92376 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336820 336820 0 0.0
.text 4668179 4668195 16 0.0
lock-app debug (read only) 4478993 4478993 0 0.0
(read/write) 203096 203096 0 0.0
.bss 113456 113456 0 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248456 248456 0 0.0
.text 4021043 4021043 0 0.0
ota-provider-app debug (read only) 4130433 4130433 0 0.0
(read/write) 192032 192032 0 0.0
.bss 113600 113600 0 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68480 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201128 201128 0 0.0
.text 3738867 3738867 0 0.0
ota-requestor-app debug (read only) 4223897 4223897 0 0.0
(read/write) 196344 196344 0 0.0
.bss 114656 114656 0 0.0
.data 4272 4272 0 0.0
.data.rel.ro 71480 71480 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204456 204456 0 0.0
.text 3824675 3824675 0 0.0
shell debug (read only) 3051025 3051025 0 0.0
(read/write) 153520 153520 0 0.0
.bss 60808 60808 0 0.0
.data 784 784 0 0.0
.data.rel.ro 85992 85992 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 214546 214546 0 0.0
.text 2661986 2661986 0 0.0
thermostat-no-ble arm64 (read only) 4358076 4358076 0 0.0
(read/write) 241896 241896 0 0.0
.bss 122200 122200 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100512 100512 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11824 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161236 161236 0 0.0
.text 3862776 3862776 0 0.0
tv-app debug (read only) 5321281 5321281 0 0.0
(read/write) 350824 350824 0 0.0
.bss 242016 242016 0 0.0
.data 5136 5136 0 0.0
.data.rel.ro 96256 96256 0 0.0
.dynamic 624 624 0 0.0
.got 5608 5608 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272920 272920 0 0.0
.text 4804307 4804307 0 0.0
tv-casting-app debug (read only) 8279993 8279993 0 0.0
(read/write) 211288 211288 0 0.0
.bss 54720 54720 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147224 147224 0 0.0
.dynamic 624 624 0 0.0
.got 5080 5080 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 338396 338396 0 0.0
.text 7541091 7541091 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219416 219416 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1241064 1241064 0 0.0
bss 155438 155438 0 0.0
rodata 143084 143084 0 0.0
text 863504 863500 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1359412 1359460 48 0.0
bss 140904 140904 0 0.0
rodata 136988 136988 0 0.0
text 790808 790856 48 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1160840 1161192 352 0.0
bss 154836 154836 0 0.0
rodata 113748 113796 48 0.0
text 813316 813608 292 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837184 837184 0 0.0
(read/write) 1793972 1793972 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193604 193604 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1425489 1425489 0 0.0
.debug_aranges 145304 145304 0 0.0
.debug_frame 483288 483288 0 0.0
.debug_info 33666561 33666859 298 0.0
.debug_line 4246396 4246426 30 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2305682 2305695 13 0.0
.debug_rnglists 144524 144524 0 0.0
.debug_str 4536983 4536983 0 0.0
.heap 837184 837184 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 852092 852092 0 0.0
.symtab 515712 515712 0 0.0
.text 1589428 1589428 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839944 839944 0 0.0
(read/write) 1678772 1678772 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190932 190932 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1290839 1290839 0 0.0
.debug_aranges 135040 135040 0 0.0
.debug_frame 454444 454444 0 0.0
.debug_info 29295206 29295504 298 0.0
.debug_line 3948210 3948240 30 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2121573 2121586 13 0.0
.debug_rnglists 134005 134005 0 0.0
.debug_str 3922660 3922660 0 0.0
.heap 839944 839944 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719967 719967 0 0.0
.symtab 467744 467744 0 0.0
.text 1476988 1476988 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846280 846280 0 0.0
(read/write) 1607084 1607084 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184708 184708 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1130664 1130664 0 0.0
.debug_aranges 125136 125136 0 0.0
.debug_frame 417488 417488 0 0.0
.debug_info 24348620 24348918 298 0.0
.debug_line 3512647 3512677 30 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1958356 1958369 13 0.0
.debug_rnglists 123702 123702 0 0.0
.debug_str 3729903 3729903 0 0.0
.heap 846280 846280 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 637532 637532 0 0.0
.symtab 431280 431280 0 0.0
.text 1411636 1411636 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1640356 1640356 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1121628 1121628 0 0.0
.debug_aranges 123944 123944 0 0.0
.debug_frame 413140 413140 0 0.0
.debug_info 24160351 24160351 0 0.0
.debug_line 3465698 3465694 -4 -0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1936875 1936875 0 0.0
.debug_rnglists 121798 121798 0 0.0
.debug_str 3693292 3693292 0 0.0
.heap 818880 818880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 611607 611607 0 0.0
.symtab 423328 423328 0 0.0
.text 1417508 1417508 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177940 1177940 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624784 624784 0 0.0
lock-app qpg6105+debug (read/write) 1134212 1134212 0 0.0
.bss 95728 95728 0 0.0
.data 748 748 0 0.0
.text 581052 581052 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096540 1096532 -8 -0.0
bss 108156 108156 0 0.0
text 752644 752640 -4 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 981952 981944 -8 -0.0
bss 105340 105340 0 0.0
text 673914 673910 -4 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 945184 945184 0 0.0
bss 109652 109652 0 0.0
text 647812 647814 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 875816 875816 0 0.0
bss 98680 98680 0 0.0
text 590202 590202 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 922152 922152 0 0.0
bss 99520 99520 0 0.0
text 631888 631888 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 984404 984404 0 0.0
bss 107504 107504 0 0.0
text 687486 687482 -4 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 995768 995768 0 0.0
bss 111752 111752 0 0.0
text 695002 694998 -4 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1054048 1054048 0 0.0
bss 109084 109084 0 0.0
text 732510 732506 -4 -0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086360 1086360 0 0.0
bss 120412 120412 0 0.0
text 752962 752958 -4 -0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 933872 933872 0 0.0
bss 99400 99400 0 0.0
text 621334 621334 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899744 899744 0 0.0
bss 100012 100012 0 0.0
text 613190 613190 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881248 881248 0 0.0
bss 98812 98812 0 0.0
text 595846 595846 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868388 868388 0 0.0
bss 98612 98612 0 0.0
text 586268 586268 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 745148 745148 0 0.0
bss 97476 97476 0 0.0
text 478888 478888 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879300 879300 0 0.0
bss 98792 98792 0 0.0
text 594562 594562 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 864536 864536 0 0.0
bss 98512 98512 0 0.0
text 581890 581890 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889820 889820 0 0.0
bss 98904 98904 0 0.0
text 601978 601978 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 885444 885444 0 0.0
bss 99228 99228 0 0.0
text 597306 597306 0 0.0

@mergify mergify bot merged commit 5867ac5 into project-chip:master Sep 7, 2023
50 checks passed
}
else
{
chip::app::NumericAttributeTraits<uint32_t>::SetNull(pairs[0].attributeValue);
Copy link
Contributor

Choose a reason for hiding this comment

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

But ApplyScene was not fixed, so this is broken.... How was this tested?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently, If null value (255) for a uint8_t is stored, this will cause the ApplyScene to fail as we are asking to move to a value outside of the boundaries.

This will return failure to the Apply Scene. Is the expected behavior here to silently fail instead of explicitly letting the user know the scene wasn't applied?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would think the expected behavior is to move to the values that were stored in the scene, including a null level if that's what was stored.

Copy link
Contributor Author

@lpbeliveau-silabs lpbeliveau-silabs Sep 8, 2023

Choose a reason for hiding this comment

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

I see, so we do not want that recall scene to end up in a failure.

How do we expect the level to behave to a null level? Value capped at maximum or lowest possible value, remaining at current level?

So basically, we either ignore the level command silently, ignore the whole scene returning an error (current implementation), or move to an unexpected level.

Say we explicitly add a scene with a null value, we could say this behaves as expected, but what if null is added from a save scene. This means the user just saved the current scene while the level value was null. This probably means the user was not expecting the level to have an impact when restoring the scene.

By that reasoning, should we decide that silently ignoring the move to null seems like the expected behavior?

Copy link
Contributor

Choose a reason for hiding this comment

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

How do we expect the level to behave to a null level?

Well, how was it behaving when the scene was saved?

The questions you are asking are spec questions, not implementation questions, no? If the spec does not define this, it needs to...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The MoveToLevel Command states that the command SHALL have the Level data field, constrained between 0 to 254. We do not respect that, therefore this should result in an error.

However the RecallScene states that the status of RecallScene at step 3 (applying EFS) SHALL be SUCCESS, so my initial interpretation seems wrong, silent failure seems to be the way here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Where does the spec say that recalling a scene involves a MoveToLevel command? Seems like if that's the intent the spec needs to say it...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

set the attributes and corresponding state of the cluster accordingly.
The "corresponding state of the cluster" bits.
Either way, setting the attributes to null without taking an action on the actual level would mean read level won't reflect the actual state of the cluster if no action is taken.

Now does it have to be the actual moveToLevel command, the spec doesn't precise it. So we could technically create a separate function that allows us to move the level to "null" but that is still not defined right?

Copy link
Contributor

Choose a reason for hiding this comment

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

@project-chip project-chip deleted a comment from LP727 Sep 11, 2023
abpoth pushed a commit to abpoth/connectedhomeip that referenced this pull request Sep 12, 2023
* Used NumericAttributesTraits for storage null values, removed un-necessary typing and added doc on on-off and level control handlers interactions

* Update src/app/clusters/on-off-server/on-off-server.cpp

Co-authored-by: Junior Martinez <[email protected]>

---------

Co-authored-by: Junior Martinez <[email protected]>
HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
* Used NumericAttributesTraits for storage null values, removed un-necessary typing and added doc on on-off and level control handlers interactions

* Update src/app/clusters/on-off-server/on-off-server.cpp

Co-authored-by: Junior Martinez <[email protected]>

---------

Co-authored-by: Junior Martinez <[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