Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NetworkCommissioning Cluster issues #32156

Merged
merged 6 commits into from
Feb 16, 2024

Conversation

tcarmelveilleux
Copy link
Contributor

@tcarmelveilleux tcarmelveilleux commented Feb 15, 2024

This PR addresses several NetworkCommissioning issues which are all inter-related:

  • Attributes are never reported on change.
  • ScanNetworks used to modify attributes that should not be modified
  • LastNetworkStatus was not set where required
  • Thread network scanning did not report error on SSID field provided
  • All ConstraintErrors actually were reported as InvalidCommand
  • Lacking results of directed scanning did not report NetworkNotFound

All fixed issues:

Testing done:

  • TC-CNET-4.4 pass on ESP32 and Linux
  • Commissioning works on ESP32 and Linux
  • Manual testing of all attribute changes validated with chip-repl
    • Automated test beyond TC-CNET-4.4 coming as a follow-up

This PR addresses several NetworkCommissioning issues
which are all inter-related:

- Attributes are never reported on change.
- ScanNetworks used to modify attributes that should not be modified
- LastNetworkStatus was not set where required
- Thread network scanning did not report error on SSID field provided
- All ConstraintErrors actually were reported as InvalidCommand
- Lacking results of directed scanning did not report NetworkNotFound

- Fixes project-chip#32024
- Fixes project-chip#32022
- Fixes project-chip#32021
- Fixes project-chip#32019
- Fixes project-chip#32018
- Fixes project-chip#31870

Testing done:
- TC-CNET-4.4 pass on ESP32 and Linux
- Commissioning works on ESP32 and Linux
- Manual testing of all attribute changes validated with chip-repl
  - Automated test beyond TC-CNET-4.4 coming as a follow-up
@tcarmelveilleux tcarmelveilleux added commissioning Involves placing devices on the network, initial setup NetworkCommissioning issues labels Feb 15, 2024
@tcarmelveilleux tcarmelveilleux added this to the 1.3 SVE milestone Feb 15, 2024
Copy link

github-actions bot commented Feb 15, 2024

PR #32156: Size comparison from a0f446b to 5775cd6

Increases (1 build for stm32)
platform target config section a0f446b 5775cd6 change % change
stm32 light STM32WB5MM-DK (read/write) 597565 598037 472 0.1
.bss 128296 128312 16 0.0
.text 380112 380568 456 0.1
Decreases (1 build for cc32xx)
platform target config section a0f446b 5775cd6 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
.text 492596 492588 -8 -0.0
Full report (3 builds for cc32xx, stm32)
platform target config section a0f446b 5775cd6 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86522 86522 0 0.0
.text 492596 492588 -8 -0.0
lock CC3235SF_LAUNCHXL (read only) 626530 626530 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106978 106978 0 0.0
.text 517428 517428 0 0.0
stm32 light STM32WB5MM-DK (read/write) 597565 598037 472 0.1
.bss 128296 128312 16 0.0
.data 668 668 0 0.0
.rodata 78764 78764 0 0.0
.text 380112 380568 456 0.1

Copy link

github-actions bot commented Feb 15, 2024

PR #32156: Size comparison from a0f446b to b0ba574

Increases (23 builds for bl602, bl702, bl702l, cc13x4_26x4, k32w, mbed, qpg, stm32)
platform target config section a0f446b b0ba574 change % change
bl602 lighting-app bl602 (read/write) 1431706 1432234 528 0.0
.bss 85312 85328 16 0.0
.text 1098804 1099316 512 0.0
bl602+mfd (read/write) 1446106 1446890 784 0.1
.bss 85472 85488 16 0.0
.text 1114114 1114882 768 0.1
bl602+rpc (read/write) 1479082 1479866 784 0.1
.bss 93344 93360 16 0.0
.text 1130186 1130954 768 0.1
bl702 lighting-app bl702 (read/write) 1196643 1197171 528 0.0
.text 968204 968716 512 0.1
bl702+mfd (read/write) 1207443 1208227 784 0.1
.text 979958 980726 768 0.1
bl702+rpc (read/write) 1288095 1288879 784 0.1
.text 1042892 1043660 768 0.1
bl706-wifi (read/write) 1248098 1248882 784 0.1
.text 990322 991090 768 0.1
bl702l lighting-app bl702l (read/write) 1165952 1166736 784 0.1
.text 961050 961818 768 0.1
bl702l+mfd (read/write) 1177356 1177884 528 0.0
.text 973372 973884 512 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780868 781348 480 0.1
(read/write) 168928 168944 16 0.0
.bss 90932 90948 16 0.0
.text 690284 690764 480 0.1
lock-ftd LP_EM_CC1354P10_6 (read only) 797660 798140 480 0.1
(read/write) 179168 179184 16 0.0
.bss 101172 101188 16 0.0
.text 712788 713268 480 0.1
lock-mtd LP_EM_CC1354P10_6 (read only) 786300 786796 496 0.1
(read/write) 173616 173632 16 0.0
.bss 95620 95636 16 0.0
.text 674668 675164 496 0.1
pump-app LP_EM_CC1354P10_6 (read only) 738492 738972 480 0.1
(read/write) 167896 167912 16 0.0
.bss 89664 89680 16 0.0
.text 652196 652676 480 0.1
pump-controller-app LP_EM_CC1354P10_6 (read only) 724132 724612 480 0.1
(read/write) 168104 168120 16 0.0
.bss 89888 89904 16 0.0
.text 641988 642468 480 0.1
k32w contact k32w0+release (read only) 609552 610048 496 0.1
(read/write) 79972 79988 16 0.0
.bss 67764 67780 16 0.0
.text 609016 609512 496 0.1
k32w1+release (read/write) 744588 745108 520 0.1
.bss 79116 79132 16 0.0
.text 623288 623792 504 0.1
light k32w0+release (read only) 601192 601688 496 0.1
(read/write) 79428 79444 16 0.0
.bss 67244 67260 16 0.0
.text 600656 601152 496 0.1
k32w1+release (read/write) 786568 787072 504 0.1
.bss 80508 80524 16 0.0
.text 664672 665160 488 0.1
lock k32w0+release (read only) 580376 580856 480 0.1
(read/write) 77416 77432 16 0.0
.bss 65284 65300 16 0.0
.text 579840 580320 480 0.1
mbed lock-app-release cy8cproto_062_4343w (read/write) 2530248 2530760 512 0.0
.bss 220432 220448 16 0.0
.text 1492932 1493444 512 0.0
qpg lighting-app qpg6105+debug (read/write) 1125064 1125544 480 0.0
.bss 102384 102400 16 0.0
.text 637448 637928 480 0.1
lock-app qpg6105+debug (read/write) 1085056 1085552 496 0.0
.bss 97136 97152 16 0.0
.text 597436 597932 496 0.1
stm32 light STM32WB5MM-DK (read/write) 597565 598061 496 0.1
.bss 128296 128312 16 0.0
.text 380112 380592 480 0.1
Decreases (1 build for cc32xx)
platform target config section a0f446b b0ba574 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
.text 492596 492588 -8 -0.0
Full report (26 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, k32w, mbed, qpg, stm32)
platform target config section a0f446b b0ba574 change % change
bl602 lighting-app bl602 (read/write) 1431706 1432234 528 0.0
.bss 85312 85328 16 0.0
.data 9496 9496 0 0.0
.rodata 157444 157444 0 0.0
.text 1098804 1099316 512 0.0
bl602+mfd (read/write) 1446106 1446890 784 0.1
.bss 85472 85488 16 0.0
.data 9472 9472 0 0.0
.rodata 156404 156404 0 0.0
.text 1114114 1114882 768 0.1
bl602+rpc (read/write) 1479082 1479866 784 0.1
.bss 93344 93360 16 0.0
.data 9872 9872 0 0.0
.rodata 165020 165020 0 0.0
.text 1130186 1130954 768 0.1
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1196643 1197171 528 0.0
.bss 11121 11121 0 0.0
.data 3680 3680 0 0.0
.rodata 106788 106788 0 0.0
.text 968204 968716 512 0.1
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1207443 1208227 784 0.1
.bss 11297 11297 0 0.0
.data 3656 3656 0 0.0
.rodata 105728 105728 0 0.0
.text 979958 980726 768 0.1
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1288095 1288879 784 0.1
.bss 19589 19589 0 0.0
.data 4224 4224 0 0.0
.rodata 122160 122160 0 0.0
.text 1042892 1043660 768 0.1
bl706-eth (read/write) 1014869 1014869 0 0.0
.bss 23680 23680 0 0.0
.data 3248 3248 0 0.0
.rodata 100136 100136 0 0.0
.text 759850 759850 0 0.0
bl706-wifi (read/write) 1248098 1248882 784 0.1
.bss 10565 10565 0 0.0
.data 3688 3688 0 0.0
.rodata 121132 121132 0 0.0
.text 990322 991090 768 0.1
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1165952 1166736 784 0.1
.bss 16316 16316 0 0.0
.data 5040 5040 0 0.0
.rodata 100792 100792 0 0.0
.text 961050 961818 768 0.1
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1177356 1177884 528 0.0
.bss 16492 16492 0 0.0
.data 5024 5024 0 0.0
.rodata 99732 99732 0 0.0
.text 973372 973884 512 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780868 781348 480 0.1
(read/write) 168928 168944 16 0.0
.bss 90932 90948 16 0.0
.data 3560 3560 0 0.0
.rodata 90316 90316 0 0.0
.text 690284 690764 480 0.1
lock-ftd LP_EM_CC1354P10_6 (read only) 797660 798140 480 0.1
(read/write) 179168 179184 16 0.0
.bss 101172 101188 16 0.0
.data 3560 3560 0 0.0
.rodata 84604 84604 0 0.0
.text 712788 713268 480 0.1
lock-mtd LP_EM_CC1354P10_6 (read only) 786300 786796 496 0.1
(read/write) 173616 173632 16 0.0
.bss 95620 95636 16 0.0
.data 3560 3560 0 0.0
.rodata 111364 111364 0 0.0
.text 674668 675164 496 0.1
pump-app LP_EM_CC1354P10_6 (read only) 738492 738972 480 0.1
(read/write) 167896 167912 16 0.0
.bss 89664 89680 16 0.0
.data 3552 3552 0 0.0
.rodata 86028 86028 0 0.0
.text 652196 652676 480 0.1
pump-controller-app LP_EM_CC1354P10_6 (read only) 724132 724612 480 0.1
(read/write) 168104 168120 16 0.0
.bss 89888 89904 16 0.0
.data 3544 3544 0 0.0
.rodata 81876 81876 0 0.0
.text 641988 642468 480 0.1
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86522 86522 0 0.0
.text 492596 492588 -8 -0.0
lock CC3235SF_LAUNCHXL (read only) 626530 626530 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106978 106978 0 0.0
.text 517428 517428 0 0.0
k32w contact k32w0+release (read only) 609552 610048 496 0.1
(read/write) 79972 79988 16 0.0
.bss 67764 67780 16 0.0
.data 2224 2224 0 0.0
.text 609016 609512 496 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 744588 745108 520 0.1
.bss 79116 79132 16 0.0
.data 2816 2816 0 0.0
.text 623288 623792 504 0.1
light k32w0+release (read only) 601192 601688 496 0.1
(read/write) 79428 79444 16 0.0
.bss 67244 67260 16 0.0
.data 2200 2200 0 0.0
.text 600656 601152 496 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 786568 787072 504 0.1
.bss 80508 80524 16 0.0
.data 2032 2032 0 0.0
.text 664672 665160 488 0.1
lock k32w0+release (read only) 580376 580856 480 0.1
(read/write) 77416 77432 16 0.0
.bss 65284 65300 16 0.0
.data 2148 2148 0 0.0
.text 579840 580320 480 0.1
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2530248 2530760 512 0.0
.bss 220432 220448 16 0.0
.data 5200 5200 0 0.0
.text 1492932 1493444 512 0.0
qpg lighting-app qpg6105+debug (read/write) 1125064 1125544 480 0.0
.bss 102384 102400 16 0.0
.data 820 820 0 0.0
.text 637448 637928 480 0.1
lock-app qpg6105+debug (read/write) 1085056 1085552 496 0.0
.bss 97136 97152 16 0.0
.data 840 840 0 0.0
.text 597436 597932 496 0.1
stm32 light STM32WB5MM-DK (read/write) 597565 598061 496 0.1
.bss 128296 128312 16 0.0
.data 668 668 0 0.0
.rodata 78764 78764 0 0.0
.text 380112 380592 480 0.1

Copy link

github-actions bot commented Feb 15, 2024

PR #32156: Size comparison from a0f446b to 42308b6

Increases above 0.2%:

platform target config section a0f446b 42308b6 change % change
linux thermostat-no-ble arm64 (read/write) 246224 247456 1232 0.5
Increases (32 builds for bl602, bl702, bl702l, cc13x4_26x4, cyw30739, k32w, linux, mbed, psoc6, qpg, stm32)
platform target config section a0f446b 42308b6 change % change
bl602 lighting-app bl602 (read/write) 1431706 1432234 528 0.0
.bss 85312 85328 16 0.0
.text 1098804 1099316 512 0.0
bl602+mfd (read/write) 1446106 1446634 528 0.0
.bss 85472 85488 16 0.0
.text 1114114 1114626 512 0.0
bl602+rpc (read/write) 1479082 1479866 784 0.1
.bss 93344 93360 16 0.0
.text 1130186 1130954 768 0.1
bl702 lighting-app bl702 (read/write) 1196643 1197171 528 0.0
.text 968204 968716 512 0.1
bl702+mfd (read/write) 1207443 1208227 784 0.1
.text 979958 980726 768 0.1
bl702+rpc (read/write) 1288095 1288879 784 0.1
.text 1042892 1043660 768 0.1
bl706-wifi (read/write) 1248098 1248882 784 0.1
.text 990322 991090 768 0.1
bl702l lighting-app bl702l (read/write) 1165952 1166736 784 0.1
.text 961050 961818 768 0.1
bl702l+mfd (read/write) 1177356 1177884 528 0.0
.text 973372 973884 512 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780868 781332 464 0.1
(read/write) 168928 168944 16 0.0
.bss 90932 90948 16 0.0
.text 690284 690748 464 0.1
lock-ftd LP_EM_CC1354P10_6 (read only) 797660 798124 464 0.1
(read/write) 179168 179184 16 0.0
.bss 101172 101188 16 0.0
.text 712788 713252 464 0.1
lock-mtd LP_EM_CC1354P10_6 (read only) 786300 786764 464 0.1
(read/write) 173616 173632 16 0.0
.bss 95620 95636 16 0.0
.text 674668 675132 464 0.1
pump-app LP_EM_CC1354P10_6 (read only) 738492 738956 464 0.1
(read/write) 167896 167912 16 0.0
.bss 89664 89680 16 0.0
.text 652196 652660 464 0.1
pump-controller-app LP_EM_CC1354P10_6 (read only) 724132 724596 464 0.1
(read/write) 168104 168120 16 0.0
.bss 89888 89904 16 0.0
.text 641988 642452 464 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 565139 565627 488 0.1
.app_xip_area 454989 455461 472 0.1
.bss 64984 65000 16 0.0
lock cyw930739m2evb_01 (read/write) 548115 548603 488 0.1
.app_xip_area 433205 433677 472 0.1
.bss 69736 69752 16 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566659 567155 496 0.1
.app_xip_area 458013 458493 480 0.1
.bss 63520 63536 16 0.0
switch cyw930739m2evb_01 (read/write) 561371 561867 496 0.1
.app_xip_area 449445 449925 480 0.1
.bss 66720 66736 16 0.0
k32w contact k32w0+release (read only) 609552 610016 464 0.1
(read/write) 79972 79988 16 0.0
.bss 67764 67780 16 0.0
.text 609016 609480 464 0.1
k32w1+release (read/write) 744588 745084 496 0.1
.bss 79116 79132 16 0.0
.text 623288 623768 480 0.1
light k32w0+release (read only) 601192 601656 464 0.1
(read/write) 79428 79444 16 0.0
.bss 67244 67260 16 0.0
.text 600656 601120 464 0.1
k32w1+release (read/write) 786568 787048 480 0.1
.bss 80508 80524 16 0.0
.text 664672 665136 464 0.1
lock k32w0+release (read only) 580376 580840 464 0.1
(read/write) 77416 77432 16 0.0
.bss 65284 65300 16 0.0
.text 579840 580304 464 0.1
linux thermostat-no-ble arm64 (read only) 4482776 4485656 2880 0.1
(read/write) 246224 247456 1232 0.5
.bss 122344 122360 16 0.0
.text 3977756 3980636 2880 0.1
mbed lock-app-release cy8cproto_062_4343w (read/write) 2530248 2530696 448 0.0
.bss 220432 220448 16 0.0
.text 1492932 1493380 448 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1791412 1791988 576 0.0
.bss 196156 196172 16 0.0
.text 1584212 1584772 560 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1715580 1716172 592 0.0
.bss 193076 193092 16 0.0
.text 1511484 1512060 576 0.0
light cy8ckit_062s2_43012 (read/write) 1634916 1635492 576 0.0
.bss 186540 186556 16 0.0
.text 1437548 1438108 560 0.0
lock cy8ckit_062s2_43012 (read/write) 1664908 1665500 592 0.0
.bss 213700 213716 16 0.0
.text 1440380 1440956 576 0.0
qpg lighting-app qpg6105+debug (read/write) 1125064 1125528 464 0.0
.bss 102384 102400 16 0.0
.text 637448 637912 464 0.1
lock-app qpg6105+debug (read/write) 1085056 1085520 464 0.0
.bss 97136 97152 16 0.0
.text 597436 597900 464 0.1
stm32 light STM32WB5MM-DK (read/write) 597565 598037 472 0.1
.bss 128296 128312 16 0.0
.text 380112 380568 456 0.1
Decreases (5 builds for cc32xx, psoc6)
platform target config section a0f446b 42308b6 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
.text 492596 492588 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 834528 834512 -16 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837632 837616 -16 -0.0
light cy8ckit_062s2_43012 (read only) 844360 844344 -16 -0.0
lock cy8ckit_062s2_43012 (read only) 817200 817184 -16 -0.0
Full report (36 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, k32w, linux, mbed, psoc6, qpg, stm32)
platform target config section a0f446b 42308b6 change % change
bl602 lighting-app bl602 (read/write) 1431706 1432234 528 0.0
.bss 85312 85328 16 0.0
.data 9496 9496 0 0.0
.rodata 157444 157444 0 0.0
.text 1098804 1099316 512 0.0
bl602+mfd (read/write) 1446106 1446634 528 0.0
.bss 85472 85488 16 0.0
.data 9472 9472 0 0.0
.rodata 156404 156404 0 0.0
.text 1114114 1114626 512 0.0
bl602+rpc (read/write) 1479082 1479866 784 0.1
.bss 93344 93360 16 0.0
.data 9872 9872 0 0.0
.rodata 165020 165020 0 0.0
.text 1130186 1130954 768 0.1
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1196643 1197171 528 0.0
.bss 11121 11121 0 0.0
.data 3680 3680 0 0.0
.rodata 106788 106788 0 0.0
.text 968204 968716 512 0.1
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1207443 1208227 784 0.1
.bss 11297 11297 0 0.0
.data 3656 3656 0 0.0
.rodata 105728 105728 0 0.0
.text 979958 980726 768 0.1
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1288095 1288879 784 0.1
.bss 19589 19589 0 0.0
.data 4224 4224 0 0.0
.rodata 122160 122160 0 0.0
.text 1042892 1043660 768 0.1
bl706-eth (read/write) 1014869 1014869 0 0.0
.bss 23680 23680 0 0.0
.data 3248 3248 0 0.0
.rodata 100136 100136 0 0.0
.text 759850 759850 0 0.0
bl706-wifi (read/write) 1248098 1248882 784 0.1
.bss 10565 10565 0 0.0
.data 3688 3688 0 0.0
.rodata 121132 121132 0 0.0
.text 990322 991090 768 0.1
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1165952 1166736 784 0.1
.bss 16316 16316 0 0.0
.data 5040 5040 0 0.0
.rodata 100792 100792 0 0.0
.text 961050 961818 768 0.1
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1177356 1177884 528 0.0
.bss 16492 16492 0 0.0
.data 5024 5024 0 0.0
.rodata 99732 99732 0 0.0
.text 973372 973884 512 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780868 781332 464 0.1
(read/write) 168928 168944 16 0.0
.bss 90932 90948 16 0.0
.data 3560 3560 0 0.0
.rodata 90316 90316 0 0.0
.text 690284 690748 464 0.1
lock-ftd LP_EM_CC1354P10_6 (read only) 797660 798124 464 0.1
(read/write) 179168 179184 16 0.0
.bss 101172 101188 16 0.0
.data 3560 3560 0 0.0
.rodata 84604 84604 0 0.0
.text 712788 713252 464 0.1
lock-mtd LP_EM_CC1354P10_6 (read only) 786300 786764 464 0.1
(read/write) 173616 173632 16 0.0
.bss 95620 95636 16 0.0
.data 3560 3560 0 0.0
.rodata 111364 111364 0 0.0
.text 674668 675132 464 0.1
pump-app LP_EM_CC1354P10_6 (read only) 738492 738956 464 0.1
(read/write) 167896 167912 16 0.0
.bss 89664 89680 16 0.0
.data 3552 3552 0 0.0
.rodata 86028 86028 0 0.0
.text 652196 652660 464 0.1
pump-controller-app LP_EM_CC1354P10_6 (read only) 724132 724596 464 0.1
(read/write) 168104 168120 16 0.0
.bss 89888 89904 16 0.0
.data 3544 3544 0 0.0
.rodata 81876 81876 0 0.0
.text 641988 642452 464 0.1
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86522 86522 0 0.0
.text 492596 492588 -8 -0.0
lock CC3235SF_LAUNCHXL (read only) 626530 626530 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106978 106978 0 0.0
.text 517428 517428 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 565139 565627 488 0.1
.app_xip_area 454989 455461 472 0.1
.bss 64984 65000 16 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 548115 548603 488 0.1
.app_xip_area 433205 433677 472 0.1
.bss 69736 69752 16 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566659 567155 496 0.1
.app_xip_area 458013 458493 480 0.1
.bss 63520 63536 16 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 561371 561867 496 0.1
.app_xip_area 449445 449925 480 0.1
.bss 66720 66736 16 0.0
.data 784 784 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w contact k32w0+release (read only) 609552 610016 464 0.1
(read/write) 79972 79988 16 0.0
.bss 67764 67780 16 0.0
.data 2224 2224 0 0.0
.text 609016 609480 464 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 744588 745084 496 0.1
.bss 79116 79132 16 0.0
.data 2816 2816 0 0.0
.text 623288 623768 480 0.1
light k32w0+release (read only) 601192 601656 464 0.1
(read/write) 79428 79444 16 0.0
.bss 67244 67260 16 0.0
.data 2200 2200 0 0.0
.text 600656 601120 464 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 786568 787048 480 0.1
.bss 80508 80524 16 0.0
.data 2032 2032 0 0.0
.text 664672 665136 464 0.1
lock k32w0+release (read only) 580376 580840 464 0.1
(read/write) 77416 77432 16 0.0
.bss 65284 65300 16 0.0
.data 2148 2148 0 0.0
.text 579840 580304 464 0.1
linux chip-tool-ipv6only arm64 (read only) 11472944 11472944 0 0.0
(read/write) 591616 591616 0 0.0
.bss 103304 103304 0 0.0
.data 4488 4488 0 0.0
.data.rel.ro 454272 454272 0 0.0
.dynamic 512 512 0 0.0
.got 20360 20360 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 352876 352876 0 0.0
.text 10232396 10232396 0 0.0
thermostat-no-ble arm64 (read only) 4482776 4485656 2880 0.1
(read/write) 246224 247456 1232 0.5
.bss 122344 122360 16 0.0
.data 3360 3360 0 0.0
.data.rel.ro 103816 103816 0 0.0
.dynamic 512 512 0 0.0
.got 12232 12232 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 159356 159356 0 0.0
.text 3977756 3980636 2880 0.1
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2530248 2530696 448 0.0
.bss 220432 220448 16 0.0
.data 5200 5200 0 0.0
.text 1492932 1493380 448 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 834528 834512 -16 -0.0
(read/write) 1791412 1791988 576 0.0
.bss 196156 196172 16 0.0
.data 2656 2656 0 0.0
.text 1584212 1584772 560 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837632 837616 -16 -0.0
(read/write) 1715580 1716172 592 0.0
.bss 193076 193092 16 0.0
.data 2632 2632 0 0.0
.text 1511484 1512060 576 0.0
light cy8ckit_062s2_43012 (read only) 844360 844344 -16 -0.0
(read/write) 1634916 1635492 576 0.0
.bss 186540 186556 16 0.0
.data 2440 2440 0 0.0
.text 1437548 1438108 560 0.0
lock cy8ckit_062s2_43012 (read only) 817200 817184 -16 -0.0
(read/write) 1664908 1665500 592 0.0
.bss 213700 213716 16 0.0
.data 2440 2440 0 0.0
.text 1440380 1440956 576 0.0
qpg lighting-app qpg6105+debug (read/write) 1125064 1125528 464 0.0
.bss 102384 102400 16 0.0
.data 820 820 0 0.0
.text 637448 637912 464 0.1
lock-app qpg6105+debug (read/write) 1085056 1085520 464 0.0
.bss 97136 97152 16 0.0
.data 840 840 0 0.0
.text 597436 597900 464 0.1
stm32 light STM32WB5MM-DK (read/write) 597565 598037 472 0.1
.bss 128296 128312 16 0.0
.data 668 668 0 0.0
.rodata 78764 78764 0 0.0
.text 380112 380568 456 0.1

Copy link

github-actions bot commented Feb 16, 2024

PR #32156: Size comparison from a0f446b to 34d7b9f

Increases above 0.2%:

platform target config section a0f446b 34d7b9f change % change
linux thermostat-no-ble arm64 (read/write) 246224 247488 1264 0.5
Increases (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, stm32, telink)
platform target config section a0f446b 34d7b9f change % change
bl602 lighting-app bl602 (read/write) 1431706 1432242 536 0.0
.bss 85312 85328 16 0.0
.rodata 157444 157452 8 0.0
.text 1098804 1099316 512 0.0
bl602+mfd (read/write) 1446106 1446642 536 0.0
.bss 85472 85488 16 0.0
.rodata 156404 156412 8 0.0
.text 1114114 1114626 512 0.0
bl602+rpc (read/write) 1479082 1479866 784 0.1
.bss 93344 93360 16 0.0
.text 1130186 1130954 768 0.1
bl702 lighting-app bl702 (read/write) 1196643 1197175 532 0.0
.rodata 106788 106792 4 0.0
.text 968204 968716 512 0.1
bl702+mfd (read/write) 1207443 1208231 788 0.1
.rodata 105728 105732 4 0.0
.text 979958 980726 768 0.1
bl702+rpc (read/write) 1288095 1288883 788 0.1
.rodata 122160 122164 4 0.0
.text 1042892 1043660 768 0.1
bl706-wifi (read/write) 1248098 1248886 788 0.1
.rodata 121132 121136 4 0.0
.text 990322 991090 768 0.1
bl702l lighting-app bl702l (read/write) 1165952 1166740 788 0.1
.rodata 100792 100796 4 0.0
.text 961050 961818 768 0.1
bl702l+mfd (read/write) 1177356 1177888 532 0.0
.rodata 99732 99736 4 0.0
.text 973372 973884 512 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780868 781316 448 0.1
(read/write) 168928 168944 16 0.0
.bss 90932 90948 16 0.0
.text 690284 690732 448 0.1
lock-ftd LP_EM_CC1354P10_6 (read only) 797660 798116 456 0.1
(read/write) 179168 179184 16 0.0
.bss 101172 101188 16 0.0
.rodata 84604 84612 8 0.0
.text 712788 713236 448 0.1
lock-mtd LP_EM_CC1354P10_6 (read only) 786300 786748 448 0.1
(read/write) 173616 173632 16 0.0
.bss 95620 95636 16 0.0
.text 674668 675116 448 0.1
pump-app LP_EM_CC1354P10_6 (read only) 738492 738948 456 0.1
(read/write) 167896 167912 16 0.0
.bss 89664 89680 16 0.0
.rodata 86028 86036 8 0.0
.text 652196 652644 448 0.1
pump-controller-app LP_EM_CC1354P10_6 (read only) 724132 724580 448 0.1
(read/write) 168104 168120 16 0.0
.bss 89888 89904 16 0.0
.text 641988 642436 448 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 565139 565611 472 0.1
.app_xip_area 454989 455445 456 0.1
.bss 64984 65000 16 0.0
lock cyw930739m2evb_01 (read/write) 548115 548587 472 0.1
.app_xip_area 433205 433661 456 0.1
.bss 69736 69752 16 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566659 567147 488 0.1
.app_xip_area 458013 458485 472 0.1
.bss 63520 63536 16 0.0
switch cyw930739m2evb_01 (read/write) 561371 561843 472 0.1
.app_xip_area 449445 449901 456 0.1
.bss 66720 66736 16 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 928768 929360 592 0.1
.bss 197896 197912 16 0.0
.text 729460 730036 576 0.1
BRD4187C (read/write) 1105756 1106220 464 0.0
.bss 195108 195124 16 0.0
.text 907224 907672 448 0.0
lock-app BRD4161A+wf200 (read/write) 1117496 1117960 464 0.0
.bss 186736 186752 16 0.0
.text 927948 928396 448 0.0
window-app BRD4187C (read/write) 1152316 1152908 592 0.1
.bss 167348 167364 16 0.0
.text 981632 982208 576 0.1
esp32 all-clusters-app c3devkit (read only) 1205468 1205956 488 0.0
(read/write) 1747968 1747992 24 0.0
.dram0.bss 74240 74256 16 0.0
.flash.rodata 250576 250584 8 0.0
.flash.text 1205468 1205956 488 0.0
m5stack (read only) 1247727 1248259 532 0.0
(read/write) 533460 533484 24 0.0
.dram0.bss 81144 81160 16 0.0
.flash.rodata 281232 281240 8 0.0
.flash.text 1241563 1242095 532 0.0
k32w contact k32w0+release (read only) 609552 610000 448 0.1
(read/write) 79972 79988 16 0.0
.bss 67764 67780 16 0.0
.text 609016 609464 448 0.1
k32w1+release (read/write) 744588 745068 480 0.1
.bss 79116 79132 16 0.0
.text 623288 623752 464 0.1
light k32w0+release (read only) 601192 601656 464 0.1
(read/write) 79428 79444 16 0.0
.bss 67244 67260 16 0.0
.text 600656 601120 464 0.1
k32w1+release (read/write) 786568 787040 472 0.1
.bss 80508 80524 16 0.0
.text 664672 665128 456 0.1
lock k32w0+release (read only) 580376 580824 448 0.1
(read/write) 77416 77432 16 0.0
.bss 65284 65300 16 0.0
.text 579840 580288 448 0.1
linux air-purifier-app debug (read only) 2629077 2631877 2800 0.1
(read/write) 129480 129544 64 0.0
.bss 46896 46960 64 0.1
.rodata 184944 184976 32 0.0
.text 2266053 2268821 2768 0.1
all-clusters-app debug (read only) 5892321 5895089 2768 0.0
(read/write) 479488 479552 64 0.0
.bss 134688 134752 64 0.0
.text 5111603 5114371 2768 0.1
all-clusters-minimal-app debug (read only) 5194497 5197265 2768 0.1
(read/write) 236712 236776 64 0.0
.bss 128032 128096 64 0.0
.text 4671299 4674067 2768 0.1
bridge-app debug (read only) 4602105 4604857 2752 0.1
(read/write) 217744 217808 64 0.0
.bss 118560 118624 64 0.1
.text 4152291 4155043 2752 0.1
lighting-app debug+rpc+ui (read only) 5524225 5526993 2768 0.1
(read/write) 226512 226576 64 0.0
.bss 119496 119560 64 0.1
.text 4923587 4926355 2768 0.1
lock-app debug (read only) 4670193 4672929 2736 0.1
(read/write) 205368 205432 64 0.0
.bss 113984 114048 64 0.1
.text 4202947 4205683 2736 0.1
ota-provider-app debug (read only) 4302489 4305241 2752 0.1
(read/write) 193896 193960 64 0.0
.bss 113792 113856 64 0.1
.text 3901411 3904163 2752 0.1
ota-requestor-app debug (read only) 4418521 4421289 2768 0.1
(read/write) 198144 198208 64 0.0
.bss 114688 114752 64 0.1
.text 4007139 4009907 2768 0.1
thermostat-no-ble arm64 (read only) 4482776 4485624 2848 0.1
(read/write) 246224 247488 1264 0.5
.bss 122344 122360 16 0.0
.text 3977756 3980604 2848 0.1
tv-app debug (read only) 5651977 5654457 2480 0.0
(read/write) 351984 352048 64 0.0
.bss 243792 243856 64 0.0
.text 5123315 5125795 2480 0.0
tv-casting-app debug (read only) 9855929 9858585 2656 0.0
(read/write) 340616 340648 32 0.0
.bss 156592 156624 32 0.0
.text 9007475 9010131 2656 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2530248 2530696 448 0.0
.bss 220432 220448 16 0.0
.text 1492932 1493380 448 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1097336 1097788 452 0.0
bss 130745 130761 16 0.0
rodata 111616 111620 4 0.0
text 807176 807624 448 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1217712 1218192 480 0.0
bss 122867 122883 16 0.0
text 802808 803268 460 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1047092 1047544 452 0.0
bss 129641 129657 16 0.0
rodata 99316 99320 4 0.0
text 770380 770828 448 0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1791412 1791988 576 0.0
.bss 196156 196172 16 0.0
.text 1584212 1584772 560 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1715580 1716164 584 0.0
.bss 193076 193092 16 0.0
.text 1511484 1512052 568 0.0
light cy8ckit_062s2_43012 (read/write) 1634916 1635492 576 0.0
.bss 186540 186556 16 0.0
.text 1437548 1438108 560 0.0
lock cy8ckit_062s2_43012 (read/write) 1664908 1665484 576 0.0
.bss 213700 213716 16 0.0
.text 1440380 1440940 560 0.0
qpg lighting-app qpg6105+debug (read/write) 1125064 1125520 456 0.0
.bss 102384 102400 16 0.0
.text 637448 637904 456 0.1
lock-app qpg6105+debug (read/write) 1085056 1085512 456 0.0
.bss 97136 97152 16 0.0
.text 597436 597892 456 0.1
stm32 light STM32WB5MM-DK (read/write) 597565 598029 464 0.1
.bss 128296 128312 16 0.0
.rodata 78764 78772 8 0.0
.text 380112 380552 440 0.1
telink air-quality-sensor-app tlsr9528a_retention (read/write) 820318 820834 516 0.1
bss 49612 49628 16 0.0
text 614170 614668 498 0.1
all-clusters-app tlsr9518adk80d (read/write) 1086416 1086932 516 0.0
bss 101696 101712 16 0.0
text 789012 789510 498 0.1
all-clusters-minimal-app tlsr9528a (read/write) 1045540 1046056 516 0.0
bss 110036 110052 16 0.0
text 761620 762118 498 0.1
bridge-app tlsr9518adk80d (read/write) 907328 907844 516 0.1
bss 93068 93084 16 0.0
text 650050 650548 498 0.1
contact-sensor-app tlsr9528a_retention (read/write) 821918 822434 516 0.1
bss 49660 49676 16 0.0
text 615832 616330 498 0.1
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 926864 927388 524 0.1
bss 77660 77676 16 0.0
text 695292 695790 498 0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read/write) 1069036 1069552 516 0.0
bss 100148 100164 16 0.0
text 774074 774572 498 0.1
lock-app-dfu tlsr9528a (read/write) 900020 900544 524 0.1
bss 69124 69140 16 0.0
text 651240 651738 498 0.1
ota-requestor-app tlsr9518adk80d (read/write) 925108 925624 516 0.1
bss 92648 92664 16 0.0
text 667942 668440 498 0.1
pump-app tlsr9258a_retention (read/write) 824518 825034 516 0.1
bss 49768 49784 16 0.0
text 618834 619332 498 0.1
pump-controller-app tlsr9518adk80d (read/write) 788232 788748 516 0.1
bss 55968 55984 16 0.0
text 589582 590080 498 0.1
smoke_co_alarm-app tlsr9528a_retention (read/write) 828946 829462 516 0.1
bss 51292 51308 16 0.0
text 621894 622392 498 0.1
temperature-measurement-app-mars-ota tlsr9518adk80d (read/write) 846837 847353 516 0.1
bss 59444 59460 16 0.0
text 633014 633512 498 0.1
thermostat tlsr9518adk80d (read/write) 813820 814336 516 0.1
bss 56256 56272 16 0.0
text 609214 609712 498 0.1
window-covering tlsr9258a (read/write) 831964 832488 524 0.1
bss 68032 68048 16 0.0
text 624516 625014 498 0.1
Decreases (5 builds for cc32xx, psoc6)
platform target config section a0f446b 34d7b9f change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
.text 492596 492588 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 834528 834512 -16 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837632 837616 -16 -0.0
light cy8ckit_062s2_43012 (read only) 844360 844344 -16 -0.0
lock cy8ckit_062s2_43012 (read only) 817200 817184 -16 -0.0
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, stm32, telink)
platform target config section a0f446b 34d7b9f change % change
bl602 lighting-app bl602 (read/write) 1431706 1432242 536 0.0
.bss 85312 85328 16 0.0
.data 9496 9496 0 0.0
.rodata 157444 157452 8 0.0
.text 1098804 1099316 512 0.0
bl602+mfd (read/write) 1446106 1446642 536 0.0
.bss 85472 85488 16 0.0
.data 9472 9472 0 0.0
.rodata 156404 156412 8 0.0
.text 1114114 1114626 512 0.0
bl602+rpc (read/write) 1479082 1479866 784 0.1
.bss 93344 93360 16 0.0
.data 9872 9872 0 0.0
.rodata 165020 165020 0 0.0
.text 1130186 1130954 768 0.1
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1196643 1197175 532 0.0
.bss 11121 11121 0 0.0
.data 3680 3680 0 0.0
.rodata 106788 106792 4 0.0
.text 968204 968716 512 0.1
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1207443 1208231 788 0.1
.bss 11297 11297 0 0.0
.data 3656 3656 0 0.0
.rodata 105728 105732 4 0.0
.text 979958 980726 768 0.1
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1288095 1288883 788 0.1
.bss 19589 19589 0 0.0
.data 4224 4224 0 0.0
.rodata 122160 122164 4 0.0
.text 1042892 1043660 768 0.1
bl706-eth (read/write) 1014869 1014869 0 0.0
.bss 23680 23680 0 0.0
.data 3248 3248 0 0.0
.rodata 100136 100136 0 0.0
.text 759850 759850 0 0.0
bl706-wifi (read/write) 1248098 1248886 788 0.1
.bss 10565 10565 0 0.0
.data 3688 3688 0 0.0
.rodata 121132 121136 4 0.0
.text 990322 991090 768 0.1
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1165952 1166740 788 0.1
.bss 16316 16316 0 0.0
.data 5040 5040 0 0.0
.rodata 100792 100796 4 0.0
.text 961050 961818 768 0.1
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1177356 1177888 532 0.0
.bss 16492 16492 0 0.0
.data 5024 5024 0 0.0
.rodata 99732 99736 4 0.0
.text 973372 973884 512 0.1
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780868 781316 448 0.1
(read/write) 168928 168944 16 0.0
.bss 90932 90948 16 0.0
.data 3560 3560 0 0.0
.rodata 90316 90316 0 0.0
.text 690284 690732 448 0.1
lock-ftd LP_EM_CC1354P10_6 (read only) 797660 798116 456 0.1
(read/write) 179168 179184 16 0.0
.bss 101172 101188 16 0.0
.data 3560 3560 0 0.0
.rodata 84604 84612 8 0.0
.text 712788 713236 448 0.1
lock-mtd LP_EM_CC1354P10_6 (read only) 786300 786748 448 0.1
(read/write) 173616 173632 16 0.0
.bss 95620 95636 16 0.0
.data 3560 3560 0 0.0
.rodata 111364 111364 0 0.0
.text 674668 675116 448 0.1
pump-app LP_EM_CC1354P10_6 (read only) 738492 738948 456 0.1
(read/write) 167896 167912 16 0.0
.bss 89664 89680 16 0.0
.data 3552 3552 0 0.0
.rodata 86028 86036 8 0.0
.text 652196 652644 448 0.1
pump-controller-app LP_EM_CC1354P10_6 (read only) 724132 724580 448 0.1
(read/write) 168104 168120 16 0.0
.bss 89888 89904 16 0.0
.data 3544 3544 0 0.0
.rodata 81876 81876 0 0.0
.text 641988 642436 448 0.1
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581242 581234 -8 -0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86522 86522 0 0.0
.text 492596 492588 -8 -0.0
lock CC3235SF_LAUNCHXL (read only) 626530 626530 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106978 106978 0 0.0
.text 517428 517428 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 565139 565611 472 0.1
.app_xip_area 454989 455445 456 0.1
.bss 64984 65000 16 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 548115 548587 472 0.1
.app_xip_area 433205 433661 456 0.1
.bss 69736 69752 16 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566659 567147 488 0.1
.app_xip_area 458013 458485 472 0.1
.bss 63520 63536 16 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 561371 561843 472 0.1
.app_xip_area 449445 449901 456 0.1
.bss 66720 66736 16 0.0
.data 784 784 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 928768 929360 592 0.1
.bss 197896 197912 16 0.0
.data 1388 1388 0 0.0
.text 729460 730036 576 0.1
BRD4187C (read/write) 1105756 1106220 464 0.0
.bss 195108 195124 16 0.0
.data 3404 3404 0 0.0
.text 907224 907672 448 0.0
lock-app BRD4161A+wf200 (read/write) 1117496 1117960 464 0.0
.bss 186736 186752 16 0.0
.data 2792 2792 0 0.0
.text 927948 928396 448 0.0
window-app BRD4187C (read/write) 1152316 1152908 592 0.1
.bss 167348 167364 16 0.0
.data 3316 3316 0 0.0
.text 981632 982208 576 0.1
esp32 all-clusters-app c3devkit (read only) 1205468 1205956 488 0.0
(read/write) 1747968 1747992 24 0.0
.dram0.bss 74240 74256 16 0.0
.dram0.data 13620 13620 0 0.0
.flash.rodata 250576 250584 8 0.0
.flash.text 1205468 1205956 488 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1247727 1248259 532 0.0
(read/write) 533460 533484 24 0.0
.dram0.bss 81144 81160 16 0.0
.dram0.data 35164 35164 0 0.0
.flash.rodata 281232 281240 8 0.0
.flash.text 1241563 1242095 532 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 609552 610000 448 0.1
(read/write) 79972 79988 16 0.0
.bss 67764 67780 16 0.0
.data 2224 2224 0 0.0
.text 609016 609464 448 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 744588 745068 480 0.1
.bss 79116 79132 16 0.0
.data 2816 2816 0 0.0
.text 623288 623752 464 0.1
light k32w0+release (read only) 601192 601656 464 0.1
(read/write) 79428 79444 16 0.0
.bss 67244 67260 16 0.0
.data 2200 2200 0 0.0
.text 600656 601120 464 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 786568 787040 472 0.1
.bss 80508 80524 16 0.0
.data 2032 2032 0 0.0
.text 664672 665128 456 0.1
lock k32w0+release (read only) 580376 580824 448 0.1
(read/write) 77416 77432 16 0.0
.bss 65284 65300 16 0.0
.data 2148 2148 0 0.0
.text 579840 580288 448 0.1
linux air-purifier-app debug (read only) 2629077 2631877 2800 0.1
(read/write) 129480 129544 64 0.0
.bss 46896 46960 64 0.1
.data 2240 2240 0 0.0
.data.rel.ro 74392 74392 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 184944 184976 32 0.0
.text 2266053 2268821 2768 0.1
all-clusters-app debug (read only) 5892321 5895089 2768 0.0
(read/write) 479488 479552 64 0.0
.bss 134688 134752 64 0.0
.data 4464 4464 0 0.0
.data.rel.ro 332936 332936 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1368 1368 0 0.0
.rodata 347952 347952 0 0.0
.text 5111603 5114371 2768 0.1
all-clusters-minimal-app debug (read only) 5194497 5197265 2768 0.1
(read/write) 236712 236776 64 0.0
.bss 128032 128096 64 0.0
.data 4368 4368 0 0.0
.data.rel.ro 97240 97240 0 0.0
.dynamic 624 624 0 0.0
.got 5304 5304 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 288162 288162 0 0.0
.text 4671299 4674067 2768 0.1
bridge-app debug (read only) 4602105 4604857 2752 0.1
(read/write) 217744 217808 64 0.0
.bss 118560 118624 64 0.1
.data 6176 6176 0 0.0
.data.rel.ro 86288 86288 0 0.0
.dynamic 624 624 0 0.0
.got 5272 5272 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 228930 228930 0 0.0
.text 4152291 4155043 2752 0.1
chip-tool debug (read only) 11976985 11976985 0 0.0
(read/write) 521104 521104 0 0.0
.bss 94264 94264 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 414512 414512 0 0.0
.dynamic 624 624 0 0.0
.got 5776 5776 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 447545 447545 0 0.0
.text 10823987 10823987 0 0.0
chip-tool-ipv6only arm64 (read only) 11472944 11472944 0 0.0
(read/write) 591616 591616 0 0.0
.bss 103304 103304 0 0.0
.data 4488 4488 0 0.0
.data.rel.ro 454272 454272 0 0.0
.dynamic 512 512 0 0.0
.got 20360 20360 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 352876 352876 0 0.0
.text 10232396 10232396 0 0.0
lighting-app debug+rpc+ui (read only) 5524225 5526993 2768 0.1
(read/write) 226512 226576 64 0.0
.bss 119496 119560 64 0.1
.data 4832 4832 0 0.0
.data.rel.ro 94672 94672 0 0.0
.dynamic 672 672 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 353652 353652 0 0.0
.text 4923587 4926355 2768 0.1
lock-app debug (read only) 4670193 4672929 2736 0.1
(read/write) 205368 205432 64 0.0
.bss 113984 114048 64 0.1
.data 4128 4128 0 0.0
.data.rel.ro 80536 80536 0 0.0
.dynamic 624 624 0 0.0
.got 5224 5224 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 254978 254978 0 0.0
.text 4202947 4205683 2736 0.1
ota-provider-app debug (read only) 4302489 4305241 2752 0.1
(read/write) 193896 193960 64 0.0
.bss 113792 113856 64 0.1
.data 4336 4336 0 0.0
.data.rel.ro 69856 69856 0 0.0
.dynamic 624 624 0 0.0
.got 4560 4560 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 207618 207618 0 0.0
.text 3901411 3904163 2752 0.1
ota-requestor-app debug (read only) 4418521 4421289 2768 0.1
(read/write) 198144 198208 64 0.0
.bss 114688 114752 64 0.1
.data 4736 4736 0 0.0
.data.rel.ro 72816 72816 0 0.0
.dynamic 624 624 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 213634 213634 0 0.0
.text 4007139 4009907 2768 0.1
shell debug (read only) 2867721 2867721 0 0.0
(read/write) 155776 155776 0 0.0
.bss 62544 62544 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 86064 86064 0 0.0
.dynamic 592 592 0 0.0
.got 4080 4080 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 186080 186080 0 0.0
.text 2508546 2508546 0 0.0
thermostat-no-ble arm64 (read only) 4482776 4485624 2848 0.1
(read/write) 246224 247488 1264 0.5
.bss 122344 122360 16 0.0
.data 3360 3360 0 0.0
.data.rel.ro 103816 103816 0 0.0
.dynamic 512 512 0 0.0
.got 12232 12232 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 159356 159356 0 0.0
.text 3977756 3980604 2848 0.1
tv-app debug (read only) 5651977 5654457 2480 0.0
(read/write) 351984 352048 64 0.0
.bss 243792 243856 64 0.0
.data 6496 6496 0 0.0
.data.rel.ro 94392 94392 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 286498 286498 0 0.0
.text 5123315 5125795 2480 0.0
tv-casting-app debug (read only) 9855929 9858585 2656 0.0
(read/write) 340616 340648 32 0.0
.bss 156592 156624 32 0.0
.data 2944 2944 0 0.0
.data.rel.ro 174168 174168 0 0.0
.dynamic 624 624 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 382512 382512 0 0.0
.text 9007475 9010131 2656 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2530248 2530696 448 0.0
.bss 220432 220448 16 0.0
.data 5200 5200 0 0.0
.text 1492932 1493380 448 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1097336 1097788 452 0.0
bss 130745 130761 16 0.0
rodata 111616 111620 4 0.0
text 807176 807624 448 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1217712 1218192 480 0.0
bss 122867 122883 16 0.0
rodata 141528 141528 0 0.0
text 802808 803268 460 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1047092 1047544 452 0.0
bss 129641 129657 16 0.0
rodata 99316 99320 4 0.0
text 770380 770828 448 0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 834528 834512 -16 -0.0
(read/write) 1791412 1791988 576 0.0
.bss 196156 196172 16 0.0
.data 2656 2656 0 0.0
.text 1584212 1584772 560 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837632 837616 -16 -0.0
(read/write) 1715580 1716164 584 0.0
.bss 193076 193092 16 0.0
.data 2632 2632 0 0.0
.text 1511484 1512052 568 0.0
light cy8ckit_062s2_43012 (read only) 844360 844344 -16 -0.0
(read/write) 1634916 1635492 576 0.0
.bss 186540 186556 16 0.0
.data 2440 2440 0 0.0
.text 1437548 1438108 560 0.0
lock cy8ckit_062s2_43012 (read only) 817200 817184 -16 -0.0
(read/write) 1664908 1665484 576 0.0
.bss 213700 213716 16 0.0
.data 2440 2440 0 0.0
.text 1440380 1440940 560 0.0
qpg lighting-app qpg6105+debug (read/write) 1125064 1125520 456 0.0
.bss 102384 102400 16 0.0
.data 820 820 0 0.0
.text 637448 637904 456 0.1
lock-app qpg6105+debug (read/write) 1085056 1085512 456 0.0
.bss 97136 97152 16 0.0
.data 840 840 0 0.0
.text 597436 597892 456 0.1
stm32 light STM32WB5MM-DK (read/write) 597565 598029 464 0.1
.bss 128296 128312 16 0.0
.data 668 668 0 0.0
.rodata 78764 78772 8 0.0
.text 380112 380552 440 0.1
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 820318 820834 516 0.1
bss 49612 49628 16 0.0
text 614170 614668 498 0.1
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1086416 1086932 516 0.0
bss 101696 101712 16 0.0
text 789012 789510 498 0.1
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1045540 1046056 516 0.0
bss 110036 110052 16 0.0
text 761620 762118 498 0.1
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 907328 907844 516 0.1
bss 93068 93084 16 0.0
text 650050 650548 498 0.1
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821918 822434 516 0.1
bss 49660 49676 16 0.0
text 615832 616330 498 0.1
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 926864 927388 524 0.1
bss 77660 77676 16 0.0
text 695292 695790 498 0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1069036 1069552 516 0.0
bss 100148 100164 16 0.0
text 774074 774572 498 0.1
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 900020 900544 524 0.1
bss 69124 69140 16 0.0
text 651240 651738 498 0.1
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 925108 925624 516 0.1
bss 92648 92664 16 0.0
text 667942 668440 498 0.1
pump-app tlsr9258a_retention (read only) 51774 51774 0 0.0
(read/write) 824518 825034 516 0.1
bss 49768 49784 16 0.0
text 618834 619332 498 0.1
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 788232 788748 516 0.1
bss 55968 55984 16 0.0
text 589582 590080 498 0.1
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676768 676768 0 0.0
bss 73640 73640 0 0.0
text 462284 462284 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 828946 829462 516 0.1
bss 51292 51308 16 0.0
text 621894 622392 498 0.1
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 846837 847353 516 0.1
bss 59444 59460 16 0.0
text 633014 633512 498 0.1
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 813820 814336 516 0.1
bss 56256 56272 16 0.0
text 609214 609712 498 0.1
window-covering tlsr9258a (read only) 51584 51584 0 0.0
(read/write) 831964 832488 524 0.1
bss 68032 68048 16 0.0
text 624516 625014 498 0.1

CtorDtorCounter(const CtorDtorCounter & o) : m(o.m) { ++created; }
CtorDtorCounter & operator=(const CtorDtorCounter &) = default;

CtorDtorCounter(CtorDtorCounter && o) : m(o.m) { ++created; }
Copy link
Contributor

Choose a reason for hiding this comment

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

@tcarmelveilleux I still believe this is a bug ....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a bug that exists in Optional, and is a bigger issue. Can you please raise an issue and we will address holistically.

@@ -426,16 +477,27 @@ void Instance::HandleScanNetworks(HandlerContext & ctx, const Commands::ScanNetw
}
if (ssid.size() > DeviceLayer::Internal::kMaxWiFiSSIDLength)
{
ctx.mCommandHandler.AddStatus(ctx.mRequestPath, Protocols::InteractionModel::Status::InvalidCommand);
// This should not happen, it means it's a broken driver.
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a broken client, right? This is not a driver bug; it's a client sending bogus data. The error return is correct, but this comment seems like it should be fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

mCurrentOperationBreadcrumb = req.breadcrumb;
mAsyncCommandHandle = CommandHandler::Handle(&ctx.mCommandHandler);
ctx.mCommandHandler.FlushAcksRightAwayOnSlowCommand();
mpDriver.Get<WiFiDriver *>()->ScanNetworks(ssid, this);
}
else if (mFeatureFlags.Has(Feature::kThreadNetworkInterface))
{
// Not allowed to populate SSID for Thread.
if (!req.ssid.HasValue())
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this check backwards?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes :(

// Not allowed to populate SSID for Thread.
if (!req.ssid.HasValue())
{
ctx.mCommandHandler.AddStatus(ctx.mRequestPath, Protocols::InteractionModel::Status::ConstraintError);
Copy link
Contributor

Choose a reason for hiding this comment

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

So "Invoke Execution" in the core spec says:

If a mandatory data field is missing, or incoming data cannot be mapped to the expected data type for a field, a CommandStatusIB SHALL be generated with an error status of INVALID_COMMAND, even if the cluster defines another type of response.

If a data field violates expected constraints, a CommandStatusIB SHOULD be generated with an error status of CONSTRAINT_ERROR.

There's no provision there for "field is provided that should not have been", but that seems closer to the InvalidCommand case than the "the data does not fit constraints" case, maybe.

I don't feel too strongly about this, but maybe we should fix the spec to cover this case...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will move to InvalidCommand

@@ -497,7 +559,7 @@ void Instance::HandleAddOrUpdateWiFiNetwork(HandlerContext & ctx, const Commands
return;
}
#endif // CHIP_DEVICE_CONFIG_ENABLE_WIFI_PDC
ctx.mCommandHandler.AddStatus(ctx.mRequestPath, Protocols::InteractionModel::Status::InvalidCommand);
ctx.mCommandHandler.AddStatus(ctx.mRequestPath, Protocols::InteractionModel::Status::ConstraintError);
Copy link
Contributor

Choose a reason for hiding this comment

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

As above, it's not clear whether this should in fact be ConstraintError or InvalidCommand, and InvalidCommand is arguably better.

@@ -1110,6 +1201,12 @@ void Instance::OnFailSafeTimerExpired()
ChipLogDetail(Zcl, "Failsafe timeout, tell platform driver to revert network credentials.");
mpWirelessDriver->RevertConfiguration();
mAsyncCommandHandle.Release();

// Reset state on failsafe expiry.
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see a spec basis for this...

Furthermore, if the failsafe was for something totally unrelated to commissioning or networks (e.g. an UpdateNOC), clearing this state doesn't obviously seem like the right thing to do.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After Commissioning or reconfiguration ends in failure due to expiry of the Fail-Safe timer, the Node SHALL revert to the network configuration present prior to the Fail-Safe timer being armed.

I will just mark Networks list dirty. The other attributes update over time.

tcarmelveilleux added a commit to tcarmelveilleux/connectedhomeip that referenced this pull request Feb 16, 2024
- Found a regression on Thread scanning.
- Changed some ConstraintError to InvalidCommand where
  more applicable.
- Removed an update of cluster state on fail safe expiry.

Testing done:

- Retested on Wi-Fi
- Testing on Thread as well
mergify bot pushed a commit that referenced this pull request Feb 16, 2024
* Fix NetworkCommissioning post-review from #32156

- Found a regression on Thread scanning.
- Changed some ConstraintError to InvalidCommand where
  more applicable.
- Removed an update of cluster state on fail safe expiry.

Testing done:

- Retested on Wi-Fi
- Testing on Thread as well

* Re-notify errors on empty network at fail-safe expiry

* Fix MobileDeviceTest

* Fix Cirque tests
github-actions bot pushed a commit that referenced this pull request Feb 16, 2024
* Fix NetworkCommissioning post-review from #32156

- Found a regression on Thread scanning.
- Changed some ConstraintError to InvalidCommand where
  more applicable.
- Removed an update of cluster state on fail safe expiry.

Testing done:

- Retested on Wi-Fi
- Testing on Thread as well

* Re-notify errors on empty network at fail-safe expiry

* Fix MobileDeviceTest

* Fix Cirque tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
6 participants