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

Immediately perform colour transitions for ColorControl commands where TransitionTime is zero #26987

Merged
merged 9 commits into from
Jun 7, 2023

Conversation

harimau-qirex
Copy link
Contributor

Fixes #26929

Problem
When TransitionTime is zero, the ColorControl cluster treats it as one instead so commands that should apply instantly instead take 100 ms.

When followed by another command (e.g. MoveToColorTemperature followed by On), the introduced delay would cause the later command to be applied before the colour-changing command.

Change overview

  • Calculate of the number of steps from TransitionTime instead of modifying TransitionTime.
  • When TransitionTime is zero, perform the work after a 0ms delay.
  • When TransitionTime is zero, ensure the RemainingTime attribute is also set to zero.

Commands to the colour control server that had a transition time of zero were being deferred for 100 ms. Instead they should be handled immediately.
When the transition time is 0, the remaining time should also be 0.
@github-actions
Copy link

github-actions bot commented May 31, 2023

PR #26987: Size comparison from 77b1596 to 3db9546

Increases (29 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section 77b1596 3db9546 change % change
bl602 lighting-app bl602 (read/write) 1356274 1356530 256 0.0
.text 1036360 1036614 254 0.0
bl702 lighting-app bl702 (read/write) 1188063 1188319 256 0.0
.debug_frame 545636 545672 36 0.0
.debug_info 44558674 44559150 476 0.0
.debug_line 5559389 5560213 824 0.0
.debug_loc 3785221 3786170 949 0.0
.debug_str 4319908 4319939 31 0.0
.text 966574 966832 258 0.0
bl702+rpc (read/write) 1276867 1277123 256 0.0
.debug_frame 573648 573684 36 0.0
.debug_info 49503399 49503875 476 0.0
.debug_line 5975210 5976034 824 0.0
.debug_loc 3987899 3988848 949 0.0
.debug_str 4745416 4745447 31 0.0
.text 1039960 1040218 258 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 22708986 22708987 1 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 542019 542211 192 0.0
.app_xip_area 434645 434837 192 0.0
switch cyw930739m2evb_01 (read/write) 530931 530939 8 0.0
.app_xip_area 421917 421925 8 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 988164 988324 160 0.0
.text 806144 806304 160 0.0
BRD4187C (read/write) 1019000 1019184 184 0.0
.text 856604 856788 184 0.0
esp32 all-clusters-app c3devkit (read only) 1068920 1069154 234 0.0
.flash.text 1068920 1069154 234 0.0
m5stack (read only) 1114679 1114875 196 0.0
.flash.text 1109295 1109491 196 0.0
linux all-clusters-app debug (read only) 3239893 3240341 448 0.0
.text 2819301 2819749 448 0.0
all-clusters-minimal-app debug (read only) 3037573 3037621 48 0.0
.text 2628229 2628277 48 0.0
lighting-app debug+rpc+ui (read only) 3380185 3380617 432 0.0
.text 2897250 2897682 432 0.0
shell debug (read only) 2773497 2773929 432 0.0
.text 2408898 2409330 432 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188876 1189068 192 0.0
text 819884 820068 184 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1448672 1448864 192 0.0
text 790552 790736 184 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1131760 1131776 16 0.0
text 788880 788892 12 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1724820 1724980 160 0.0
.debug_abbrev 1292067 1292068 1 0.0
.debug_info 31667593 31668021 428 0.0
.debug_line 3996331 3996908 577 0.0
.debug_loclists 2281880 2282423 543 0.0
.debug_str 4319228 4319259 31 0.0
.text 1525356 1525516 160 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1662476 1662492 16 0.0
.debug_abbrev 1281801 1281802 1 0.0
.debug_info 31220273 31220701 428 0.0
.debug_line 4008589 4009166 577 0.0
.debug_loclists 2271760 2272303 543 0.0
.debug_str 4305547 4305578 31 0.0
.text 1464172 1464188 16 0.0
light cy8ckit_062s2_43012 (read/write) 1595036 1595196 160 0.0
.debug_abbrev 1120043 1120044 1 0.0
.debug_info 26095257 26095685 428 0.0
.debug_line 3587216 3587793 577 0.0
.debug_loclists 2112306 2112849 543 0.0
.debug_str 4119354 4119385 31 0.0
.text 1402868 1403028 160 0.0
qpg lighting-app qpg6105+debug (read/write) 1170548 1170732 184 0.0
.text 617644 617828 184 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1027684 1027812 128 0.0
text 703346 703474 128 0.0
lighting-app tlsr9518adk80d (read/write) 964084 964212 128 0.0
text 677790 677918 128 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 975464 975592 128 0.0
text 685310 685438 128 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1032508 1032636 128 0.0
text 722256 722384 128 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1064940 1065068 128 0.0
text 742824 742956 132 0.0
pump-controller-app tlsr9518adk80d text 580340 580342 2 0.0
thermostat tlsr9518adk80d text 614882 614884 2 0.0
window-covering tlsr9518adk80d text 609822 609824 2 0.0
Decreases (5 builds for psoc6, telink)
platform target config section 77b1596 3db9546 change % change
psoc6 lock cy8ckit_062s2_43012 .debug_info 25661303 25661302 -1 -0.0
telink contact-sensor-app tlsr9518adk80d text 584044 584042 -2 -0.0
lock-app tlsr9518adk80d text 613026 613022 -4 -0.0
ota-requestor-app tlsr9518adk80d text 605936 605934 -2 -0.0
pump-app tlsr9518adk80d text 590222 590218 -4 -0.0
Full report (58 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 77b1596 3db9546 change % change
bl602 lighting-app bl602 (read/write) 1356274 1356530 256 0.0
.bss 87886 87886 0 0.0
.data 9648 9648 0 0.0
.text 1036360 1036614 254 0.0
bl602+rpc (read/write) 1402550 1402550 0 0.0
.bss 95934 95934 0 0.0
.data 10040 10040 0 0.0
.text 1067714 1067714 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1188063 1188319 256 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 67585 67585 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3952 3952 0 0.0
.debug_abbrev 1549961 1549961 0 0.0
.debug_aranges 148360 148360 0 0.0
.debug_frame 545636 545672 36 0.0
.debug_info 44558674 44559150 476 0.0
.debug_line 5559389 5560213 824 0.0
.debug_loc 3785221 3786170 949 0.0
.debug_ranges 388640 388640 0 0.0
.debug_str 4319908 4319939 31 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107216 107216 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 582506 582506 0 0.0
.symtab 175584 175584 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
966574 966832 258 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1276867 1277123 256 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 75633 75633 0 0.0
.bss_psram 25056 25056 0 0.0
.comment 48 48 0 0.0
.data 4504 4504 0 0.0
.debug_abbrev 1708971 1708971 0 0.0
.debug_aranges 156648 156648 0 0.0
.debug_frame 573648 573684 36 0.0
.debug_info 49503399 49503875 476 0.0
.debug_line 5975210 5976034 824 0.0
.debug_loc 3987899 3988848 949 0.0
.debug_ranges 414000 414000 0 0.0
.debug_str 4745416 4745447 31 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121296 121296 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 643826 643826 0 0.0
.symtab 194080 194080 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1039960 1040218 258 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 606066 606066 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 949825 949825 0 0.0
.debug_aranges 117512 117512 0 0.0
.debug_frame 400904 400904 0 0.0
.debug_info 22708986 22708987 1 0.0
.debug_line 2853238 2853238 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1711740 1711740 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 106399 106399 0 0.0
.debug_str 3759427 3759427 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104418 104418 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 484683 484683 0 0.0
.symtab 287504 287504 0 0.0
.text 499528 499528 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 542019 542211 192 0.0
.app_xip_area 434645 434837 192 0.0
.bss 62352 62352 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 529411 529411 0 0.0
.app_xip_area 416901 416901 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566243 566243 0 0.0
.app_xip_area 459797 459797 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 530931 530939 8 0.0
.app_xip_area 421917 421925 8 0.0
.bss 63960 63960 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 988164 988324 160 0.0
.bss 179856 179856 0 0.0
.data 2144 2144 0 0.0
.text 806144 806304 160 0.0
BRD4187C (read/write) 1019000 1019184 184 0.0
.bss 159588 159588 0 0.0
.data 2788 2788 0 0.0
.text 856604 856788 184 0.0
lock-app BRD4161A+wf200 (read/write) 1069240 1069240 0 0.0
.bss 174160 174160 0 0.0
.data 2152 2152 0 0.0
.text 892908 892908 0 0.0
window-app BRD4187C (read/write) 1091008 1091008 0 0.0
.bss 142572 142572 0 0.0
.data 2680 2680 0 0.0
.text 945736 945736 0 0.0
esp32 all-clusters-app c3devkit (read only) 1068920 1069154 234 0.0
(read/write) 1583064 1583064 0 0.0
.dram0.bss 75536 75536 0 0.0
.dram0.data 13964 13964 0 0.0
.flash.rodata 214432 214432 0 0.0
.flash.text 1068920 1069154 234 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1114679 1114875 196 0.0
(read/write) 492318 492318 0 0.0
.dram0.bss 80536 80536 0 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 242328 242328 0 0.0
.flash.text 1109295 1109491 196 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 583612 583612 0 0.0
(read/write) 82704 82704 0 0.0
.bss 65888 65888 0 0.0
.data 2192 2192 0 0.0
.text 583076 583076 0 0.0
light k32w0+release (read only) 582572 582572 0 0.0
(read/write) 82356 82356 0 0.0
.bss 65552 65552 0 0.0
.data 2180 2180 0 0.0
.text 582036 582036 0 0.0
lock k32w0+release (read only) 556188 556188 0 0.0
(read/write) 80352 80352 0 0.0
.bss 63624 63624 0 0.0
.data 2104 2104 0 0.0
.text 555652 555652 0 0.0
linux all-clusters-app debug (read only) 3239893 3240341 448 0.0
(read/write) 154904 154904 0 0.0
.bss 58592 58592 0 0.0
.data 2160 2160 0 0.0
.data.rel.ro 87632 87632 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 231304 231304 0 0.0
.text 2819301 2819749 448 0.0
all-clusters-minimal-app debug (read only) 3037573 3037621 48 0.0
(read/write) 145064 145064 0 0.0
.bss 57344 57344 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 224168 224168 0 0.0
.text 2628229 2628277 48 0.0
bridge-app debug (read only) 2518821 2518821 0 0.0
(read/write) 129672 129672 0 0.0
.bss 50232 50232 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 69616 69616 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 172808 172808 0 0.0
.text 2173717 2173717 0 0.0
chip-tool debug (read only) 15497257 15497257 0 0.0
(read/write) 705216 705216 0 0.0
.bss 26424 26424 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 668960 668960 0 0.0
.dynamic 608 608 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 683541 683541 0 0.0
.text 13177188 13177188 0 0.0
chip-tool-ipv6only arm64 (read only) 14827364 14827364 0 0.0
(read/write) 758088 758088 0 0.0
.bss 34408 34408 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 698752 698752 0 0.0
.dynamic 560 560 0 0.0
.got 16680 16680 0 0.0
.init 24 24 0 0.0
.init_array 224 224 0 0.0
.rodata 620008 620008 0 0.0
.text 12413636 12413636 0 0.0
dynamic-bridge-app-ipv6only debug (read only) 2567837 2567837 0 0.0
(read/write) 126832 126832 0 0.0
.bss 47544 47544 0 0.0
.data 2704 2704 0 0.0
.data.rel.ro 70344 70344 0 0.0
.dynamic 624 624 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 175752 175752 0 0.0
.text 2214773 2214773 0 0.0
lighting-app debug+rpc+ui (read only) 3380185 3380617 432 0.0
(read/write) 135728 135728 0 0.0
.bss 49344 49344 0 0.0
.data 2704 2704 0 0.0
.data.rel.ro 76824 76824 0 0.0
.dynamic 656 656 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 286356 286356 0 0.0
.text 2897250 2897682 432 0.0
lock-app debug (read only) 2661261 2661261 0 0.0
(read/write) 123616 123616 0 0.0
.bss 45952 45952 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 69656 69656 0 0.0
.dynamic 608 608 0 0.0
.got 4648 4648 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 206056 206056 0 0.0
.text 2282533 2282533 0 0.0
ota-provider-app debug (read only) 2210101 2210101 0 0.0
(read/write) 103664 103664 0 0.0
.bss 44528 44528 0 0.0
.data 2112 2112 0 0.0
.data.rel.ro 51936 51936 0 0.0
.dynamic 608 608 0 0.0
.got 3800 3800 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 153960 153960 0 0.0
.text 1914645 1914645 0 0.0
ota-requestor-app debug (read only) 2377661 2377661 0 0.0
(read/write) 111424 111424 0 0.0
.bss 46960 46960 0 0.0
.data 2512 2512 0 0.0
.data.rel.ro 56792 56792 0 0.0
.dynamic 608 608 0 0.0
.got 3784 3784 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 157992 157992 0 0.0
.text 2069301 2069301 0 0.0
shell debug (read only) 2773497 2773929 432 0.0
(read/write) 143224 143224 0 0.0
.bss 57512 57512 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 78632 78632 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 199410 199410 0 0.0
.text 2408898 2409330 432 0.0
thermostat-no-ble arm64 (read only) 2606252 2606252 0 0.0
(read/write) 142824 142824 0 0.0
.bss 52344 52344 0 0.0
.data 1736 1736 0 0.0
.data.rel.ro 79128 79128 0 0.0
.dynamic 560 560 0 0.0
.got 5520 5520 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 129560 129560 0 0.0
.text 2211556 2211556 0 0.0
tv-app debug (read only) 3315081 3315081 0 0.0
(read/write) 261504 261504 0 0.0
.bss 171232 171232 0 0.0
.data 4080 4080 0 0.0
.data.rel.ro 79480 79480 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 222296 222296 0 0.0
.text 2896626 2896626 0 0.0
tv-casting-app debug (read only) 9078665 9078665 0 0.0
(read/write) 218440 218440 0 0.0
.bss 52064 52064 0 0.0
.data 1744 1744 0 0.0
.data.rel.ro 158072 158072 0 0.0
.dynamic 608 608 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 992 992 0 0.0
.rodata 327564 327564 0 0.0
.text 8324882 8324882 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2495712 2495712 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1458396 1458396 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1188876 1189068 192 0.0
bss 153967 153967 0 0.0
rodata 134332 134332 0 0.0
text 819884 820068 184 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1448672 1448864 192 0.0
bss 133707 133707 0 0.0
rodata 230336 230336 0 0.0
text 790552 790736 184 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1131760 1131776 16 0.0
bss 152775 152775 0 0.0
rodata 109440 109440 0 0.0
text 788880 788892 12 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842264 842264 0 0.0
(read/write) 1724820 1724980 160 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188516 188516 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 2560 2560 0 0.0
.debug_abbrev 1292067 1292068 1 0.0
.debug_aranges 146704 146704 0 0.0
.debug_frame 490768 490768 0 0.0
.debug_info 31667593 31668021 428 0.0
.debug_line 3996331 3996908 577 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2281880 2282423 543 0.0
.debug_rnglists 142425 142425 0 0.0
.debug_str 4319228 4319259 31 0.0
.heap 842264 842264 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 745879 745879 0 0.0
.symtab 475904 475904 0 0.0
.text 1525356 1525516 160 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843424 843424 0 0.0
(read/write) 1662476 1662492 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187356 187356 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 2560 2560 0 0.0
.debug_abbrev 1281801 1281802 1 0.0
.debug_aranges 145840 145840 0 0.0
.debug_frame 492948 492948 0 0.0
.debug_info 31220273 31220701 428 0.0
.debug_line 4008589 4009166 577 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2271760 2272303 543 0.0
.debug_rnglists 141262 141262 0 0.0
.debug_str 4305547 4305578 31 0.0
.heap 843424 843424 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 699129 699129 0 0.0
.symtab 459136 459136 0 0.0
.text 1464172 1464188 16 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849560 849560 0 0.0
(read/write) 1595036 1595196 160 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181388 181388 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 2392 2392 0 0.0
.debug_abbrev 1120043 1120044 1 0.0
.debug_aranges 136232 136232 0 0.0
.debug_frame 457036 457036 0 0.0
.debug_info 26095257 26095685 428 0.0
.debug_line 3587216 3587793 577 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2112306 2112849 543 0.0
.debug_rnglists 131284 131284 0 0.0
.debug_str 4119354 4119385 31 0.0
.heap 849560 849560 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 622577 622577 0 0.0
.symtab 424640 424640 0 0.0
.text 1402868 1403028 160 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1628212 1628212 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 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 2392 2392 0 0.0
.debug_abbrev 1102418 1102418 0 0.0
.debug_aranges 134704 134704 0 0.0
.debug_frame 451596 451596 0 0.0
.debug_info 25661303 25661302 -1 -0.0
.debug_line 3522646 3522646 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2085726 2085726 0 0.0
.debug_rnglists 129330 129330 0 0.0
.debug_str 4081438 4081438 0 0.0
.heap 821960 821960 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 596602 596602 0 0.0
.symtab 416768 416768 0 0.0
.text 1408444 1408444 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1170548 1170732 184 0.0
.bss 99928 99928 0 0.0
.data 852 852 0 0.0
.text 617644 617828 184 0.0
lock-app qpg6105+debug (read/write) 1139932 1139932 0 0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 587032 587032 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1027684 1027812 128 0.0
bss 97372 97372 0 0.0
text 703346 703474 128 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 959748 959748 0 0.0
bss 96064 96064 0 0.0
text 663824 663824 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 928192 928192 0 0.0
bss 100300 100300 0 0.0
text 641404 641404 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 859340 859340 0 0.0
bss 89960 89960 0 0.0
text 584044 584042 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 875656 875656 0 0.0
bss 90128 90128 0 0.0
text 598664 598664 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 964084 964212 128 0.0
bss 98484 98484 0 0.0
text 677790 677918 128 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 975464 975592 128 0.0
bss 102732 102732 0 0.0
text 685310 685438 128 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1032508 1032636 128 0.0
bss 100048 100048 0 0.0
text 722256 722384 128 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1064940 1065068 128 0.0
bss 111132 111132 0 0.0
text 742824 742956 132 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 914764 914764 0 0.0
bss 90624 90624 0 0.0
text 613026 613022 -4 -0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881948 881948 0 0.0
bss 91228 91228 0 0.0
text 605936 605934 -2 -0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865356 865356 0 0.0
bss 90092 90092 0 0.0
text 590222 590218 -4 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 852152 852152 0 0.0
bss 89892 89892 0 0.0
text 580340 580342 2 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 848276 848276 0 0.0
bss 89800 89800 0 0.0
text 575998 575998 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 893688 893688 0 0.0
bss 90336 90336 0 0.0
text 614882 614884 2 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889084 889084 0 0.0
bss 90628 90628 0 0.0
text 609822 609824 2 0.0

@jmartinez-silabs
Copy link
Member

jmartinez-silabs commented May 31, 2023

I believe we can streamline those changes in a cleaner way.

I am not convinced we need the new vars in each function

I agreed with removing the
If(transitionTime==0)
{
transitionTime++;
}

But setHsvRemainingtime() and similar should remain the focal point where to update the RemainingTime attribute

Lastly the only change left would be
scheduleTimerCallbackMs(configureHSVEventControl(endpoint), (transitionTime ? UPDATE_TIME_MS: 0 ));

…the number of steps remaining.

This ensures the calculation for time remaining is correct when both a hue and a saturation command are running simultaneously.
Calculate the amount of time to delay the first step where it's used instead of at the start of the functions.
Calculate the value where it's used instead.
@github-actions github-actions bot added the app label Jun 1, 2023
@harimau-qirex
Copy link
Contributor Author

I've added the time remaining in the transition states so it's distinct from the number of steps. This keeps SetHSVRemainingTime as the place where the RemainingTime attribute is set for hue and saturation commands.

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

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

Thank you, that makes a lot more sense now!

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

PR #26987: Size comparison from 9828293 to c34cf1f

Increases (30 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, nrfconnect, psoc6, qpg, telink)
platform target config section 9828293 c34cf1f change % change
bl602 lighting-app bl602 (read/write) 1356538 1356810 272 0.0
.bss 87886 87902 16 0.0
.text 1036612 1036868 256 0.0
bl602+rpc (read/write) 1403270 1403798 528 0.0
.bss 95934 95950 16 0.0
.text 1067982 1068494 512 0.0
bl702 lighting-app bl702 (read/write) 1188479 1188751 272 0.0
.bss 67585 67601 16 0.0
.debug_info 44822770 4482315 384 0.0
.debug_line 5581919 5583094 1175 0.0
.debug_loc 3809990 3810356 366 0.0
.debug_ranges 393416 393632 216 0.1
.debug_str 4346491 4346551 60 0.0
.text 967032 967284 252 0.0
bl702+rpc (read/write) 1278019 1278275 256 0.0
.bss 75633 75649 16 0.0
.debug_info 49767367 49767752 385 0.0
.debug_line 5997852 5999027 1175 0.0
.debug_loc 4013109 4013475 366 0.0
.debug_ranges 418896 419112 216 0.1
.debug_str 4771967 4772027 60 0.0
.text 1040690 1040944 254 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 22941475 22941477 2 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 541571 541715 144 0.0
.app_xip_area 434197 434325 128 0.0
.bss 62352 62368 16 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 986676 986916 240 0.0
.bss 179856 179872 16 0.0
.text 804656 804880 224 0.0
BRD4187C (read/write) 1019096 1019232 136 0.0
.bss 159588 159604 16 0.0
.text 856700 856820 120 0.0
esp32 all-clusters-app c3devkit (read only) 1068794 1069020 226 0.0
(read/write) 1584656 1584672 16 0.0
.dram0.bss 75736 75752 16 0.0
.flash.text 1068794 1069020 226 0.0
m5stack (read only) 1115259 1115367 108 0.0
(read/write) 493902 493918 16 0.0
.dram0.bss 80736 80752 16 0.0
.flash.text 1109875 1109983 108 0.0
k32w light k32w0+release (read only) 583020 583036 16 0.0
.text 582484 582500 16 0.0
linux all-clusters-app debug (read only) 3243773 3244509 736 0.0
(read/write) 157528 157592 64 0.0
.bss 59360 59424 64 0.1
.text 2823157 2823893 736 0.0
all-clusters-minimal-app debug (read only) 3037533 3037661 128 0.0
(read/write) 145576 145640 64 0.0
.bss 57920 57984 64 0.1
.text 2628421 2628549 128 0.0
lighting-app debug+rpc+ui (read only) 3381225 3381961 736 0.0
(read/write) 136112 136144 32 0.0
.bss 49760 49792 32 0.1
.text 2898338 2899074 736 0.0
shell debug (read only) 2777465 2778201 736 0.0
(read/write) 145912 145976 64 0.0
.bss 58280 58344 64 0.1
.text 2412738 2413474 736 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1190272 1190400 128 0.0
bss 154227 154239 12 0.0
text 819700 819828 128 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1450204 1450332 128 0.0
bss 133967 133979 12 0.0
text 790452 790576 124 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1131492 1131524 32 0.0
bss 152867 152879 12 0.0
text 788460 788484 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1725116 1725364 248 0.0
.bss 188780 188788 8 0.0
.debug_info 32004930 32005358 428 0.0
.debug_line 4019101 4019827 726 0.0
.debug_loclists 2294713 2294993 280 0.0
.debug_rnglists 143326 143446 120 0.1
.debug_str 4347156 4347216 60 0.0
.text 1525388 1525628 240 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1661060 1661124 64 0.0
.bss 187452 187468 16 0.0
.debug_info 31548636 31549062 426 0.0
.debug_line 4030680 4031406 726 0.0
.debug_loclists 2284246 2284526 280 0.0
.debug_rnglists 142091 142211 120 0.1
.debug_str 4332159 4332219 60 0.0
.text 1462660 1462708 48 0.0
light cy8ckit_062s2_43012 (read/write) 1593524 1593764 240 0.0
.bss 181388 181404 16 0.0
.debug_info 26344496 26344925 429 0.0
.debug_line 3601950 3602676 726 0.0
.debug_loclists 2125114 2125394 280 0.0
.debug_rnglists 132083 132203 120 0.1
.debug_str 4146245 4146305 60 0.0
.text 1401356 1401580 224 0.0
qpg lighting-app qpg6105+debug (read/write) 1170004 1170132 128 0.0
.bss 99928 99944 16 0.0
.text 617100 617228 128 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1029532 1029672 140 0.0
bss 97640 97652 12 0.0
text 703462 703594 132 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 959920 959948 28 0.0
bss 96164 96176 12 0.0
text 663860 663876 16 0.0
light-switch-app tlsr9518adk80d text 598802 598804 2 0.0
lighting-app tlsr9518adk80d (read/write) 963908 964048 140 0.0
bss 98500 98512 12 0.0
text 677602 677730 128 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 975280 975420 140 0.0
bss 102748 102760 12 0.0
text 685120 685252 132 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1033000 1033140 140 0.0
bss 100064 100076 12 0.0
text 722288 722416 128 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1064756 1064896 140 0.0
bss 111140 111152 12 0.0
text 742638 742770 132 0.0
window-covering tlsr9518adk80d text 609946 609948 2 0.0
Decreases (10 builds for bl702, k32w, psoc6, qpg, telink)
platform target config section 9828293 c34cf1f change % change
bl702 lighting-app bl702 .debug_frame 549344 549312 -32 -0.0
bl702+rpc .debug_frame 577356 577324 -32 -0.0
k32w lock k32w0+release (read only) 555756 555740 -16 -0.0
.text 555220 555204 -16 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842000 841992 -8 -0.0
.debug_frame 495236 495232 -4 -0.0
.heap 842000 841992 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843328 843312 -16 -0.0
.debug_frame 497224 497220 -4 -0.0
.heap 843328 843312 -16 -0.0
light cy8ckit_062s2_43012 (read only) 849560 849544 -16 -0.0
.debug_frame 461132 461128 -4 -0.0
.heap 849560 849544 -16 -0.0
lock cy8ckit_062s2_43012 .debug_info 25901033 25901032 -1 -0.0
qpg lock-app qpg6105+debug (read/write) 1139436 1139428 -8 -0.0
.text 586536 586528 -8 -0.0
telink bridge-app tlsr9518adk80d text 641200 641198 -2 -0.0
pump-app tlsr9518adk80d text 590054 590050 -4 -0.0
Full report (58 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 9828293 c34cf1f change % change
bl602 lighting-app bl602 (read/write) 1356538 1356810 272 0.0
.bss 87886 87902 16 0.0
.data 9648 9648 0 0.0
.text 1036612 1036868 256 0.0
bl602+rpc (read/write) 1403270 1403798 528 0.0
.bss 95934 95950 16 0.0
.data 10040 10040 0 0.0
.text 1067982 1068494 512 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1188479 1188751 272 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 67585 67601 16 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3952 3952 0 0.0
.debug_abbrev 1547345 1547345 0 0.0
.debug_aranges 149288 149288 0 0.0
.debug_frame 549344 549312 -32 -0.0
.debug_info 44822770 4482315 384 0.0
.debug_line 5581919 5583094 1175 0.0
.debug_loc 3809990 3810356 366 0.0
.debug_ranges 393416 393632 216 0.1
.debug_str 4346491 4346551 60 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107168 107168 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 581789 581789 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
967032 967284 252 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1278019 1278275 256 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 75633 75649 16 0.0
.bss_psram 25056 25056 0 0.0
.comment 48 48 0 0.0
.data 4504 4504 0 0.0
.debug_abbrev 1706372 1706372 0 0.0
.debug_aranges 157576 157576 0 0.0
.debug_frame 577356 577324 -32 -0.0
.debug_info 49767367 49767752 385 0.0
.debug_line 5997852 5999027 1175 0.0
.debug_loc 4013109 4013475 366 0.0
.debug_ranges 418896 419112 216 0.1
.debug_str 4771967 4772027 60 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121712 121712 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 643292 643292 0 0.0
.symtab 193920 193920 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1040690 1040944 254 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 606658 606658 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 947666 947666 0 0.0
.debug_aranges 118616 118616 0 0.0
.debug_frame 405032 405032 0 0.0
.debug_info 22941475 22941477 2 0.0
.debug_line 2872375 2872375 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1724734 1724734 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 107271 107271 0 0.0
.debug_str 3787290 3787290 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104458 104458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 484123 484123 0 0.0
.symtab 287280 287280 0 0.0
.text 500080 500080 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 541571 541715 144 0.0
.app_xip_area 434197 434325 128 0.0
.bss 62352 62368 16 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 528979 528979 0 0.0
.app_xip_area 416469 416469 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566235 566235 0 0.0
.app_xip_area 459789 459789 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 530635 530635 0 0.0
.app_xip_area 421621 421621 0 0.0
.bss 63960 63960 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 986676 986916 240 0.0
.bss 179856 179872 16 0.0
.data 2144 2144 0 0.0
.text 804656 804880 224 0.0
BRD4187C (read/write) 1019096 1019232 136 0.0
.bss 159588 159604 16 0.0
.data 2788 2788 0 0.0
.text 856700 856820 120 0.0
lock-app BRD4161A+wf200 (read/write) 1068840 1068840 0 0.0
.bss 174160 174160 0 0.0
.data 2152 2152 0 0.0
.text 892508 892508 0 0.0
window-app BRD4187C (read/write) 1089216 1089216 0 0.0
.bss 142572 142572 0 0.0
.data 2680 2680 0 0.0
.text 943944 943944 0 0.0
esp32 all-clusters-app c3devkit (read only) 1068794 1069020 226 0.0
(read/write) 1584656 1584672 16 0.0
.dram0.bss 75736 75752 16 0.0
.dram0.data 13964 13964 0 0.0
.flash.rodata 215816 215816 0 0.0
.flash.text 1068794 1069020 226 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1115259 1115367 108 0.0
(read/write) 493902 493918 16 0.0
.dram0.bss 80736 80752 16 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 243712 243712 0 0.0
.flash.text 1109875 1109983 108 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 584332 584332 0 0.0
(read/write) 90108 90108 0 0.0
.bss 66104 66104 0 0.0
.data 2168 2168 0 0.0
.text 583796 583796 0 0.0
light k32w0+release (read only) 583020 583036 16 0.0
(read/write) 89756 89756 0 0.0
.bss 65768 65768 0 0.0
.data 2156 2156 0 0.0
.text 582484 582500 16 0.0
lock k32w0+release (read only) 555756 555740 -16 -0.0
(read/write) 87556 87556 0 0.0
.bss 63632 63632 0 0.0
.data 2100 2100 0 0.0
.text 555220 555204 -16 -0.0
linux all-clusters-app debug (read only) 3243773 3244509 736 0.0
(read/write) 157528 157592 64 0.0
.bss 59360 59424 64 0.1
.data 2160 2160 0 0.0
.data.rel.ro 89496 89496 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 231112 231112 0 0.0
.text 2823157 2823893 736 0.0
all-clusters-minimal-app debug (read only) 3037533 3037661 128 0.0
(read/write) 145576 145640 64 0.0
.bss 57920 57984 64 0.1
.data 2128 2128 0 0.0
.data.rel.ro 79128 79128 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 224008 224008 0 0.0
.text 2628421 2628549 128 0.0
bridge-app debug (read only) 2518365 2518365 0 0.0
(read/write) 129608 129608 0 0.0
.bss 50232 50232 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 69560 69560 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 172680 172680 0 0.0
.text 2173461 2173461 0 0.0
chip-tool debug (read only) 15572409 15572409 0 0.0
(read/write) 709088 709088 0 0.0
.bss 26424 26424 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 672832 672832 0 0.0
.dynamic 608 608 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 686549 686549 0 0.0
.text 13240548 13240548 0 0.0
chip-tool-ipv6only arm64 (read only) 14892084 14892084 0 0.0
(read/write) 762184 762184 0 0.0
.bss 34408 34408 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 702776 702776 0 0.0
.dynamic 560 560 0 0.0
.got 16752 16752 0 0.0
.init 24 24 0 0.0
.init_array 224 224 0 0.0
.rodata 622616 622616 0 0.0
.text 12466612 12466612 0 0.0
dynamic-bridge-app-ipv6only debug (read only) 2567317 2567317 0 0.0
(read/write) 126768 126768 0 0.0
.bss 47544 47544 0 0.0
.data 2704 2704 0 0.0
.data.rel.ro 70288 70288 0 0.0
.dynamic 624 624 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 175560 175560 0 0.0
.text 2214517 2214517 0 0.0
lighting-app debug+rpc+ui (read only) 3381225 3381961 736 0.0
(read/write) 136112 136144 32 0.0
.bss 49760 49792 32 0.1
.data 2704 2704 0 0.0
.data.rel.ro 76768 76768 0 0.0
.dynamic 656 656 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 286196 286196 0 0.0
.text 2898338 2899074 736 0.0
lock-app debug (read only) 2610997 2610997 0 0.0
(read/write) 117008 117008 0 0.0
.bss 45344 45344 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 63720 63720 0 0.0
.dynamic 608 608 0 0.0
.got 4592 4592 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 200104 200104 0 0.0
.text 2246837 2246837 0 0.0
ota-provider-app debug (read only) 2208109 2208109 0 0.0
(read/write) 103600 103600 0 0.0
.bss 44528 44528 0 0.0
.data 2112 2112 0 0.0
.data.rel.ro 51880 51880 0 0.0
.dynamic 608 608 0 0.0
.got 3800 3800 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 153800 153800 0 0.0
.text 1912885 1912885 0 0.0
ota-requestor-app debug (read only) 2375973 2375973 0 0.0
(read/write) 111392 111392 0 0.0
.bss 46960 46960 0 0.0
.data 2512 2512 0 0.0
.data.rel.ro 56736 56736 0 0.0
.dynamic 608 608 0 0.0
.got 3784 3784 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 157896 157896 0 0.0
.text 2067781 2067781 0 0.0
shell debug (read only) 2777465 2778201 736 0.0
(read/write) 145912 145976 64 0.0
.bss 58280 58344 64 0.1
.data 1232 1232 0 0.0
.data.rel.ro 80552 80552 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 199250 199250 0 0.0
.text 2412738 2413474 736 0.0
thermostat-no-ble arm64 (read only) 2605116 2605116 0 0.0
(read/write) 142760 142760 0 0.0
.bss 52344 52344 0 0.0
.data 1736 1736 0 0.0
.data.rel.ro 79072 79072 0 0.0
.dynamic 560 560 0 0.0
.got 5512 5512 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 129608 129608 0 0.0
.text 2210516 2210516 0 0.0
tv-app debug (read only) 3313169 3313169 0 0.0
(read/write) 261472 261472 0 0.0
.bss 171232 171232 0 0.0
.data 4080 4080 0 0.0
.data.rel.ro 79424 79424 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 222136 222136 0 0.0
.text 2894946 2894946 0 0.0
tv-casting-app debug (read only) 9137433 9137433 0 0.0
(read/write) 220008 220008 0 0.0
.bss 52064 52064 0 0.0
.data 1744 1744 0 0.0
.data.rel.ro 159648 159648 0 0.0
.dynamic 608 608 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 992 992 0 0.0
.rodata 329868 329868 0 0.0
.text 8377410 8377410 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2497608 2497608 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1460292 1460292 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1190272 1190400 128 0.0
bss 154227 154239 12 0.0
rodata 135648 135648 0 0.0
text 819700 819828 128 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1450204 1450332 128 0.0
bss 133967 133979 12 0.0
rodata 231708 231708 0 0.0
text 790452 790576 124 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1131492 1131524 32 0.0
bss 152867 152879 12 0.0
rodata 109460 109460 0 0.0
text 788460 788484 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842000 841992 -8 -0.0
(read/write) 1725116 1725364 248 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188780 188788 8 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 2560 2560 0 0.0
.debug_abbrev 1290586 1290586 0 0.0
.debug_aranges 147952 147952 0 0.0
.debug_frame 495236 495232 -4 -0.0
.debug_info 32004930 32005358 428 0.0
.debug_line 4019101 4019827 726 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2294713 2294993 280 0.0
.debug_rnglists 143326 143446 120 0.1
.debug_str 4347156 4347216 60 0.0
.heap 842000 841992 -8 -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 745952 745952 0 0.0
.symtab 476144 476144 0 0.0
.text 0 0 0 0.0
1525388 1525628 240 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843328 843312 -16 -0.0
(read/write) 1661060 1661124 64 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187452 187468 16 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 2560 2560 0 0.0
.debug_abbrev 1280264 1280264 0 0.0
.debug_aranges 146992 146992 0 0.0
.debug_frame 497224 497220 -4 -0.0
.debug_info 31548636 31549062 426 0.0
.debug_line 4030680 4031406 726 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2284246 2284526 280 0.0
.debug_rnglists 142091 142211 120 0.1
.debug_str 4332159 4332219 60 0.0
.heap 843328 843312 -16 -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 698518 698518 0 0.0
.symtab 459008 459008 0 0.0
.text 1462660 1462708 48 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849560 849544 -16 -0.0
(read/write) 1593524 1593764 240 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181388 181404 16 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 2392 2392 0 0.0
.debug_abbrev 1117847 1117847 0 0.0
.debug_aranges 137328 137328 0 0.0
.debug_frame 461132 461128 -4 -0.0
.debug_info 26344496 26344925 429 0.0
.debug_line 3601950 3602676 726 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2125114 2125394 280 0.0
.debug_rnglists 132083 132203 120 0.1
.debug_str 4146245 4146305 60 0.0
.heap 849560 849544 -16 -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 621977 621977 0 0.0
.symtab 424336 424336 0 0.0
.text 1401356 1401580 224 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1626796 1626796 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 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 2392 2392 0 0.0
.debug_abbrev 1100160 1100160 0 0.0
.debug_aranges 135808 135808 0 0.0
.debug_frame 455724 455724 0 0.0
.debug_info 25901033 25901032 -1 -0.0
.debug_line 3541724 3541724 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2098440 2098440 0 0.0
.debug_rnglists 130123 130123 0 0.0
.debug_str 4108321 4108321 0 0.0
.heap 821960 821960 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 596024 596024 0 0.0
.symtab 416496 416496 0 0.0
.text 1407028 1407028 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1170004 1170132 128 0.0
.bss 99928 99944 16 0.0
.data 852 852 0 0.0
.text 617100 617228 128 0.0
lock-app qpg6105+debug (read/write) 1139436 1139428 -8 -0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 586536 586528 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1029532 1029672 140 0.0
bss 97640 97652 12 0.0
text 703462 703594 132 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 959920 959948 28 0.0
bss 96164 96176 12 0.0
text 663860 663876 16 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 927984 927984 0 0.0
bss 100308 100308 0 0.0
text 641200 641198 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 859500 859500 0 0.0
bss 89968 89968 0 0.0
text 584178 584178 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 875816 875816 0 0.0
bss 90136 90136 0 0.0
text 598802 598804 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 963908 964048 140 0.0
bss 98500 98512 12 0.0
text 677602 677730 128 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 975280 975420 140 0.0
bss 102748 102760 12 0.0
text 685120 685252 132 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1033000 1033140 140 0.0
bss 100064 100076 12 0.0
text 722288 722416 128 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1064756 1064896 140 0.0
bss 111140 111152 12 0.0
text 742638 742770 132 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 914724 914724 0 0.0
bss 90632 90632 0 0.0
text 612958 612958 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882092 882092 0 0.0
bss 91244 91244 0 0.0
text 606020 606020 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865212 865212 0 0.0
bss 90100 90100 0 0.0
text 590054 590050 -4 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 852272 852272 0 0.0
bss 89900 89900 0 0.0
text 580436 580436 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 848428 848428 0 0.0
bss 89808 89808 0 0.0
text 576068 576068 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 893848 893848 0 0.0
bss 90344 90344 0 0.0
text 615024 615024 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889228 889228 0 0.0
bss 90636 90636 0 0.0
text 609946 609948 2 0.0

@cecille
Copy link
Contributor

cecille commented Jun 6, 2023

General Q: Level control and on/off have a similar mechanism - do they also suffer from this problem?

@harimau-qirex
Copy link
Contributor Author

General Q: Level control and on/off have a similar mechanism - do they also suffer from this problem?

Level control's implementation will correctly schedule the work to occur immediately when the transition time is zero.

I'm not familiar with the on/off cluster, but I think the OnWithTimedOff command might have a similar issue? In some cases it schedules a timer for 100 ms after the command is received, and I believe it's possible it could do so while OnTime is set to zero.

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

PR #26987: Size comparison from a73c8e9 to f1a3ed7

Increases (30 builds for bl602, bl702, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section a73c8e9 f1a3ed7 change % change
bl602 lighting-app bl602 (read/write) 1356234 1356762 528 0.0
.bss 87886 87902 16 0.0
.text 1036306 1036820 514 0.0
bl602+rpc (read/write) 1403222 1403750 528 0.0
.bss 95934 95950 16 0.0
.text 1067934 1068444 510 0.0
bl702 lighting-app bl702 (read/write) 1188431 1188703 272 0.0
.bss 67585 67601 16 0.0
.debug_info 44811046 44811432 386 0.0
.debug_line 5580360 5581535 1175 0.0
.debug_loc 3808300 3808666 366 0.0
.debug_ranges 393296 393512 216 0.1
.debug_str 4342294 4342354 60 0.0
.text 966978 967234 256 0.0
bl702+rpc (read/write) 1277955 1278227 272 0.0
.bss 75633 75649 16 0.0
.debug_info 49755569 49755956 387 0.0
.debug_line 5996293 5997468 1175 0.0
.debug_loc 4011360 4011726 366 0.0
.debug_ranges 418776 418992 216 0.1
.debug_str 4767770 4767830 60 0.0
.text 1040638 1040896 258 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 541627 541771 144 0.0
.app_xip_area 434253 434381 128 0.0
.bss 62352 62368 16 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 986764 987020 256 0.0
.bss 179856 179872 16 0.0
.text 804744 804984 240 0.0
BRD4187C (read/write) 1019144 1019288 144 0.0
.bss 159588 159604 16 0.0
.text 856748 856876 128 0.0
esp32 all-clusters-app c3devkit (read only) 1072286 1072506 220 0.0
(read/write) 1584688 1584704 16 0.0
.dram0.bss 75736 75752 16 0.0
.flash.text 1072286 1072506 220 0.0
m5stack (read only) 1118527 1118631 104 0.0
(read/write) 493918 493938 20 0.0
.dram0.bss 80736 80752 16 0.0
.flash.rodata 243728 243732 4 0.0
.flash.text 1113143 1113247 104 0.0
linux all-clusters-app debug (read only) 3243909 3244645 736 0.0
(read/write) 157528 157592 64 0.0
.bss 59360 59424 64 0.1
.text 2823269 2824005 736 0.0
all-clusters-minimal-app debug (read only) 3037669 3037813 144 0.0
(read/write) 145576 145640 64 0.0
.bss 57920 57984 64 0.1
.text 2628533 2628677 144 0.0
lighting-app debug+rpc+ui (read only) 3381361 3382113 752 0.0
(read/write) 136144 136176 32 0.0
.bss 49760 49792 32 0.1
.text 2898450 2899202 752 0.0
shell debug (read only) 2777601 2778337 736 0.0
(read/write) 145944 146008 64 0.0
.bss 58280 58344 64 0.1
.text 2412850 2413586 736 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1190324 1190452 128 0.0
bss 154227 154239 12 0.0
text 819756 819884 128 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1450256 1450384 128 0.0
bss 133967 133979 12 0.0
text 790508 790632 124 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1131560 1131576 16 0.0
bss 152867 152879 12 0.0
text 788516 788540 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1725188 1725420 232 0.0
.bss 188780 188788 8 0.0
.debug_info 31993411 31993840 429 0.0
.debug_line 4018305 4019031 726 0.0
.debug_loclists 2294099 2294379 280 0.0
.debug_rnglists 143316 143436 120 0.1
.debug_str 4344057 4344117 60 0.0
.text 1525460 1525684 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1661124 1661188 64 0.0
.bss 187452 187468 16 0.0
.debug_info 31537330 31537759 429 0.0
.debug_line 4029884 4030610 726 0.0
.debug_loclists 2283632 2283912 280 0.0
.debug_rnglists 142081 142201 120 0.1
.debug_str 4329060 4329120 60 0.0
.text 1462724 1462772 48 0.0
light cy8ckit_062s2_43012 (read/write) 1593660 1593916 256 0.0
.bss 181388 181404 16 0.0
.debug_info 26335151 26335580 429 0.0
.debug_line 3601154 3601880 726 0.0
.debug_loclists 2124500 2124780 280 0.0
.debug_rnglists 132073 132193 120 0.1
.debug_str 4143146 4143206 60 0.0
.text 1401492 1401732 240 0.0
qpg lighting-app qpg6105+debug (read/write) 1170020 1170148 128 0.0
.bss 99928 99944 16 0.0
.text 617116 617244 128 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1029584 1029724 140 0.0
bss 97640 97652 12 0.0
text 703514 703644 130 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 959972 960000 28 0.0
bss 96164 96176 12 0.0
text 663910 663926 16 0.0
bridge-app tlsr9518adk80d text 641014 641016 2 0.0
contact-sensor-app tlsr9518adk80d text 584148 584150 2 0.0
lighting-app tlsr9518adk80d (read/write) 963968 964108 140 0.0
bss 98500 98512 12 0.0
text 677658 677786 128 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 975340 975480 140 0.0
bss 102748 102760 12 0.0
text 685178 685304 126 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1033060 1033200 140 0.0
bss 100064 100076 12 0.0
text 722342 722472 130 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1064816 1064956 140 0.0
bss 111140 111152 12 0.0
text 742698 742826 128 0.0
ota-requestor-app tlsr9518adk80d text 605992 605994 2 0.0
pump-controller-app tlsr9518adk80d text 580252 580254 2 0.0
Decreases (10 builds for bl702, cc32xx, psoc6, qpg, telink)
platform target config section a73c8e9 f1a3ed7 change % change
bl702 lighting-app bl702 .debug_frame 549136 549104 -32 -0.0
bl702+rpc .debug_frame 577148 577116 -32 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 22928978 22928977 -1 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842000 841992 -8 -0.0
.debug_frame 495092 495088 -4 -0.0
.heap 842000 841992 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843328 843312 -16 -0.0
.debug_frame 497080 497076 -4 -0.0
.heap 843328 843312 -16 -0.0
light cy8ckit_062s2_43012 (read only) 849560 849544 -16 -0.0
.debug_frame 460988 460984 -4 -0.0
.heap 849560 849544 -16 -0.0
lock cy8ckit_062s2_43012 .debug_info 25888137 25888136 -1 -0.0
qpg lock-app qpg6105+debug (read/write) 1139420 1139412 -8 -0.0
.text 586520 586512 -8 -0.0
telink light-switch-app tlsr9518adk80d text 598776 598774 -2 -0.0
window-covering tlsr9518adk80d text 610004 610002 -2 -0.0
Full report (57 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section a73c8e9 f1a3ed7 change % change
bl602 lighting-app bl602 (read/write) 1356234 1356762 528 0.0
.bss 87886 87902 16 0.0
.data 9648 9648 0 0.0
.text 1036306 1036820 514 0.0
bl602+rpc (read/write) 1403222 1403750 528 0.0
.bss 95934 95950 16 0.0
.data 10040 10040 0 0.0
.text 1067934 1068444 510 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1188431 1188703 272 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 67585 67601 16 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3952 3952 0 0.0
.debug_abbrev 1547321 1547321 0 0.0
.debug_aranges 149240 149240 0 0.0
.debug_frame 549136 549104 -32 -0.0
.debug_info 44811046 44811432 386 0.0
.debug_line 5580360 5581535 1175 0.0
.debug_loc 3808300 3808666 366 0.0
.debug_ranges 393296 393512 216 0.1
.debug_str 4342294 4342354 60 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107168 107168 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 581789 581789 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
966978 967234 256 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1277955 1278227 272 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 75633 75649 16 0.0
.bss_psram 25056 25056 0 0.0
.comment 48 48 0 0.0
.data 4504 4504 0 0.0
.debug_abbrev 1706372 1706372 0 0.0
.debug_aranges 157528 157528 0 0.0
.debug_frame 577148 577116 -32 -0.0
.debug_info 49755569 49755956 387 0.0
.debug_line 5996293 5997468 1175 0.0
.debug_loc 4011360 4011726 366 0.0
.debug_ranges 418776 418992 216 0.1
.debug_str 4767770 4767830 60 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121712 121712 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 643292 643292 0 0.0
.symtab 193920 193920 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1040638 1040896 258 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 606498 606498 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 947670 947670 0 0.0
.debug_aranges 118568 118568 0 0.0
.debug_frame 404836 404836 0 0.0
.debug_info 22928978 22928977 -1 -0.0
.debug_line 2871200 2871200 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1723750 1723750 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 107235 107235 0 0.0
.debug_str 3782958 3782958 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104458 104458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 483956 483956 0 0.0
.symtab 287216 287216 0 0.0
.text 499920 499920 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 541627 541771 144 0.0
.app_xip_area 434253 434381 128 0.0
.bss 62352 62368 16 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 528835 528835 0 0.0
.app_xip_area 416325 416325 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566219 566219 0 0.0
.app_xip_area 459773 459773 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 530611 530611 0 0.0
.app_xip_area 421597 421597 0 0.0
.bss 63960 63960 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 986764 987020 256 0.0
.bss 179856 179872 16 0.0
.data 2144 2144 0 0.0
.text 804744 804984 240 0.0
BRD4187C (read/write) 1019144 1019288 144 0.0
.bss 159588 159604 16 0.0
.data 2788 2788 0 0.0
.text 856748 856876 128 0.0
lock-app BRD4161A+wf200 (read/write) 1068696 1068696 0 0.0
.bss 174160 174160 0 0.0
.data 2152 2152 0 0.0
.text 892364 892364 0 0.0
window-app BRD4187C (read/write) 1089312 1089312 0 0.0
.bss 142572 142572 0 0.0
.data 2680 2680 0 0.0
.text 944040 944040 0 0.0
esp32 all-clusters-app c3devkit (read only) 1072286 1072506 220 0.0
(read/write) 1584688 1584704 16 0.0
.dram0.bss 75736 75752 16 0.0
.dram0.data 13964 13964 0 0.0
.flash.rodata 215848 215848 0 0.0
.flash.text 1072286 1072506 220 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1118527 1118631 104 0.0
(read/write) 493918 493938 20 0.0
.dram0.bss 80736 80752 16 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 243728 243732 4 0.0
.flash.text 1113143 1113247 104 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 584316 584316 0 0.0
(read/write) 90108 90108 0 0.0
.bss 66104 66104 0 0.0
.data 2168 2168 0 0.0
.text 583780 583780 0 0.0
light k32w0+release (read only) 583020 583020 0 0.0
(read/write) 89756 89756 0 0.0
.bss 65768 65768 0 0.0
.data 2156 2156 0 0.0
.text 582484 582484 0 0.0
lock k32w0+release (read only) 555612 555612 0 0.0
(read/write) 87556 87556 0 0.0
.bss 63632 63632 0 0.0
.data 2100 2100 0 0.0
.text 555076 555076 0 0.0
linux all-clusters-app debug (read only) 3243909 3244645 736 0.0
(read/write) 157528 157592 64 0.0
.bss 59360 59424 64 0.1
.data 2160 2160 0 0.0
.data.rel.ro 89512 89512 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 231112 231112 0 0.0
.text 2823269 2824005 736 0.0
all-clusters-minimal-app debug (read only) 3037669 3037813 144 0.0
(read/write) 145576 145640 64 0.0
.bss 57920 57984 64 0.1
.data 2128 2128 0 0.0
.data.rel.ro 79144 79144 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 224008 224008 0 0.0
.text 2628533 2628677 144 0.0
bridge-app debug (read only) 2517501 2517501 0 0.0
(read/write) 129608 129608 0 0.0
.bss 50232 50232 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 69560 69560 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 172680 172680 0 0.0
.text 2172597 2172597 0 0.0
chip-tool debug (read only) 15567561 15567561 0 0.0
(read/write) 708928 708928 0 0.0
.bss 26424 26424 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 672672 672672 0 0.0
.dynamic 608 608 0 0.0
.got 5376 5376 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 686389 686389 0 0.0
.text 13236164 13236164 0 0.0
chip-tool-ipv6only arm64 (read only) 14888500 14888500 0 0.0
(read/write) 761992 761992 0 0.0
.bss 34408 34408 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 702592 702592 0 0.0
.dynamic 560 560 0 0.0
.got 16744 16744 0 0.0
.init 24 24 0 0.0
.init_array 224 224 0 0.0
.rodata 622472 622472 0 0.0
.text 12463572 12463572 0 0.0
lighting-app debug+rpc+ui (read only) 3381361 3382113 752 0.0
(read/write) 136144 136176 32 0.0
.bss 49760 49792 32 0.1
.data 2704 2704 0 0.0
.data.rel.ro 76800 76800 0 0.0
.dynamic 656 656 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 286196 286196 0 0.0
.text 2898450 2899202 752 0.0
lock-app debug (read only) 2610133 2610133 0 0.0
(read/write) 117008 117008 0 0.0
.bss 45344 45344 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 63720 63720 0 0.0
.dynamic 608 608 0 0.0
.got 4592 4592 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 200104 200104 0 0.0
.text 2245973 2245973 0 0.0
ota-provider-app debug (read only) 2207245 2207245 0 0.0
(read/write) 103600 103600 0 0.0
.bss 44528 44528 0 0.0
.data 2112 2112 0 0.0
.data.rel.ro 51880 51880 0 0.0
.dynamic 608 608 0 0.0
.got 3800 3800 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 153800 153800 0 0.0
.text 1912021 1912021 0 0.0
ota-requestor-app debug (read only) 2375765 2375765 0 0.0
(read/write) 111392 111392 0 0.0
.bss 46960 46960 0 0.0
.data 2512 2512 0 0.0
.data.rel.ro 56736 56736 0 0.0
.dynamic 608 608 0 0.0
.got 3784 3784 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 157896 157896 0 0.0
.text 2067573 2067573 0 0.0
shell debug (read only) 2777601 2778337 736 0.0
(read/write) 145944 146008 64 0.0
.bss 58280 58344 64 0.1
.data 1232 1232 0 0.0
.data.rel.ro 80584 80584 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 199250 199250 0 0.0
.text 2412850 2413586 736 0.0
thermostat-no-ble arm64 (read only) 2605228 2605228 0 0.0
(read/write) 142776 142776 0 0.0
.bss 52344 52344 0 0.0
.data 1736 1736 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 560 560 0 0.0
.got 5512 5512 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 129608 129608 0 0.0
.text 2210612 2210612 0 0.0
tv-app debug (read only) 3312305 3312305 0 0.0
(read/write) 261472 261472 0 0.0
.bss 171232 171232 0 0.0
.data 4080 4080 0 0.0
.data.rel.ro 79424 79424 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 222136 222136 0 0.0
.text 2894082 2894082 0 0.0
tv-casting-app debug (read only) 9131425 9131425 0 0.0
(read/write) 219816 219816 0 0.0
.bss 52064 52064 0 0.0
.data 1744 1744 0 0.0
.data.rel.ro 159456 159456 0 0.0
.dynamic 608 608 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 992 992 0 0.0
.rodata 329676 329676 0 0.0
.text 8372050 8372050 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2497416 2497416 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1460100 1460100 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1190324 1190452 128 0.0
bss 154227 154239 12 0.0
rodata 135652 135652 0 0.0
text 819756 819884 128 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1450256 1450384 128 0.0
bss 133967 133979 12 0.0
rodata 231712 231712 0 0.0
text 790508 790632 124 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1131560 1131576 16 0.0
bss 152867 152879 12 0.0
rodata 109464 109464 0 0.0
text 788516 788540 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842000 841992 -8 -0.0
(read/write) 1725188 1725420 232 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188780 188788 8 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 2560 2560 0 0.0
.debug_abbrev 1290626 1290626 0 0.0
.debug_aranges 147920 147920 0 0.0
.debug_frame 495092 495088 -4 -0.0
.debug_info 31993411 31993840 429 0.0
.debug_line 4018305 4019031 726 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2294099 2294379 280 0.0
.debug_rnglists 143316 143436 120 0.1
.debug_str 4344057 4344117 60 0.0
.heap 842000 841992 -8 -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 746061 746061 0 0.0
.symtab 476224 476224 0 0.0
.text 1525460 1525684 224 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843328 843312 -16 -0.0
(read/write) 1661124 1661188 64 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187452 187468 16 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 2560 2560 0 0.0
.debug_abbrev 1280304 1280304 0 0.0
.debug_aranges 146960 146960 0 0.0
.debug_frame 497080 497076 -4 -0.0
.debug_info 31537330 31537759 429 0.0
.debug_line 4029884 4030610 726 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2283632 2283912 280 0.0
.debug_rnglists 142081 142201 120 0.1
.debug_str 4329060 4329120 60 0.0
.heap 843328 843312 -16 -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 698627 698627 0 0.0
.symtab 459088 459088 0 0.0
.text 1462724 1462772 48 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849560 849544 -16 -0.0
(read/write) 1593660 1593916 256 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181388 181404 16 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 2392 2392 0 0.0
.debug_abbrev 1117887 1117887 0 0.0
.debug_aranges 137296 137296 0 0.0
.debug_frame 460988 460984 -4 -0.0
.debug_info 26335151 26335580 429 0.0
.debug_line 3601154 3601880 726 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2124500 2124780 280 0.0
.debug_rnglists 132073 132193 120 0.1
.debug_str 4143146 4143206 60 0.0
.heap 849560 849544 -16 -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 622211 622211 0 0.0
.symtab 424512 424512 0 0.0
.text 1401492 1401732 240 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1626636 1626636 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 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 2392 2392 0 0.0
.debug_abbrev 1100164 1100164 0 0.0
.debug_aranges 135760 135760 0 0.0
.debug_frame 455528 455528 0 0.0
.debug_info 25888137 25888136 -1 -0.0
.debug_line 3540551 3540551 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2097484 2097484 0 0.0
.debug_rnglists 130087 130087 0 0.0
.debug_str 4103989 4103989 0 0.0
.heap 821960 821960 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 595857 595857 0 0.0
.symtab 416432 416432 0 0.0
.text 1406868 1406868 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1170020 1170148 128 0.0
.bss 99928 99944 16 0.0
.data 852 852 0 0.0
.text 617116 617244 128 0.0
lock-app qpg6105+debug (read/write) 1139420 1139412 -8 -0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 586520 586512 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1029584 1029724 140 0.0
bss 97640 97652 12 0.0
text 703514 703644 130 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 959972 960000 28 0.0
bss 96164 96176 12 0.0
text 663910 663926 16 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 927800 927800 0 0.0
bss 100308 100308 0 0.0
text 641014 641016 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 859468 859468 0 0.0
bss 89968 89968 0 0.0
text 584148 584150 2 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 875792 875792 0 0.0
bss 90136 90136 0 0.0
text 598776 598774 -2 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 963968 964108 140 0.0
bss 98500 98512 12 0.0
text 677658 677786 128 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 975340 975480 140 0.0
bss 102748 102760 12 0.0
text 685178 685304 126 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1033060 1033200 140 0.0
bss 100064 100076 12 0.0
text 722342 722472 130 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1064816 1064956 140 0.0
bss 111140 111152 12 0.0
text 742698 742826 128 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 914540 914540 0 0.0
bss 90632 90632 0 0.0
text 612778 612778 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882068 882068 0 0.0
bss 91244 91244 0 0.0
text 605992 605994 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865028 865028 0 0.0
bss 90100 90100 0 0.0
text 589868 589868 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 852088 852088 0 0.0
bss 89900 89900 0 0.0
text 580252 580254 2 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 848244 848244 0 0.0
bss 89808 89808 0 0.0
text 575884 575884 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 893908 893908 0 0.0
bss 90344 90344 0 0.0
text 615080 615080 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889288 889288 0 0.0
bss 90636 90636 0 0.0
text 610004 610002 -2 -0.0

@harimau-qirex harimau-qirex merged commit f6c1a89 into project-chip:master Jun 7, 2023
@harimau-qirex harimau-qirex deleted the issue-26929 branch June 7, 2023 15:01
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.

Lighting: Commands are applied in the reverse order as received.
5 participants