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 thread commissioning fail where there are many Thread Border Routers #23492

Merged
merged 8 commits into from
Nov 17, 2022

Conversation

yhoyoon
Copy link
Contributor

@yhoyoon yhoyoon commented Nov 4, 2022

Problem

Matter Commissioner sometimes fails to commission Matter Thread Device where there are many Thread Border Routers. Specifically, in order to connect the Matter Thread Device to the Thread Border Router during the commissioning process, the Matter Commissioner sends Thread ScanNetworks command to the Matter Thread Device. However, no matter how many times Matter Commissioner requests ScanNetworks, there is no Thread Border Router it wants to connect to in the response, so the commissioning has failed.

Cause

According to the message size requirements of the Matter specification document, the maximum length of a Service Data Unit is 1024 bytes. Since Thread ScanNetworks' responses have to be stored in it, network commissioing cluster only stores 15 of them. Therefore, Thread Device sends only 15 of the scan results in response to Thread ScanNetworks command, and the scan result list contains duplicate items and is used without sorting. There were about 50 items in scan result list on the problem situation, and they were sorted in ascending order by channel. And the channel of the Thread Border Router it wants to connect to is the largest number, so it is not always included in the response of Thread ScanNetworks command. Accordingly, the Matter Commissioner determined that the Matter Device did not discover the Thread Border Router it wants to connect to, and the commissioning failed.

Solution

This PR changes the Thread Scan result list in two ways.

  • First, it prevents the addition of duplicate items in the list.
  • Next, sort the list in ascending order based on RSSI.

The reason for using RSSI is that where there are many Thread Border Routers, it is reasonable to expect that users will start commissioning close to the Thread Border Routers they want Thread Devices to connect to.

Matter Commissioner sometimes fails to commission Matter Thread Device
where there are many Thread Border Routers. Specifically, in order to
connect the Matter Thread Device to the Thread Border Router during the
commissioning process, the Matter Commissioner sends Thread ScanNetworks
command to the Matter Thread Device. However, no matter how many times
Matter Commissioner requests ScanNetworks, there is no Thread Border
Router it wants to connect to in the response, so the commissioning
has failed.
According to the message size requirements of the Matter specification
document, the maximum length of a Service Data Unit is 1024 bytes. Since
Thread ScanNetworks' responses have to be stored in it, network
commissioing cluster only stores 15 of them. Therefore, Thread Device
sends only 15 of the scan results in response to Thread ScanNetworks
command, and the scan result list contains duplicate items and is used
without sorting. There were about 50 items in scan result list on the
problem situation, and they were sorted in ascending order by channel.
And the channel of the Thread Border Router it wants to connect to is
the largest number, so it is not always included in the response of
Thread ScanNetworks command. Accordingly, the Matter Commissioner
determined that the Matter Device did not discover the Thread Border
Router it wants to connect to, and the commissioning failed.
This commit changes the Thread Scan result list in two ways. First, it
prevents the addition of duplicate items in the list. Next, sort the
list in ascending order based on RSSI. The reason for using RSSI is that
where there are many Thread Border Routers, it is reasonable to expect
that users will start commissioning close to the Thread Border Routers
they want Thread Devices to connect to.

Signed-off-by: Youngho Yoon <[email protected]>
Signed-off-by: Charles Kim <[email protected]>
Signed-off-by: Hunsup <[email protected]>
Signed-off-by: sanghyukko <[email protected]>
Signed-off-by: Jaehoon You <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Nov 4, 2022

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link

github-actions bot commented Nov 4, 2022

PR #23492: Size comparison from d066463 to b89d83e

Increases above 0.2%:

platform target config section d066463 b89d83e change % change
bl602 lighting-app bl602 (read/write) 1388990 1392522 3532 0.3
.text 1068760 1072258 3498 0.3
bl602+rpc .text 1100362 1103874 3512 0.3
bl702 lighting-app bl702 (read/write) 1188163 1191779 3616 0.3
.debug_str 3451959 3492956 40997 1.2
.strtab 565774 569673 3899 0.7
.text 957074 960660 3586 0.4
bl702+rpc (read/write) 1284075 1287691 3616 0.3
.debug_str 3848087 3889077 40990 1.1
.strtab 624947 628846 3899 0.6
.text 1030782 1034366 3584 0.3
cc13x2_26x2 all-clusters-app LP_CC2652R7 .text 587528 589056 1528 0.3
all-clusters-minimal-app LP_CC2652R7 .text 562632 564168 1536 0.3
lock-ftd LP_CC2652R7 .text 598600 600128 1528 0.3
lock-mtd LP_CC2652R7 .text 556536 558064 1528 0.3
pump-app LP_CC2652R7 .text 597548 599100 1552 0.3
pump-controller-app LP_CC2652R7 .text 586312 587840 1528 0.3
shell LP_CC2652R7 .text 581996 583540 1544 0.3
cyw30739 light cyw930739m2evb_01 (read/write) 588270 589846 1576 0.3
.app_xip_area 464872 466448 1576 0.3
lock cyw930739m2evb_01 (read/write) 592318 593894 1576 0.3
.app_xip_area 463624 465200 1576 0.3
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544394 545962 1568 0.3
.app_xip_area 426076 427644 1568 0.4
efr32 lighting-app BRD4161A+rs911x (read/write) 1034792 1037480 2688 0.3
.text 845948 848636 2688 0.3
BRD4187C .text 980816 983496 2680 0.3
window-app BRD4187C .text 972596 975268 2672 0.3
k32w contact k32w0+release .text 562972 564532 1560 0.3
light k32w0+release .text 591644 593204 1560 0.3
lock k32w0+release .text 552340 553908 1568 0.3
linux all-clusters-app debug (read only) 3088105 3095033 6928 0.2
.text 2622450 2629346 6896 0.3
all-clusters-minimal-app debug (read only) 2913913 2920857 6944 0.2
.text 2451682 2458594 6912 0.3
lighting-app debug+rpc (read only) 2641089 2651009 9920 0.4
.text 2237170 2247058 9888 0.4
lock-app debug (read only) 2603209 2610153 6944 0.3
.text 2187426 2194338 6912 0.3
ota-requestor-app debug (read only) 2564865 2571793 6928 0.3
.text 2163394 2170290 6896 0.3
thermostat-no-ble arm64 (read only) 2394748 2405740 10992 0.5
.text 2007216 2018160 10944 0.5
psoc6 all-clusters cy8ckit_062s2_43012 .debug_loc 3603682 3616106 12424 0.3
.debug_str 3435682 3476686 41004 1.2
.strtab 570280 574234 3954 0.7
all-clusters-minimal cy8ckit_062s2_43012 .debug_loc 3591319 3603743 12424 0.3
.debug_str 3424711 3465715 41004 1.2
.strtab 534369 538268 3899 0.7
light cy8ckit_062s2_43012 .debug_loc 3289030 3301454 12424 0.4
.debug_str 3230138 3271142 41004 1.3
.strtab 470694 474648 3954 0.8
lock cy8ckit_062s2_43012 .debug_loc 3316624 3329048 12424 0.4
.debug_str 3249609 3290613 41004 1.3
.strtab 473097 477051 3954 0.8
qpg lighting-app qpg6105+debug .text 596620 598188 1568 0.3
lock-app qpg6105+debug .text 561408 562984 1576 0.3
telink light-switch-app tlsr9518adk80d text 554108 555586 1478 0.3
ota-requestor-app tlsr9518adk80d text 565484 566968 1484 0.3
Increases (46 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d066463 b89d83e change % change
bl602 lighting-app bl602 (read/write) 1388990 1392522 3532 0.3
.text 1068760 1072258 3498 0.3
bl602+rpc (read/write) 1434454 1437994 3540 0.2
.text 1100362 1103874 3512 0.3
bl702 lighting-app bl702 (read/write) 1188163 1191779 3616 0.3
.debug_abbrev 1514492 1514756 264 0.0
.debug_aranges 132064 132168 104 0.1
.debug_frame 484664 485168 504 0.1
.debug_info 38087205 38109407 22202 0.1
.debug_line 5271085 5274796 3711 0.1
.debug_loc 3373269 3380495 7226 0.2
.debug_ranges 359744 360296 552 0.2
.debug_str 3451959 3492956 40997 1.2
.rodata 116168 116200 32 0.0
.strtab 565774 569673 3899 0.7
.symtab 171984 172192 208 0.1
.text 957074 960660 3586 0.4
bl702+rpc (read/write) 1284075 1287691 3616 0.3
.debug_abbrev 1651926 1652249 323 0.0
.debug_aranges 139568 139672 104 0.1
.debug_frame 510036 510540 504 0.1
.debug_info 42004560 42026562 22002 0.1
.debug_line 5647232 5650943 3711 0.1
.debug_loc 3566096 3573322 7226 0.2
.debug_ranges 382544 383096 552 0.1
.debug_str 3848087 3889077 40990 1.1
.rodata 129560 129592 32 0.0
.strtab 624947 628846 3899 0.6
.symtab 189792 190000 208 0.1
.text 1030782 1034366 3584 0.3
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677387 678939 1552 0.2
.rodata 89547 89571 24 0.0
.text 587528 589056 1528 0.3
all-clusters-minimal-app LP_CC2652R7 (read only) 641635 643203 1568 0.2
.rodata 78683 78715 32 0.0
.text 562632 564168 1536 0.3
lock-ftd LP_CC2652R7 (read only) 676151 677703 1552 0.2
.rodata 77071 77095 24 0.0
.text 598600 600128 1528 0.3
lock-mtd LP_CC2652R7 (read only) 659939 661499 1560 0.2
.rodata 102923 102955 32 0.0
.text 556536 558064 1528 0.3
pump-app LP_CC2652R7 (read only) 688591 690167 1576 0.2
.rodata 90559 90583 24 0.0
.text 597548 599100 1552 0.3
pump-controller-app LP_CC2652R7 (read only) 672899 674451 1552 0.2
.rodata 86107 86131 24 0.0
.text 586312 587840 1528 0.3
shell LP_CC2652R7 (read only) 668606 670182 1576 0.2
.rodata 86294 86326 32 0.0
.text 581996 583540 1544 0.3
cyw30739 light cyw930739m2evb_01 (read/write) 588270 589846 1576 0.3
.app_xip_area 464872 466448 1576 0.3
lock cyw930739m2evb_01 (read/write) 592318 593894 1576 0.3
.app_xip_area 463624 465200 1576 0.3
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544394 545962 1568 0.3
.app_xip_area 426076 427644 1568 0.4
efr32 lighting-app BRD4161A+rpc (read/write) 974252 975812 1560 0.2
.text 819724 821284 1560 0.2
BRD4161A+rs911x (read/write) 1034792 1037480 2688 0.3
.text 845948 848636 2688 0.3
BRD4187C (read/write) 1146656 1149336 2680 0.2
.text 980816 983496 2680 0.3
lock-app BRD4161A+wf200 (read/write) 1160072 1161632 1560 0.1
.text 999692 1001252 1560 0.2
window-app BRD4187C (read/write) 1139876 1142548 2672 0.2
.text 972596 975268 2672 0.3
k32w contact k32w0+release (read/write) 661212 662772 1560 0.2
.text 562972 564532 1560 0.3
light k32w0+release (read/write) 671256 672816 1560 0.2
.text 591644 593204 1560 0.3
lock k32w0+release (read/write) 632732 634300 1568 0.2
.text 552340 553908 1568 0.3
linux all-clusters-app debug (read only) 3088105 3095033 6928 0.2
.rodata 281291 281323 32 0.0
.text 2622450 2629346 6896 0.3
all-clusters-minimal-app debug (read only) 2913913 2920857 6944 0.2
.rodata 280811 280843 32 0.0
.text 2451682 2458594 6912 0.3
bridge-app debug+rpc (read only) 2413737 2413769 32 0.0
.rodata 211104 211136 32 0.0
lighting-app debug+rpc (read only) 2641089 2651009 9920 0.4
.rodata 227968 228000 32 0.0
.text 2237170 2247058 9888 0.4
lock-app debug (read only) 2603209 2610153 6944 0.3
.rodata 244200 244232 32 0.0
.text 2187426 2194338 6912 0.3
ota-provider-app debug (read only) 2399729 2399761 32 0.0
.rodata 216776 216808 32 0.0
ota-requestor-app debug (read only) 2564865 2571793 6928 0.3
.rodata 223856 223888 32 0.0
.text 2163394 2170290 6896 0.3
thermostat-no-ble arm64 (read only) 2394748 2405740 10992 0.5
.rodata 144548 144596 48 0.0
.text 2007216 2018160 10944 0.5
tv-app debug (read only) 3234673 3234705 32 0.0
.rodata 267640 267672 32 0.0
tv-casting-app debug (read only) 5582745 5582777 32 0.0
.rodata 355481 355513 32 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452224 2453688 1464 0.1
.text 1414868 1416332 1464 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187759 1189339 1580 0.1
rodata 144436 144464 28 0.0
text 816968 818506 1538 0.2
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167123 1168687 1564 0.1
rodata 136224 136252 28 0.0
text 805458 806990 1532 0.2
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746036 1748724 2688 0.2
.debug_abbrev 1235810 1236079 269 0.0
.debug_aranges 110736 110840 104 0.1
.debug_frame 371344 371820 476 0.1
.debug_info 2702594 27053860 27913 0.1
.debug_line 3685828 3689801 3973 0.1
.debug_loc 3603682 3616106 12424 0.3
.debug_ranges 339560 340088 528 0.2
.debug_str 3435682 3476686 41004 1.2
.strtab 570280 574234 3954 0.7
.symtab 421424 422000 576 0.1
.text 1546272 1548960 2688 0.2
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688644 1691308 2664 0.2
.debug_abbrev 1227653 1227922 269 0.0
.debug_aranges 110208 110312 104 0.1
.debug_frame 374424 374900 476 0.1
.debug_info 26762577 26790491 27914 0.1
.debug_line 3706812 3710785 3973 0.1
.debug_loc 3591319 3603743 12424 0.3
.debug_ranges 338176 338704 528 0.2
.debug_str 3424711 3465715 41004 1.2
.strtab 534369 538268 3899 0.7
.symtab 407856 408368 512 0.1
.text 1489616 1492280 2664 0.2
light cy8ckit_062s2_43012 (read/write) 1606972 1609652 2680 0.2
.debug_abbrev 1062114 1062383 269 0.0
.debug_aranges 102408 102512 104 0.1
.debug_frame 344740 345216 476 0.1
.debug_info 22228025 22255939 27914 0.1
.debug_line 3276154 3280127 3973 0.1
.debug_loc 3289030 3301454 12424 0.4
.debug_ranges 303472 304000 528 0.2
.debug_str 3230138 3271142 41004 1.3
.strtab 470694 474648 3954 0.8
.symtab 376240 376816 576 0.2
.text 1416128 1418808 2680 0.2
lock cy8ckit_062s2_43012 (read/write) 1640764 1643428 2664 0.2
.debug_abbrev 1064089 1064358 269 0.0
.debug_aranges 102808 102912 104 0.1
.debug_frame 346612 347088 476 0.1
.debug_info 22461403 22489315 27912 0.1
.debug_line 3273048 3277021 3973 0.1
.debug_loc 3316624 3329048 12424 0.4
.debug_ranges 305416 305944 528 0.2
.debug_str 3249609 3290613 41004 1.3
.strtab 473097 477051 3954 0.8
.symtab 377920 378496 576 0.2
.text 1444928 1447592 2664 0.2
qpg lighting-app qpg6105+debug (read/write) 1149520 1151088 1568 0.1
.text 596620 598188 1568 0.3
lock-app qpg6105+debug (read/write) 1114312 1115888 1576 0.1
.text 561408 562984 1576 0.3
telink all-clusters-app tlsr9518adk80d (read/write) 936772 938252 1480 0.2
text 648608 650086 1478 0.2
all-clusters-minimal-app tlsr9518adk80d (read/write) 874748 876228 1480 0.2
text 612578 614060 1482 0.2
light-switch-app tlsr9518adk80d (read/write) 790244 791724 1480 0.2
text 554108 555586 1478 0.3
lighting-app tlsr9518adk80d (read/write) 874468 875940 1472 0.2
text 624086 625564 1478 0.2
ota-requestor-app tlsr9518adk80d (read/write) 804736 806216 1480 0.2
text 565484 566968 1484 0.3
Decreases (6 builds for cc13x2_26x2)
platform target config section d066463 b89d83e change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174156 172604 -1552 -0.9
lock-ftd LP_CC2652R7 (read/write) 172528 170976 -1552 -0.9
lock-mtd LP_CC2652R7 (read/write) 184428 182868 -1560 -0.8
pump-app LP_CC2652R7 (read/write) 160824 159248 -1576 -1.0
pump-controller-app LP_CC2652R7 (read/write) 176612 175060 -1552 -0.9
shell LP_CC2652R7 (read/write) 185256 183680 -1576 -0.9
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d066463 b89d83e change % change
bl602 lighting-app bl602 (read/write) 1388990 1392522 3532 0.3
.bss 90729 90729 0 0.0
.data 9936 9936 0 0.0
.text 1068760 1072258 3498 0.3
bl602+rpc (read/write) 1434454 1437994 3540 0.2
.bss 98161 98161 0 0.0
.data 10320 10320 0 0.0
.text 1100362 1103874 3512 0.3
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188163 1191779 3616 0.3
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67126 67126 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1514492 1514756 264 0.0
.debug_aranges 132064 132168 104 0.1
.debug_frame 484664 485168 504 0.1
.debug_info 38087205 38109407 22202 0.1
.debug_line 5271085 5274796 3711 0.1
.debug_loc 3373269 3380495 7226 0.2
.debug_ranges 359744 360296 552 0.2
.debug_str 3451959 3492956 40997 1.2
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116168 116200 32 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565774 569673 3899 0.7
.symtab 171984 172192 208 0.1
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957074 960660 3586 0.4
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284075 1287691 3616 0.3
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75158 75158 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1651926 1652249 323 0.0
.debug_aranges 139568 139672 104 0.1
.debug_frame 510036 510540 504 0.1
.debug_info 42004560 42026562 22002 0.1
.debug_line 5647232 5650943 3711 0.1
.debug_loc 3566096 3573322 7226 0.2
.debug_ranges 382544 383096 552 0.1
.debug_str 3848087 3889077 40990 1.1
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129560 129592 32 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624947 628846 3899 0.6
.symtab 189792 190000 208 0.1
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030782 1034366 3584 0.3
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677387 678939 1552 0.2
(read/write) 174156 172604 -1552 -0.9
.bss 81236 81236 0 0.0
.data 3380 3380 0 0.0
.rodata 89547 89571 24 0.0
.text 587528 589056 1528 0.3
all-clusters-minimal-app LP_CC2652R7 (read only) 641635 643203 1568 0.2
(read/write) 158004 158004 0 0.0
.bss 80508 80508 0 0.0
.data 3380 3380 0 0.0
.rodata 78683 78715 32 0.0
.text 562632 564168 1536 0.3
lock-ftd LP_CC2652R7 (read only) 676151 677703 1552 0.2
(read/write) 172528 170976 -1552 -0.9
.bss 78460 78460 0 0.0
.data 3304 3304 0 0.0
.rodata 77071 77095 24 0.0
.text 598600 600128 1528 0.3
lock-mtd LP_CC2652R7 (read only) 659939 661499 1560 0.2
(read/write) 184428 182868 -1560 -0.8
.bss 74148 74148 0 0.0
.data 3304 3304 0 0.0
.rodata 102923 102955 32 0.0
.text 556536 558064 1528 0.3
pump-app LP_CC2652R7 (read only) 688591 690167 1576 0.2
(read/write) 160824 159248 -1576 -1.0
.bss 78428 78428 0 0.0
.data 3296 3296 0 0.0
.rodata 90559 90583 24 0.0
.text 597548 599100 1552 0.3
pump-controller-app LP_CC2652R7 (read only) 672899 674451 1552 0.2
(read/write) 176612 175060 -1552 -0.9
.bss 78524 78524 0 0.0
.data 3292 3292 0 0.0
.rodata 86107 86131 24 0.0
.text 586312 587840 1528 0.3
shell LP_CC2652R7 (read only) 668606 670182 1576 0.2
(read/write) 185256 183680 -1576 -0.9
.bss 83556 83556 0 0.0
.data 3376 3376 0 0.0
.rodata 86294 86326 32 0.0
.text 581996 583540 1544 0.3
cyw30739 light cyw930739m2evb_01 (read/write) 588270 589846 1576 0.3
.app_xip_area 464872 466448 1576 0.3
.bss 65816 65816 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592318 593894 1576 0.3
.app_xip_area 463624 465200 1576 0.3
.bss 71104 71104 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544394 545962 1568 0.3
.app_xip_area 426076 427644 1568 0.4
.bss 60784 60784 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974252 975812 1560 0.2
.bss 152260 152260 0 0.0
.data 2248 2248 0 0.0
.text 819724 821284 1560 0.2
BRD4161A+rs911x (read/write) 1034792 1037480 2688 0.3
.bss 186728 186728 0 0.0
.data 2092 2092 0 0.0
.text 845948 848636 2688 0.3
BRD4187C (read/write) 1146656 1149336 2680 0.2
.bss 138648 138648 0 0.0
.data 2596 2596 0 0.0
.text 980816 983496 2680 0.3
lock-app BRD4161A+wf200 (read/write) 1160072 1161632 1560 0.1
.bss 158256 158256 0 0.0
.data 2100 2100 0 0.0
.text 999692 1001252 1560 0.2
window-app BRD4187C (read/write) 1139876 1142548 2672 0.2
.bss 140064 140064 0 0.0
.data 2620 2620 0 0.0
.text 972596 975268 2672 0.3
k32w contact k32w0+release (read/write) 661212 662772 1560 0.2
.bss 77024 77024 0 0.0
.data 2104 2104 0 0.0
.text 562972 564532 1560 0.3
light k32w0+release (read/write) 671256 672816 1560 0.2
.bss 74824 74824 0 0.0
.data 2060 2060 0 0.0
.text 591644 593204 1560 0.3
lock k32w0+release (read/write) 632732 634300 1568 0.2
.bss 75584 75584 0 0.0
.data 2080 2080 0 0.0
.text 552340 553908 1568 0.3
linux all-clusters-app debug (read only) 3088105 3095033 6928 0.2
(read/write) 158352 158352 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 87016 87016 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1192 1192 0 0.0
.rodata 281291 281323 32 0.0
.text 2622450 2629346 6896 0.3
all-clusters-minimal-app debug (read only) 2913913 2920857 6944 0.2
(read/write) 149784 149784 0 0.0
.bss 61664 61664 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 79384 79384 0 0.0
.dynamic 608 608 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 280811 280843 32 0.0
.text 2451682 2458594 6912 0.3
bridge-app debug+rpc (read only) 2413737 2413769 32 0.0
(read/write) 129552 129552 0 0.0
.bss 51008 51008 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 68680 68680 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 211104 211136 32 0.0
.text 2035106 2035106 0 0.0
chip-tool debug (read only) 11082657 11082657 0 0.0
(read/write) 658408 658408 0 0.0
.bss 25912 25912 0 0.0
.data 2754 2754 0 0.0
.data.rel.ro 623080 623080 0 0.0
.dynamic 608 608 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 592253 592253 0 0.0
.text 8966484 8966484 0 0.0
chip-tool-ipv6only arm64 (read only) 10438300 10438300 0 0.0
(read/write) 706417 706417 0 0.0
.bss 33905 33905 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518364 518364 0 0.0
.text 8264100 8264100 0 0.0
lighting-app debug+rpc (read only) 2641089 2651009 9920 0.4
(read/write) 132240 132240 0 0.0
.bss 49984 49984 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 73800 73800 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 227968 228000 32 0.0
.text 2237170 2247058 9888 0.4
lock-app debug (read only) 2603209 2610153 6944 0.3
(read/write) 127288 127288 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70728 70728 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 244200 244232 32 0.0
.text 2187426 2194338 6912 0.3
ota-provider-app debug (read only) 2399729 2399761 32 0.0
(read/write) 120816 120816 0 0.0
.bss 47936 47936 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 64648 64648 0 0.0
.dynamic 608 608 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 216776 216808 32 0.0
.text 2014434 2014434 0 0.0
ota-requestor-app debug (read only) 2564865 2571793 6928 0.3
(read/write) 129128 129128 0 0.0
.bss 50464 50464 0 0.0
.data 2496 2496 0 0.0
.data.rel.ro 69992 69992 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 223856 223888 32 0.0
.text 2163394 2170290 6896 0.3
shell debug (read only) 2624377 2624377 0 0.0
(read/write) 142880 142880 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77936 77936 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 239602 239602 0 0.0
.text 2225394 2225394 0 0.0
thermostat-no-ble arm64 (read only) 2394748 2405740 10992 0.5
(read/write) 143649 143649 0 0.0
.bss 55361 55361 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144596 48 0.0
.text 2007216 2018160 10944 0.5
tv-app debug (read only) 3234673 3234705 32 0.0
(read/write) 261616 261616 0 0.0
.bss 170552 170552 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80144 80144 0 0.0
.dynamic 608 608 0 0.0
.got 4976 4976 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 267640 267672 32 0.0
.text 2773954 2773954 0 0.0
tv-casting-app debug (read only) 5582745 5582777 32 0.0
(read/write) 161728 161728 0 0.0
.bss 52120 52120 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101096 101096 0 0.0
.dynamic 608 608 0 0.0
.got 4888 4888 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 355481 355513 32 0.0
.text 4952162 4952162 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452224 2453688 1464 0.1
.bss 215012 215012 0 0.0
.data 5872 5872 0 0.0
.text 1414868 1416332 1464 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187759 1189339 1580 0.1
bss 145285 145285 0 0.0
rodata 144436 144464 28 0.0
text 816968 818506 1538 0.2
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167123 1168687 1564 0.1
bss 144512 144512 0 0.0
rodata 136224 136252 28 0.0
text 805458 806990 1532 0.2
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1746036 1748724 2688 0.2
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1235810 1236079 269 0.0
.debug_aranges 110736 110840 104 0.1
.debug_frame 371344 371820 476 0.1
.debug_info 2702594 27053860 27913 0.1
.debug_line 3685828 3689801 3973 0.1
.debug_loc 3603682 3616106 12424 0.3
.debug_ranges 339560 340088 528 0.2
.debug_str 3435682 3476686 41004 1.2
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570280 574234 3954 0.7
.symtab 421424 422000 576 0.1
.text 1546272 1548960 2688 0.2
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1688644 1691308 2664 0.2
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1227653 1227922 269 0.0
.debug_aranges 110208 110312 104 0.1
.debug_frame 374424 374900 476 0.1
.debug_info 26762577 26790491 27914 0.1
.debug_line 3706812 3710785 3973 0.1
.debug_loc 3591319 3603743 12424 0.3
.debug_ranges 338176 338704 528 0.2
.debug_str 3424711 3465715 41004 1.2
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534369 538268 3899 0.7
.symtab 407856 408368 512 0.1
.text 1489616 1492280 2664 0.2
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850888 850888 0 0.0
(read/write) 1606972 1609652 2680 0.2
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180000 180000 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1062114 1062383 269 0.0
.debug_aranges 102408 102512 104 0.1
.debug_frame 344740 345216 476 0.1
.debug_info 22228025 22255939 27914 0.1
.debug_line 3276154 3280127 3973 0.1
.debug_loc 3289030 3301454 12424 0.4
.debug_ranges 303472 304000 528 0.2
.debug_str 3230138 3271142 41004 1.3
.heap 850888 850888 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470694 474648 3954 0.8
.symtab 376240 376816 576 0.2
.text 1416128 1418808 2680 0.2
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1640764 1643428 2664 0.2
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184976 184976 0 0.0
.comment 204 204 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 2472 2472 0 0.0
.debug_abbrev 1064089 1064358 269 0.0
.debug_aranges 102808 102912 104 0.1
.debug_frame 346612 347088 476 0.1
.debug_info 22461403 22489315 27912 0.1
.debug_line 3273048 3277021 3973 0.1
.debug_loc 3316624 3329048 12424 0.4
.debug_ranges 305416 305944 528 0.2
.debug_str 3249609 3290613 41004 1.3
.heap 845896 845896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473097 477051 3954 0.8
.symtab 377920 378496 576 0.2
.text 1444928 1447592 2664 0.2
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149520 1151088 1568 0.1
.bss 110596 110596 0 0.0
.data 848 848 0 0.0
.text 596620 598188 1568 0.3
lock-app qpg6105+debug (read/write) 1114312 1115888 1576 0.1
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 561408 562984 1576 0.3
telink all-clusters-app tlsr9518adk80d (read/write) 936772 938252 1480 0.2
bss 81616 81616 0 0.0
noinit 43440 43440 0 0.0
text 648608 650086 1478 0.2
all-clusters-minimal-app tlsr9518adk80d (read/write) 874748 876228 1480 0.2
bss 80840 80840 0 0.0
noinit 43440 43440 0 0.0
text 612578 614060 1482 0.2
light-switch-app tlsr9518adk80d (read/write) 790244 791724 1480 0.2
bss 72464 72464 0 0.0
noinit 43520 43520 0 0.0
text 554108 555586 1478 0.3
lighting-app tlsr9518adk80d (read/write) 874468 875940 1472 0.2
bss 82232 82232 0 0.0
noinit 43520 43520 0 0.0
text 624086 625564 1478 0.2
ota-requestor-app tlsr9518adk80d (read/write) 804736 806216 1480 0.2
bss 74036 74036 0 0.0
noinit 43520 43520 0 0.0
text 565484 566968 1484 0.3

@andy31415
Copy link
Contributor

@yhoyoon please sign the CLA

@github-actions
Copy link

github-actions bot commented Nov 5, 2022

PR #23492: Size comparison from d066463 to 9adf020

Increases (29 builds for cc13x2_26x2, efr32, k32w, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d066463 9adf020 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677387 677755 368 0.1
.text 587528 587896 368 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 641635 642003 368 0.1
.text 562632 563000 368 0.1
lock-ftd LP_CC2652R7 (read only) 676151 676519 368 0.1
.text 598600 598968 368 0.1
lock-mtd LP_CC2652R7 (read only) 659939 660307 368 0.1
.text 556536 556904 368 0.1
pump-app LP_CC2652R7 (read only) 688591 688983 392 0.1
.text 597548 597940 392 0.1
pump-controller-app LP_CC2652R7 (read only) 672899 673267 368 0.1
.text 586312 586680 368 0.1
shell LP_CC2652R7 (read only) 668606 668990 384 0.1
.text 581996 582380 384 0.1
efr32 lighting-app BRD4161A+rpc (read/write) 974252 974604 352 0.0
.text 819724 820076 352 0.0
BRD4161A+rs911x (read/write) 1034792 1035184 392 0.0
.text 845948 846340 392 0.0
BRD4187C (read/write) 1146656 1147016 360 0.0
.text 980816 981176 360 0.0
lock-app BRD4161A+wf200 (read/write) 1160072 1160424 352 0.0
.text 999692 1000044 352 0.0
window-app BRD4187C (read/write) 1139876 1140236 360 0.0
.text 972596 972956 360 0.0
k32w contact k32w0+release (read/write) 661212 661548 336 0.1
.text 562972 563308 336 0.1
light k32w0+release (read/write) 671256 671640 384 0.1
.text 591644 592028 384 0.1
lock k32w0+release (read/write) 632732 633068 336 0.1
.text 552340 552676 336 0.1
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452224 2452696 472 0.0
.text 1414868 1415340 472 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187759 1188095 336 0.0
text 816968 817304 336 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167123 1167459 336 0.0
text 805458 805790 332 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746036 1746412 376 0.0
.debug_info 2702594 27026491 544 0.0
.debug_line 3685828 3686488 660 0.0
.debug_loc 3603682 3604811 1129 0.0
.debug_ranges 339560 339608 48 0.0
.strtab 570280 570522 242 0.0
.symtab 421424 421456 32 0.0
.text 1546272 1546648 376 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688644 1689012 368 0.0
.debug_info 26762577 26763120 543 0.0
.debug_line 3706812 3707472 660 0.0
.debug_loc 3591319 3592448 1129 0.0
.debug_ranges 338176 338224 48 0.0
.strtab 534369 534611 242 0.0
.symtab 407856 407888 32 0.0
.text 1489616 1489984 368 0.0
light cy8ckit_062s2_43012 (read/write) 1606972 1607340 368 0.0
.debug_info 22228025 22228568 543 0.0
.debug_line 3276154 3276814 660 0.0
.debug_loc 3289030 3290192 1162 0.0
.debug_ranges 303472 303520 48 0.0
.strtab 470694 470936 242 0.1
.symtab 376240 376272 32 0.0
.text 1416128 1416496 368 0.0
lock cy8ckit_062s2_43012 (read/write) 1640764 1641132 368 0.0
.debug_info 22461403 22461945 542 0.0
.debug_line 3273048 3273708 660 0.0
.debug_loc 3316624 3317786 1162 0.0
.debug_ranges 305416 305464 48 0.0
.strtab 473097 473339 242 0.1
.symtab 377920 377952 32 0.0
.text 1444928 1445296 368 0.0
qpg lighting-app qpg6105+debug (read/write) 1149520 1149904 384 0.0
.text 596620 597004 384 0.1
lock-app qpg6105+debug (read/write) 1114312 1114704 392 0.0
.text 561408 561800 392 0.1
telink all-clusters-app tlsr9518adk80d (read/write) 936772 937108 336 0.0
text 648608 648942 334 0.1
all-clusters-minimal-app tlsr9518adk80d (read/write) 874748 875084 336 0.0
text 612578 612914 336 0.1
light-switch-app tlsr9518adk80d (read/write) 790244 790580 336 0.0
text 554108 554442 334 0.1
lighting-app tlsr9518adk80d (read/write) 874468 874796 328 0.0
text 624086 624420 334 0.1
ota-requestor-app tlsr9518adk80d (read/write) 804736 805072 336 0.0
text 565484 565822 338 0.1
Decreases (13 builds for cc13x2_26x2, cyw30739, psoc6)
platform target config section d066463 9adf020 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174156 173788 -368 -0.2
lock-ftd LP_CC2652R7 (read/write) 172528 172160 -368 -0.2
lock-mtd LP_CC2652R7 (read/write) 184428 184060 -368 -0.2
pump-app LP_CC2652R7 (read/write) 160824 160432 -392 -0.2
pump-controller-app LP_CC2652R7 (read/write) 176612 176244 -368 -0.2
shell LP_CC2652R7 (read/write) 185256 184872 -384 -0.2
cyw30739 light cyw930739m2evb_01 (read/write) 588270 587126 -1144 -0.2
.app_xip_area 464872 463736 -1136 -0.2
.bss 65816 65808 -8 -0.0
.data 760 728 -32 -4.2
lock cyw930739m2evb_01 (read/write) 592318 591174 -1144 -0.2
.app_xip_area 463624 462488 -1136 -0.2
.bss 71104 71096 -8 -0.0
.data 768 736 -32 -4.2
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544394 543386 -1008 -0.2
.app_xip_area 426076 425068 -1008 -0.2
.bss 60784 60776 -8 -0.0
.data 716 684 -32 -4.5
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1235810 1235764 -46 -0.0
.debug_aranges 110736 110712 -24 -0.0
.debug_frame 371344 371308 -36 -0.0
.debug_str 3435682 3432912 -2770 -0.1
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1227653 1227607 -46 -0.0
.debug_aranges 110208 110184 -24 -0.0
.debug_frame 374424 374388 -36 -0.0
.debug_str 3424711 3421932 -2779 -0.1
light cy8ckit_062s2_43012 .debug_abbrev 1062114 1062068 -46 -0.0
.debug_aranges 102408 102384 -24 -0.0
.debug_frame 344740 344704 -36 -0.0
.debug_str 3230138 3227367 -2771 -0.1
lock cy8ckit_062s2_43012 .debug_abbrev 1064089 1064043 -46 -0.0
.debug_aranges 102808 102784 -24 -0.0
.debug_frame 346612 346576 -36 -0.0
.debug_str 3249609 3246843 -2766 -0.1
Full report (32 builds for cc13x2_26x2, cyw30739, efr32, k32w, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d066463 9adf020 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677387 677755 368 0.1
(read/write) 174156 173788 -368 -0.2
.bss 81236 81236 0 0.0
.data 3380 3380 0 0.0
.rodata 89547 89547 0 0.0
.text 587528 587896 368 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 641635 642003 368 0.1
(read/write) 158004 158004 0 0.0
.bss 80508 80508 0 0.0
.data 3380 3380 0 0.0
.rodata 78683 78683 0 0.0
.text 562632 563000 368 0.1
lock-ftd LP_CC2652R7 (read only) 676151 676519 368 0.1
(read/write) 172528 172160 -368 -0.2
.bss 78460 78460 0 0.0
.data 3304 3304 0 0.0
.rodata 77071 77071 0 0.0
.text 598600 598968 368 0.1
lock-mtd LP_CC2652R7 (read only) 659939 660307 368 0.1
(read/write) 184428 184060 -368 -0.2
.bss 74148 74148 0 0.0
.data 3304 3304 0 0.0
.rodata 102923 102923 0 0.0
.text 556536 556904 368 0.1
pump-app LP_CC2652R7 (read only) 688591 688983 392 0.1
(read/write) 160824 160432 -392 -0.2
.bss 78428 78428 0 0.0
.data 3296 3296 0 0.0
.rodata 90559 90559 0 0.0
.text 597548 597940 392 0.1
pump-controller-app LP_CC2652R7 (read only) 672899 673267 368 0.1
(read/write) 176612 176244 -368 -0.2
.bss 78524 78524 0 0.0
.data 3292 3292 0 0.0
.rodata 86107 86107 0 0.0
.text 586312 586680 368 0.1
shell LP_CC2652R7 (read only) 668606 668990 384 0.1
(read/write) 185256 184872 -384 -0.2
.bss 83556 83556 0 0.0
.data 3376 3376 0 0.0
.rodata 86294 86294 0 0.0
.text 581996 582380 384 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 588270 587126 -1144 -0.2
.app_xip_area 464872 463736 -1136 -0.2
.bss 65816 65808 -8 -0.0
.data 760 728 -32 -4.2
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592318 591174 -1144 -0.2
.app_xip_area 463624 462488 -1136 -0.2
.bss 71104 71096 -8 -0.0
.data 768 736 -32 -4.2
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544394 543386 -1008 -0.2
.app_xip_area 426076 425068 -1008 -0.2
.bss 60784 60776 -8 -0.0
.data 716 684 -32 -4.5
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974252 974604 352 0.0
.bss 152260 152260 0 0.0
.data 2248 2248 0 0.0
.text 819724 820076 352 0.0
BRD4161A+rs911x (read/write) 1034792 1035184 392 0.0
.bss 186728 186728 0 0.0
.data 2092 2092 0 0.0
.text 845948 846340 392 0.0
BRD4187C (read/write) 1146656 1147016 360 0.0
.bss 138648 138648 0 0.0
.data 2596 2596 0 0.0
.text 980816 981176 360 0.0
lock-app BRD4161A+wf200 (read/write) 1160072 1160424 352 0.0
.bss 158256 158256 0 0.0
.data 2100 2100 0 0.0
.text 999692 1000044 352 0.0
window-app BRD4187C (read/write) 1139876 1140236 360 0.0
.bss 140064 140064 0 0.0
.data 2620 2620 0 0.0
.text 972596 972956 360 0.0
k32w contact k32w0+release (read/write) 661212 661548 336 0.1
.bss 77024 77024 0 0.0
.data 2104 2104 0 0.0
.text 562972 563308 336 0.1
light k32w0+release (read/write) 671256 671640 384 0.1
.bss 74824 74824 0 0.0
.data 2060 2060 0 0.0
.text 591644 592028 384 0.1
lock k32w0+release (read/write) 632732 633068 336 0.1
.bss 75584 75584 0 0.0
.data 2080 2080 0 0.0
.text 552340 552676 336 0.1
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452224 2452696 472 0.0
.bss 215012 215012 0 0.0
.data 5872 5872 0 0.0
.text 1414868 1415340 472 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187759 1188095 336 0.0
bss 145285 145285 0 0.0
rodata 144436 144436 0 0.0
text 816968 817304 336 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167123 1167459 336 0.0
bss 144512 144512 0 0.0
rodata 136224 136224 0 0.0
text 805458 805790 332 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841968 841968 0 0.0
(read/write) 1746036 1746412 376 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1235810 1235764 -46 -0.0
.debug_aranges 110736 110712 -24 -0.0
.debug_frame 371344 371308 -36 -0.0
.debug_info 2702594 27026491 544 0.0
.debug_line 3685828 3686488 660 0.0
.debug_loc 3603682 3604811 1129 0.0
.debug_ranges 339560 339608 48 0.0
.debug_str 3435682 3432912 -2770 -0.1
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570280 570522 242 0.0
.symtab 421424 421456 32 0.0
.text 1546272 1546648 376 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 842704 842704 0 0.0
(read/write) 1688644 1689012 368 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1227653 1227607 -46 -0.0
.debug_aranges 110208 110184 -24 -0.0
.debug_frame 374424 374388 -36 -0.0
.debug_info 26762577 26763120 543 0.0
.debug_line 3706812 3707472 660 0.0
.debug_loc 3591319 3592448 1129 0.0
.debug_ranges 338176 338224 48 0.0
.debug_str 3424711 3421932 -2779 -0.1
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534369 534611 242 0.0
.symtab 407856 407888 32 0.0
.text 1489616 1489984 368 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850888 850888 0 0.0
(read/write) 1606972 1607340 368 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180000 180000 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1062114 1062068 -46 -0.0
.debug_aranges 102408 102384 -24 -0.0
.debug_frame 344740 344704 -36 -0.0
.debug_info 22228025 22228568 543 0.0
.debug_line 3276154 3276814 660 0.0
.debug_loc 3289030 3290192 1162 0.0
.debug_ranges 303472 303520 48 0.0
.debug_str 3230138 3227367 -2771 -0.1
.heap 850888 850888 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470694 470936 242 0.1
.symtab 376240 376272 32 0.0
.text 1416128 1416496 368 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845896 845896 0 0.0
(read/write) 1640764 1641132 368 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184976 184976 0 0.0
.comment 204 204 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 2472 2472 0 0.0
.debug_abbrev 1064089 1064043 -46 -0.0
.debug_aranges 102808 102784 -24 -0.0
.debug_frame 346612 346576 -36 -0.0
.debug_info 22461403 22461945 542 0.0
.debug_line 3273048 3273708 660 0.0
.debug_loc 3316624 3317786 1162 0.0
.debug_ranges 305416 305464 48 0.0
.debug_str 3249609 3246843 -2766 -0.1
.heap 845896 845896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473097 473339 242 0.1
.symtab 377920 377952 32 0.0
.text 1444928 1445296 368 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149520 1149904 384 0.0
.bss 110596 110596 0 0.0
.data 848 848 0 0.0
.text 596620 597004 384 0.1
lock-app qpg6105+debug (read/write) 1114312 1114704 392 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 561408 561800 392 0.1
telink all-clusters-app tlsr9518adk80d (read/write) 936772 937108 336 0.0
bss 81616 81616 0 0.0
noinit 43440 43440 0 0.0
text 648608 648942 334 0.1
all-clusters-minimal-app tlsr9518adk80d (read/write) 874748 875084 336 0.0
bss 80840 80840 0 0.0
noinit 43440 43440 0 0.0
text 612578 612914 336 0.1
light-switch-app tlsr9518adk80d (read/write) 790244 790580 336 0.0
bss 72464 72464 0 0.0
noinit 43520 43520 0 0.0
text 554108 554442 334 0.1
lighting-app tlsr9518adk80d (read/write) 874468 874796 328 0.0
bss 82232 82232 0 0.0
noinit 43520 43520 0 0.0
text 624086 624420 334 0.1
ota-requestor-app tlsr9518adk80d (read/write) 804736 805072 336 0.0
bss 74036 74036 0 0.0
noinit 43520 43520 0 0.0
text 565484 565822 338 0.1

@bzbarsky-apple bzbarsky-apple changed the title Fix thread commissioing fail where there are many Thread Border Routers Fix thread commissioning fail where there are many Thread Border Routers Nov 8, 2022
@yhoyoon
Copy link
Contributor Author

yhoyoon commented Nov 14, 2022

@Damian-Nordic , @andy31415 I changed it to use ScopedBuffer instead of STL and use insertion sort. Could you please review again?

Copy link
Contributor

@Damian-Nordic Damian-Nordic left a comment

Choose a reason for hiding this comment

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

Have some minor suggestions, but it's up to you if you want to apply them or not. Looks good to me :)

@Damian-Nordic
Copy link
Contributor

Note that you also need to fix build errors (casting from size_t to int).

@pullapprove pullapprove bot requested review from harimau-qirex, tehampson and turon and removed request for kghost, erjiaqing and kpschoedel November 17, 2022 15:00
@github-actions
Copy link

github-actions bot commented Nov 17, 2022

PR #23492: Size comparison from 3edba4a to 544bd2b

Increases (44 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 3edba4a 544bd2b change % change
bl602 lighting-app bl602 (read/write) 1375970 1376562 592 0.0
.text 1059784 1060376 592 0.1
bl602+rpc (read/write) 1421802 1422386 584 0.0
.text 1091282 1091872 590 0.1
bl702 lighting-app bl702 (read/write) 1195671 1196183 512 0.0
.debug_abbrev 1524294 1524392 98 0.0
.debug_aranges 132376 132384 8 0.0
.debug_frame 485468 485500 32 0.0
.debug_info 39168936 39171766 2830 0.0
.debug_line 5273467 5274364 897 0.0
.debug_loc 3369088 3369789 701 0.0
.debug_ranges 360272 360400 128 0.0
.debug_str 3463114 3465269 2155 0.1
.strtab 567064 567394 330 0.1
.symtab 171936 171968 32 0.0
.text 955934 956446 512 0.1
bl702+rpc (read/write) 1283891 1284675 784 0.1
.debug_abbrev 1668430 1668546 116 0.0
.debug_aranges 140472 140480 8 0.0
.debug_frame 512804 512836 32 0.0
.debug_info 43440304 43443106 2802 0.0
.debug_line 5670476 5671373 897 0.0
.debug_loc 3563615 3564345 730 0.0
.debug_ranges 383696 383824 128 0.0
.debug_str 3860711 3862866 2155 0.1
.strtab 627384 627714 330 0.1
.symtab 190096 190128 32 0.0
.text 1029680 1030452 772 0.1
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678467 678851 384 0.1
.text 588304 588688 384 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 642763 643163 400 0.1
.text 563456 563856 400 0.1
lock-ftd LP_CC2652R7 (read only) 676519 676903 384 0.1
.text 598768 599152 384 0.1
lock-mtd LP_CC2652R7 (read only) 661203 661603 400 0.1
.text 557368 557768 400 0.1
pump-app LP_CC2652R7 (read only) 689047 689439 392 0.1
.text 597764 598156 392 0.1
pump-controller-app LP_CC2652R7 (read only) 673331 673731 400 0.1
.text 586504 586904 400 0.1
shell LP_CC2652R7 (read only) 669686 670086 400 0.1
.text 582772 583172 400 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 587454 587838 384 0.1
.app_xip_area 463664 464048 384 0.1
lock cyw930739m2evb_01 (read/write) 591554 591938 384 0.1
.app_xip_area 462468 462852 384 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544010 544402 392 0.1
.app_xip_area 425740 426132 392 0.1
efr32 lighting-app BRD4161A+rpc (read/write) 974580 974980 400 0.0
.text 820132 820532 400 0.0
BRD4161A+rs911x (read/write) 1035368 1035832 464 0.0
.text 846596 847060 464 0.1
BRD4187C (read/write) 1147176 1147648 472 0.0
.text 981408 981880 472 0.0
lock-app BRD4161A+wf200 (read/write) 1160560 1160960 400 0.0
.text 1000252 1000652 400 0.0
window-app BRD4187C (read/write) 1140396 1140868 472 0.0
.text 973188 973660 472 0.0
esp32 all-clusters-app c3devkit (read only) 1213516 1213854 338 0.0
.flash.text 1213516 1213854 338 0.0
m5stack (read only) 1224391 1224783 392 0.0
.flash.text 1219007 1219399 392 0.0
k32w contact k32w0+release (read/write) 662100 662436 336 0.1
.text 563772 564108 336 0.1
light k32w0+release (read/write) 672192 672544 352 0.1
.text 592492 592844 352 0.1
lock k32w0+release (read/write) 633644 633996 352 0.1
.text 553164 553516 352 0.1
linux all-clusters-app debug (read only) 3077625 3079353 1728 0.1
.text 2611810 2613538 1728 0.1
all-clusters-minimal-app debug (read only) 2903321 2905049 1728 0.1
.text 2441058 2442786 1728 0.1
lighting-app debug+rpc (read only) 2633297 2635057 1760 0.1
.rodata 227872 227904 32 0.0
.text 2228722 2230450 1728 0.1
lock-app debug (read only) 2592521 2594249 1728 0.1
.text 2176642 2178370 1728 0.1
ota-requestor-app debug (read only) 2553953 2555681 1728 0.1
.text 2152578 2154306 1728 0.1
thermostat-no-ble arm64 (read only) 2384124 2385396 1272 0.1
.rodata 144996 145004 8 0.0
.text 1995232 1996496 1264 0.1
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452672 2453200 528 0.0
.text 1415316 1415844 528 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188243 1188643 400 0.0
text 817328 817724 396 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167675 1168059 384 0.0
text 805882 806274 392 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746868 1747340 472 0.0
.debug_abbrev 1235876 1235950 74 0.0
.debug_aranges 110728 110736 8 0.0
.debug_frame 371396 371432 36 0.0
.debug_info 27027690 27031214 3524 0.0
.debug_line 3687746 3688449 703 0.0
.debug_loc 3606504 3607850 1346 0.0
.debug_ranges 340032 340160 128 0.0
.debug_str 3432511 3434666 2155 0.1
.strtab 570636 570966 330 0.1
.symtab 421600 421664 64 0.0
.text 1547104 1547576 472 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1689404 1689868 464 0.0
.debug_abbrev 1227719 1227793 74 0.0
.debug_aranges 110200 110208 8 0.0
.debug_frame 374476 374512 36 0.0
.debug_info 26764320 26767844 3524 0.0
.debug_line 3708730 3709433 703 0.0
.debug_loc 3594110 3595456 1346 0.0
.debug_ranges 338648 338776 128 0.0
.debug_str 3421531 3423686 2155 0.1
.strtab 534725 535055 330 0.1
.symtab 408032 408096 64 0.0
.text 1490376 1490840 464 0.0
light cy8ckit_062s2_43012 (read/write) 1607564 1608028 464 0.0
.debug_abbrev 1062180 1062254 74 0.0
.debug_aranges 102400 102408 8 0.0
.debug_frame 344788 344824 36 0.0
.debug_info 22229531 22233055 3524 0.0
.debug_line 3277857 3278555 698 0.0
.debug_loc 3291595 3292849 1254 0.0
.debug_ranges 303928 304056 128 0.0
.debug_str 3227066 3229221 2155 0.1
.strtab 471050 471380 330 0.1
.symtab 376400 376464 64 0.0
.text 1416720 1417184 464 0.0
lock cy8ckit_062s2_43012 (read/write) 1641588 1642052 464 0.0
.debug_abbrev 1064155 1064229 74 0.0
.debug_aranges 102800 102808 8 0.0
.debug_frame 346664 346700 36 0.0
.debug_info 22463155 22466679 3524 0.0
.debug_line 3274977 3275678 701 0.0
.debug_loc 3319448 3320762 1314 0.0
.debug_ranges 305888 306016 128 0.0
.debug_str 3246423 3248578 2155 0.1
.strtab 473453 473783 330 0.1
.symtab 378096 378160 64 0.0
.text 1445752 1446216 464 0.0
qpg lighting-app qpg6105+debug (read/write) 1151104 1151472 368 0.0
.text 598204 598572 368 0.1
lock-app qpg6105+debug (read/write) 1116880 1117232 352 0.0
.text 563976 564328 352 0.1
telink all-clusters-app tlsr9518adk80d (read/write) 937800 938120 320 0.0
text 649088 649406 318 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875792 876112 320 0.0
text 613074 613394 320 0.1
light-switch-app tlsr9518adk80d (read/write) 791148 791468 320 0.0
text 554536 554856 320 0.1
lighting-app tlsr9518adk80d (read/write) 875372 875692 320 0.0
text 624498 624820 322 0.1
ota-requestor-app tlsr9518adk80d (read/write) 805640 805960 320 0.0
text 565918 566238 320 0.1
Decreases (7 builds for cc13x2_26x2, esp32)
platform target config section 3edba4a 544bd2b change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 173068 172684 -384 -0.2
lock-ftd LP_CC2652R7 (read/write) 172584 172200 -384 -0.2
lock-mtd LP_CC2652R7 (read/write) 183156 182756 -400 -0.2
pump-app LP_CC2652R7 (read/write) 160792 160400 -392 -0.2
pump-controller-app LP_CC2652R7 (read/write) 176604 176204 -400 -0.2
shell LP_CC2652R7 (read/write) 184168 183768 -400 -0.2
esp32 all-clusters-app c3devkit (read/write) 1786582 1786574 -8 -0.0
.flash.rodata 256408 256400 -8 -0.0
Full report (51 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 3edba4a 544bd2b change % change
bl602 lighting-app bl602 (read/write) 1375970 1376562 592 0.0
.bss 90041 90041 0 0.0
.data 9984 9984 0 0.0
.text 1059784 1060376 592 0.1
bl602+rpc (read/write) 1421802 1422386 584 0.0
.bss 98081 98081 0 0.0
.data 10376 10376 0 0.0
.text 1091282 1091872 590 0.1
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1195671 1196183 512 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67166 67166 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1524294 1524392 98 0.0
.debug_aranges 132376 132384 8 0.0
.debug_frame 485468 485500 32 0.0
.debug_info 39168936 39171766 2830 0.0
.debug_line 5273467 5274364 897 0.0
.debug_loc 3369088 3369789 701 0.0
.debug_ranges 360272 360400 128 0.0
.debug_str 3463114 3465269 2155 0.1
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 567064 567394 330 0.1
.symtab 171936 171968 32 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
955934 956446 512 0.1
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1283891 1284675 784 0.1
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75214 75214 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4576 4576 0 0.0
.debug_abbrev 1668430 1668546 116 0.0
.debug_aranges 140472 140480 8 0.0
.debug_frame 512804 512836 32 0.0
.debug_info 43440304 43443106 2802 0.0
.debug_line 5670476 5671373 897 0.0
.debug_loc 3563615 3564345 730 0.0
.debug_ranges 383696 383824 128 0.0
.debug_str 3860711 3862866 2155 0.1
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130280 130280 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 627384 627714 330 0.1
.symtab 190096 190128 32 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1029680 1030452 772 0.1
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678467 678851 384 0.1
(read/write) 173068 172684 -384 -0.2
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89851 89851 0 0.0
.text 588304 588688 384 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 642763 643163 400 0.1
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78987 78987 0 0.0
.text 563456 563856 400 0.1
lock-ftd LP_CC2652R7 (read only) 676519 676903 384 0.1
(read/write) 172584 172200 -384 -0.2
.bss 78884 78884 0 0.0
.data 3304 3304 0 0.0
.rodata 77271 77271 0 0.0
.text 598768 599152 384 0.1
lock-mtd LP_CC2652R7 (read only) 661203 661603 400 0.1
(read/write) 183156 182756 -400 -0.2
.bss 74140 74140 0 0.0
.data 3304 3304 0 0.0
.rodata 103355 103355 0 0.0
.text 557368 557768 400 0.1
pump-app LP_CC2652R7 (read only) 689047 689439 392 0.1
(read/write) 160792 160400 -392 -0.2
.bss 78852 78852 0 0.0
.data 3296 3296 0 0.0
.rodata 90799 90799 0 0.0
.text 597764 598156 392 0.1
pump-controller-app LP_CC2652R7 (read only) 673331 673731 400 0.1
(read/write) 176604 176204 -400 -0.2
.bss 78948 78948 0 0.0
.data 3292 3292 0 0.0
.rodata 86347 86347 0 0.0
.text 586504 586904 400 0.1
shell LP_CC2652R7 (read only) 669686 670086 400 0.1
(read/write) 184168 183768 -400 -0.2
.bss 83548 83548 0 0.0
.data 3376 3376 0 0.0
.rodata 86598 86598 0 0.0
.text 582772 583172 400 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 587454 587838 384 0.1
.app_xip_area 463664 464048 384 0.1
.bss 66208 66208 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591554 591938 384 0.1
.app_xip_area 462468 462852 384 0.1
.bss 71496 71496 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544010 544402 392 0.1
.app_xip_area 425740 426132 392 0.1
.bss 60736 60736 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974580 974980 400 0.0
.bss 152260 152260 0 0.0
.data 2168 2168 0 0.0
.text 820132 820532 400 0.0
BRD4161A+rs911x (read/write) 1035368 1035832 464 0.0
.bss 186736 186736 0 0.0
.data 2012 2012 0 0.0
.text 846596 847060 464 0.1
BRD4187C (read/write) 1147176 1147648 472 0.0
.bss 138656 138656 0 0.0
.data 2516 2516 0 0.0
.text 981408 981880 472 0.0
lock-app BRD4161A+wf200 (read/write) 1160560 1160960 400 0.0
.bss 158264 158264 0 0.0
.data 2020 2020 0 0.0
.text 1000252 1000652 400 0.0
window-app BRD4187C (read/write) 1140396 1140868 472 0.0
.bss 140072 140072 0 0.0
.data 2540 2540 0 0.0
.text 973188 973660 472 0.0
esp32 all-clusters-app c3devkit (read only) 1213516 1213854 338 0.0
(read/write) 1786582 1786574 -8 -0.0
.dram0.bss 76680 76680 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 256408 256400 -8 -0.0
.flash.text 1213516 1213854 338 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1224391 1224783 392 0.0
(read/write) 562540 562540 0 0.0
.dram0.bss 82056 82056 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 313520 313520 0 0.0
.flash.text 1219007 1219399 392 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 662100 662436 336 0.1
.bss 77112 77112 0 0.0
.data 2104 2104 0 0.0
.text 563772 564108 336 0.1
light k32w0+release (read/write) 672192 672544 352 0.1
.bss 74912 74912 0 0.0
.data 2060 2060 0 0.0
.text 592492 592844 352 0.1
lock k32w0+release (read/write) 633644 633996 352 0.1
.bss 75672 75672 0 0.0
.data 2080 2080 0 0.0
.text 553164 553516 352 0.1
linux all-clusters-app debug (read only) 3077625 3079353 1728 0.1
(read/write) 158472 158472 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 87144 87144 0 0.0
.dynamic 608 608 0 0.0
.got 4768 4768 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 281323 281323 0 0.0
.text 2611810 2613538 1728 0.1
all-clusters-minimal-app debug (read only) 2903321 2905049 1728 0.1
(read/write) 149872 149872 0 0.0
.bss 61664 61664 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 79512 79512 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280811 280811 0 0.0
.text 2441058 2442786 1728 0.1
bridge-app debug+rpc (read only) 2402241 2402241 0 0.0
(read/write) 129608 129608 0 0.0
.bss 51008 51008 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 68776 68776 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 210976 210976 0 0.0
.text 2023906 2023906 0 0.0
chip-tool debug (read only) 11071265 11071265 0 0.0
(read/write) 658464 658464 0 0.0
.bss 25912 25912 0 0.0
.data 2754 2754 0 0.0
.data.rel.ro 623200 623200 0 0.0
.dynamic 608 608 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 592165 592165 0 0.0
.text 8955396 8955396 0 0.0
chip-tool-ipv6only arm64 (read only) 10424780 10424780 0 0.0
(read/write) 706529 706529 0 0.0
.bss 33905 33905 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650832 650832 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518428 518428 0 0.0
.text 8250564 8250564 0 0.0
lighting-app debug+rpc (read only) 2633297 2635057 1760 0.1
(read/write) 132456 132456 0 0.0
.bss 49984 49984 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 73992 73992 0 0.0
.dynamic 608 608 0 0.0
.got 4632 4632 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 227872 227904 32 0.0
.text 2228722 2230450 1728 0.1
lock-app debug (read only) 2592521 2594249 1728 0.1
(read/write) 127376 127376 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70840 70840 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244168 244168 0 0.0
.text 2176642 2178370 1728 0.1
ota-provider-app debug (read only) 2388689 2388689 0 0.0
(read/write) 120904 120904 0 0.0
.bss 47936 47936 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 64760 64760 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 216648 216648 0 0.0
.text 2003490 2003490 0 0.0
ota-requestor-app debug (read only) 2553953 2555681 1728 0.1
(read/write) 129248 129248 0 0.0
.bss 50464 50464 0 0.0
.data 2496 2496 0 0.0
.data.rel.ro 70120 70120 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 223728 223728 0 0.0
.text 2152578 2154306 1728 0.1
shell debug (read only) 2614817 2614817 0 0.0
(read/write) 142968 142968 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 78040 78040 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 239538 239538 0 0.0
.text 2215762 2215762 0 0.0
thermostat-no-ble arm64 (read only) 2384124 2385396 1272 0.1
(read/write) 143665 143665 0 0.0
.bss 55329 55329 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144996 145004 8 0.0
.text 1995232 1996496 1264 0.1
tv-app debug (read only) 3246977 3246977 0 0.0
(read/write) 261992 261992 0 0.0
.bss 170648 170648 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80384 80384 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 268568 268568 0 0.0
.text 2784418 2784418 0 0.0
tv-casting-app debug (read only) 5573009 5573009 0 0.0
(read/write) 161880 161880 0 0.0
.bss 52120 52120 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101216 101216 0 0.0
.dynamic 608 608 0 0.0
.got 4912 4912 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 355353 355353 0 0.0
.text 4941986 4941986 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452672 2453200 528 0.0
.bss 215012 215012 0 0.0
.data 5872 5872 0 0.0
.text 1415316 1415844 528 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188243 1188643 400 0.0
bss 145285 145285 0 0.0
rodata 144552 144552 0 0.0
text 817328 817724 396 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167675 1168059 384 0.0
bss 144512 144512 0 0.0
rodata 136344 136344 0 0.0
text 805882 806274 392 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1746868 1747340 472 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1235876 1235950 74 0.0
.debug_aranges 110728 110736 8 0.0
.debug_frame 371396 371432 36 0.0
.debug_info 27027690 27031214 3524 0.0
.debug_line 3687746 3688449 703 0.0
.debug_loc 3606504 3607850 1346 0.0
.debug_ranges 340032 340160 128 0.0
.debug_str 3432511 3434666 2155 0.1
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570636 570966 330 0.1
.symtab 421600 421664 64 0.0
.text 1547104 1547576 472 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1689404 1689868 464 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1227719 1227793 74 0.0
.debug_aranges 110200 110208 8 0.0
.debug_frame 374476 374512 36 0.0
.debug_info 26764320 26767844 3524 0.0
.debug_line 3708730 3709433 703 0.0
.debug_loc 3594110 3595456 1346 0.0
.debug_ranges 338648 338776 128 0.0
.debug_str 3421531 3423686 2155 0.1
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534725 535055 330 0.1
.symtab 408032 408096 64 0.0
.text 1490376 1490840 464 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850888 850888 0 0.0
(read/write) 1607564 1608028 464 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180000 180000 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1062180 1062254 74 0.0
.debug_aranges 102400 102408 8 0.0
.debug_frame 344788 344824 36 0.0
.debug_info 22229531 22233055 3524 0.0
.debug_line 3277857 3278555 698 0.0
.debug_loc 3291595 3292849 1254 0.0
.debug_ranges 303928 304056 128 0.0
.debug_str 3227066 3229221 2155 0.1
.heap 850888 850888 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 471050 471380 330 0.1
.symtab 376400 376464 64 0.0
.text 1416720 1417184 464 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1641588 1642052 464 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184976 184976 0 0.0
.comment 204 204 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 2472 2472 0 0.0
.debug_abbrev 1064155 1064229 74 0.0
.debug_aranges 102800 102808 8 0.0
.debug_frame 346664 346700 36 0.0
.debug_info 22463155 22466679 3524 0.0
.debug_line 3274977 3275678 701 0.0
.debug_loc 3319448 3320762 1314 0.0
.debug_ranges 305888 306016 128 0.0
.debug_str 3246423 3248578 2155 0.1
.heap 845896 845896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473453 473783 330 0.1
.symtab 378096 378160 64 0.0
.text 1445752 1446216 464 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151104 1151472 368 0.0
.bss 111116 111116 0 0.0
.data 848 848 0 0.0
.text 598204 598572 368 0.1
lock-app qpg6105+debug (read/write) 1116880 1117232 352 0.0
.bss 106564 106564 0 0.0
.data 836 836 0 0.0
.text 563976 564328 352 0.1
telink all-clusters-app tlsr9518adk80d (read/write) 937800 938120 320 0.0
bss 81620 81620 0 0.0
noinit 43440 43440 0 0.0
text 649088 649406 318 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875792 876112 320 0.0
bss 80844 80844 0 0.0
noinit 43440 43440 0 0.0
text 613074 613394 320 0.1
light-switch-app tlsr9518adk80d (read/write) 791148 791468 320 0.0
bss 72468 72468 0 0.0
noinit 43520 43520 0 0.0
text 554536 554856 320 0.1
lighting-app tlsr9518adk80d (read/write) 875372 875692 320 0.0
bss 82232 82232 0 0.0
noinit 43520 43520 0 0.0
text 624498 624820 322 0.1
ota-requestor-app tlsr9518adk80d (read/write) 805640 805960 320 0.0
bss 74040 74040 0 0.0
noinit 43520 43520 0 0.0
text 565918 566238 320 0.1

@github-actions
Copy link

github-actions bot commented Nov 17, 2022

PR #23492: Size comparison from b568009 to 09aa8f4

Increases (44 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b568009 09aa8f4 change % change
bl602 lighting-app bl602 (read/write) 1375978 1376570 592 0.0
.text 1059786 1060378 592 0.1
bl602+rpc (read/write) 1421794 1422386 592 0.0
.text 1091280 1091870 590 0.1
bl702 lighting-app bl702 (read/write) 1195671 1196199 528 0.0
.debug_abbrev 1524294 1524392 98 0.0
.debug_aranges 132376 132384 8 0.0
.debug_frame 485468 485500 32 0.0
.debug_info 39168937 39171768 2831 0.0
.debug_line 5273467 5274364 897 0.0
.debug_loc 3369088 3369789 701 0.0
.debug_ranges 360272 360400 128 0.0
.debug_str 3463114 3465269 2155 0.1
.strtab 567064 567394 330 0.1
.symtab 171936 171968 32 0.0
.text 955936 956450 514 0.1
bl702+rpc (read/write) 1283907 1284675 768 0.1
.debug_abbrev 1668430 1668546 116 0.0
.debug_aranges 140472 140480 8 0.0
.debug_frame 512804 512836 32 0.0
.debug_info 43440305 43443105 2800 0.0
.debug_line 5670476 5671373 897 0.0
.debug_loc 3563615 3564345 730 0.0
.debug_ranges 383696 383824 128 0.0
.debug_str 3860711 3862866 2155 0.1
.strtab 627384 627714 330 0.1
.symtab 190096 190128 32 0.0
.text 1029682 1030450 768 0.1
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678467 678851 384 0.1
.text 588304 588688 384 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 642763 643155 392 0.1
.text 563456 563848 392 0.1
lock-ftd LP_CC2652R7 (read only) 676519 676903 384 0.1
.text 598768 599152 384 0.1
lock-mtd LP_CC2652R7 (read only) 661203 661603 400 0.1
.text 557368 557768 400 0.1
pump-app LP_CC2652R7 (read only) 689055 689439 384 0.1
.text 597772 598156 384 0.1
pump-controller-app LP_CC2652R7 (read only) 673331 673731 400 0.1
.text 586504 586904 400 0.1
shell LP_CC2652R7 (read only) 669686 670086 400 0.1
.text 582772 583172 400 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 587454 587838 384 0.1
.app_xip_area 463664 464048 384 0.1
lock cyw930739m2evb_01 (read/write) 591554 591938 384 0.1
.app_xip_area 462468 462852 384 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544010 544402 392 0.1
.app_xip_area 425740 426132 392 0.1
efr32 lighting-app BRD4161A+rpc (read/write) 974580 974980 400 0.0
.text 820132 820532 400 0.0
BRD4161A+rs911x (read/write) 1035368 1035832 464 0.0
.text 846596 847060 464 0.1
BRD4187C (read/write) 1147176 1147648 472 0.0
.text 981408 981880 472 0.0
lock-app BRD4161A+wf200 (read/write) 1160560 1160960 400 0.0
.text 1000252 1000652 400 0.0
window-app BRD4187C (read/write) 1140396 1140868 472 0.0
.text 973188 973660 472 0.0
esp32 all-clusters-app c3devkit (read only) 1213514 1213854 340 0.0
.flash.text 1213514 1213854 340 0.0
m5stack (read only) 1224391 1224783 392 0.0
.flash.text 1219007 1219399 392 0.0
k32w contact k32w0+release (read/write) 662100 662436 336 0.1
.text 563772 564108 336 0.1
light k32w0+release (read/write) 672192 672544 352 0.1
.text 592492 592844 352 0.1
lock k32w0+release (read/write) 633660 633996 336 0.1
.text 553180 553516 336 0.1
linux all-clusters-app debug (read only) 3077881 3079609 1728 0.1
.text 2612034 2613762 1728 0.1
all-clusters-minimal-app debug (read only) 2903577 2905289 1712 0.1
.text 2441282 2442994 1712 0.1
lighting-app debug+rpc (read only) 2633537 2635297 1760 0.1
.rodata 227904 227936 32 0.0
.text 2228930 2230658 1728 0.1
lock-app debug (read only) 2592809 2594537 1728 0.1
.text 2176866 2178594 1728 0.1
ota-requestor-app debug (read only) 2554193 2555921 1728 0.1
.text 2152786 2154514 1728 0.1
thermostat-no-ble arm64 (read only) 2384300 2385572 1272 0.1
.rodata 145028 145036 8 0.0
.text 1995376 1996640 1264 0.1
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452672 2453200 528 0.0
.text 1415316 1415844 528 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188435 1188835 400 0.0
text 817352 817744 392 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167867 1168251 384 0.0
text 805898 806290 392 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746868 1747340 472 0.0
.debug_abbrev 1235876 1235950 74 0.0
.debug_aranges 110728 110736 8 0.0
.debug_frame 371396 371432 36 0.0
.debug_info 27027690 27031214 3524 0.0
.debug_line 3687746 3688449 703 0.0
.debug_loc 3606504 3607850 1346 0.0
.debug_ranges 340032 340160 128 0.0
.debug_str 3432511 3434666 2155 0.1
.strtab 570636 570966 330 0.1
.symtab 421600 421664 64 0.0
.text 1547104 1547576 472 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1689404 1689868 464 0.0
.debug_abbrev 1227719 1227793 74 0.0
.debug_aranges 110200 110208 8 0.0
.debug_frame 374476 374512 36 0.0
.debug_info 26764320 26767844 3524 0.0
.debug_line 3708730 3709433 703 0.0
.debug_loc 3594110 3595456 1346 0.0
.debug_ranges 338648 338776 128 0.0
.debug_str 3421531 3423686 2155 0.1
.strtab 534725 535055 330 0.1
.symtab 408032 408096 64 0.0
.text 1490376 1490840 464 0.0
light cy8ckit_062s2_43012 (read/write) 1607564 1608028 464 0.0
.debug_abbrev 1062180 1062254 74 0.0
.debug_aranges 102400 102408 8 0.0
.debug_frame 344788 344824 36 0.0
.debug_info 22229530 22233054 3524 0.0
.debug_line 3277857 3278555 698 0.0
.debug_loc 3291595 3292849 1254 0.0
.debug_ranges 303928 304056 128 0.0
.debug_str 3227066 3229221 2155 0.1
.strtab 471050 471380 330 0.1
.symtab 376400 376464 64 0.0
.text 1416720 1417184 464 0.0
lock cy8ckit_062s2_43012 (read/write) 1641588 1642052 464 0.0
.debug_abbrev 1064155 1064229 74 0.0
.debug_aranges 102800 102808 8 0.0
.debug_frame 346664 346700 36 0.0
.debug_info 22463155 22466679 3524 0.0
.debug_line 3274977 3275678 701 0.0
.debug_loc 3319448 3320762 1314 0.0
.debug_ranges 305888 306016 128 0.0
.debug_str 3246423 3248578 2155 0.1
.strtab 473453 473783 330 0.1
.symtab 378096 378160 64 0.0
.text 1445752 1446216 464 0.0
qpg lighting-app qpg6105+debug (read/write) 1151104 1151472 368 0.0
.text 598204 598572 368 0.1
lock-app qpg6105+debug (read/write) 1116880 1117232 352 0.0
.text 563976 564328 352 0.1
telink all-clusters-app tlsr9518adk80d (read/write) 937776 938096 320 0.0
text 649064 649384 320 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875768 876088 320 0.0
text 613050 613370 320 0.1
light-switch-app tlsr9518adk80d (read/write) 791124 791444 320 0.0
text 554512 554832 320 0.1
lighting-app tlsr9518adk80d (read/write) 875348 875668 320 0.0
text 624476 624796 320 0.1
ota-requestor-app tlsr9518adk80d (read/write) 805616 805936 320 0.0
text 565890 566210 320 0.1
Decreases (8 builds for cc13x2_26x2, esp32)
platform target config section b568009 09aa8f4 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 173068 172684 -384 -0.2
lock-ftd LP_CC2652R7 (read/write) 172584 172200 -384 -0.2
lock-mtd LP_CC2652R7 (read/write) 183156 182756 -400 -0.2
pump-app LP_CC2652R7 (read/write) 160784 160400 -384 -0.2
pump-controller-app LP_CC2652R7 (read/write) 176604 176204 -400 -0.2
shell LP_CC2652R7 (read/write) 184168 183768 -400 -0.2
esp32 all-clusters-app c3devkit (read/write) 1786582 1786574 -8 -0.0
.flash.rodata 256408 256400 -8 -0.0
m5stack (read/write) 562548 562540 -8 -0.0
.flash.rodata 313528 313520 -8 -0.0
Full report (51 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b568009 09aa8f4 change % change
bl602 lighting-app bl602 (read/write) 1375978 1376570 592 0.0
.bss 90041 90041 0 0.0
.data 9984 9984 0 0.0
.text 1059786 1060378 592 0.1
bl602+rpc (read/write) 1421794 1422386 592 0.0
.bss 98081 98081 0 0.0
.data 10376 10376 0 0.0
.text 1091280 1091870 590 0.1
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1195671 1196199 528 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67166 67166 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1524294 1524392 98 0.0
.debug_aranges 132376 132384 8 0.0
.debug_frame 485468 485500 32 0.0
.debug_info 39168937 39171768 2831 0.0
.debug_line 5273467 5274364 897 0.0
.debug_loc 3369088 3369789 701 0.0
.debug_ranges 360272 360400 128 0.0
.debug_str 3463114 3465269 2155 0.1
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 567064 567394 330 0.1
.symtab 171936 171968 32 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
955936 956450 514 0.1
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1283907 1284675 768 0.1
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75214 75214 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4576 4576 0 0.0
.debug_abbrev 1668430 1668546 116 0.0
.debug_aranges 140472 140480 8 0.0
.debug_frame 512804 512836 32 0.0
.debug_info 43440305 43443105 2800 0.0
.debug_line 5670476 5671373 897 0.0
.debug_loc 3563615 3564345 730 0.0
.debug_ranges 383696 383824 128 0.0
.debug_str 3860711 3862866 2155 0.1
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130280 130280 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 627384 627714 330 0.1
.symtab 190096 190128 32 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1029682 1030450 768 0.1
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678467 678851 384 0.1
(read/write) 173068 172684 -384 -0.2
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89851 89851 0 0.0
.text 588304 588688 384 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 642763 643155 392 0.1
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78987 78987 0 0.0
.text 563456 563848 392 0.1
lock-ftd LP_CC2652R7 (read only) 676519 676903 384 0.1
(read/write) 172584 172200 -384 -0.2
.bss 78884 78884 0 0.0
.data 3304 3304 0 0.0
.rodata 77271 77271 0 0.0
.text 598768 599152 384 0.1
lock-mtd LP_CC2652R7 (read only) 661203 661603 400 0.1
(read/write) 183156 182756 -400 -0.2
.bss 74140 74140 0 0.0
.data 3304 3304 0 0.0
.rodata 103355 103355 0 0.0
.text 557368 557768 400 0.1
pump-app LP_CC2652R7 (read only) 689055 689439 384 0.1
(read/write) 160784 160400 -384 -0.2
.bss 78852 78852 0 0.0
.data 3296 3296 0 0.0
.rodata 90799 90799 0 0.0
.text 597772 598156 384 0.1
pump-controller-app LP_CC2652R7 (read only) 673331 673731 400 0.1
(read/write) 176604 176204 -400 -0.2
.bss 78948 78948 0 0.0
.data 3292 3292 0 0.0
.rodata 86347 86347 0 0.0
.text 586504 586904 400 0.1
shell LP_CC2652R7 (read only) 669686 670086 400 0.1
(read/write) 184168 183768 -400 -0.2
.bss 83548 83548 0 0.0
.data 3376 3376 0 0.0
.rodata 86598 86598 0 0.0
.text 582772 583172 400 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 587454 587838 384 0.1
.app_xip_area 463664 464048 384 0.1
.bss 66208 66208 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591554 591938 384 0.1
.app_xip_area 462468 462852 384 0.1
.bss 71496 71496 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544010 544402 392 0.1
.app_xip_area 425740 426132 392 0.1
.bss 60736 60736 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974580 974980 400 0.0
.bss 152260 152260 0 0.0
.data 2168 2168 0 0.0
.text 820132 820532 400 0.0
BRD4161A+rs911x (read/write) 1035368 1035832 464 0.0
.bss 186736 186736 0 0.0
.data 2012 2012 0 0.0
.text 846596 847060 464 0.1
BRD4187C (read/write) 1147176 1147648 472 0.0
.bss 138656 138656 0 0.0
.data 2516 2516 0 0.0
.text 981408 981880 472 0.0
lock-app BRD4161A+wf200 (read/write) 1160560 1160960 400 0.0
.bss 158264 158264 0 0.0
.data 2020 2020 0 0.0
.text 1000252 1000652 400 0.0
window-app BRD4187C (read/write) 1140396 1140868 472 0.0
.bss 140072 140072 0 0.0
.data 2540 2540 0 0.0
.text 973188 973660 472 0.0
esp32 all-clusters-app c3devkit (read only) 1213514 1213854 340 0.0
(read/write) 1786582 1786574 -8 -0.0
.dram0.bss 76680 76680 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 256408 256400 -8 -0.0
.flash.text 1213514 1213854 340 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1224391 1224783 392 0.0
(read/write) 562548 562540 -8 -0.0
.dram0.bss 82056 82056 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 313528 313520 -8 -0.0
.flash.text 1219007 1219399 392 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 662100 662436 336 0.1
.bss 77112 77112 0 0.0
.data 2104 2104 0 0.0
.text 563772 564108 336 0.1
light k32w0+release (read/write) 672192 672544 352 0.1
.bss 74912 74912 0 0.0
.data 2060 2060 0 0.0
.text 592492 592844 352 0.1
lock k32w0+release (read/write) 633660 633996 336 0.1
.bss 75672 75672 0 0.0
.data 2080 2080 0 0.0
.text 553180 553516 336 0.1
linux all-clusters-app debug (read only) 3077881 3079609 1728 0.1
(read/write) 158472 158472 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 87144 87144 0 0.0
.dynamic 608 608 0 0.0
.got 4768 4768 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 281355 281355 0 0.0
.text 2612034 2613762 1728 0.1
all-clusters-minimal-app debug (read only) 2903577 2905289 1712 0.1
(read/write) 149872 149872 0 0.0
.bss 61664 61664 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 79512 79512 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280843 280843 0 0.0
.text 2441282 2442994 1712 0.1
bridge-app debug+rpc (read only) 2402481 2402481 0 0.0
(read/write) 129608 129608 0 0.0
.bss 51008 51008 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 68776 68776 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 211008 211008 0 0.0
.text 2024114 2024114 0 0.0
chip-tool debug (read only) 11071537 11071537 0 0.0
(read/write) 658464 658464 0 0.0
.bss 25912 25912 0 0.0
.data 2754 2754 0 0.0
.data.rel.ro 623200 623200 0 0.0
.dynamic 608 608 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 592229 592229 0 0.0
.text 8955604 8955604 0 0.0
chip-tool-ipv6only arm64 (read only) 10424956 10424956 0 0.0
(read/write) 706529 706529 0 0.0
.bss 33905 33905 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650832 650832 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518460 518460 0 0.0
.text 8250708 8250708 0 0.0
lighting-app debug+rpc (read only) 2633537 2635297 1760 0.1
(read/write) 132456 132456 0 0.0
.bss 49984 49984 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 73992 73992 0 0.0
.dynamic 608 608 0 0.0
.got 4632 4632 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 227904 227936 32 0.0
.text 2228930 2230658 1728 0.1
lock-app debug (read only) 2592809 2594537 1728 0.1
(read/write) 127376 127376 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70840 70840 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244232 244232 0 0.0
.text 2176866 2178594 1728 0.1
ota-provider-app debug (read only) 2388977 2388977 0 0.0
(read/write) 120904 120904 0 0.0
.bss 47936 47936 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 64760 64760 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 216712 216712 0 0.0
.text 2003714 2003714 0 0.0
ota-requestor-app debug (read only) 2554193 2555921 1728 0.1
(read/write) 129248 129248 0 0.0
.bss 50464 50464 0 0.0
.data 2496 2496 0 0.0
.data.rel.ro 70120 70120 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 223760 223760 0 0.0
.text 2152786 2154514 1728 0.1
shell debug (read only) 2615089 2615089 0 0.0
(read/write) 142968 142968 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 78040 78040 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 239602 239602 0 0.0
.text 2215970 2215970 0 0.0
thermostat-no-ble arm64 (read only) 2384300 2385572 1272 0.1
(read/write) 143665 143665 0 0.0
.bss 55329 55329 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 145028 145036 8 0.0
.text 1995376 1996640 1264 0.1
tv-app debug (read only) 3247233 3247233 0 0.0
(read/write) 261992 261992 0 0.0
.bss 170648 170648 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80384 80384 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 268600 268600 0 0.0
.text 2784642 2784642 0 0.0
tv-casting-app debug (read only) 5573217 5573217 0 0.0
(read/write) 161880 161880 0 0.0
.bss 52120 52120 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101216 101216 0 0.0
.dynamic 608 608 0 0.0
.got 4912 4912 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 355385 355385 0 0.0
.text 4942162 4942162 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452672 2453200 528 0.0
.bss 215012 215012 0 0.0
.data 5872 5872 0 0.0
.text 1415316 1415844 528 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188435 1188835 400 0.0
bss 145285 145285 0 0.0
rodata 144728 144728 0 0.0
text 817352 817744 392 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167867 1168251 384 0.0
bss 144512 144512 0 0.0
rodata 136520 136520 0 0.0
text 805898 806290 392 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1746868 1747340 472 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1235876 1235950 74 0.0
.debug_aranges 110728 110736 8 0.0
.debug_frame 371396 371432 36 0.0
.debug_info 27027690 27031214 3524 0.0
.debug_line 3687746 3688449 703 0.0
.debug_loc 3606504 3607850 1346 0.0
.debug_ranges 340032 340160 128 0.0
.debug_str 3432511 3434666 2155 0.1
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570636 570966 330 0.1
.symtab 421600 421664 64 0.0
.text 1547104 1547576 472 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1689404 1689868 464 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1227719 1227793 74 0.0
.debug_aranges 110200 110208 8 0.0
.debug_frame 374476 374512 36 0.0
.debug_info 26764320 26767844 3524 0.0
.debug_line 3708730 3709433 703 0.0
.debug_loc 3594110 3595456 1346 0.0
.debug_ranges 338648 338776 128 0.0
.debug_str 3421531 3423686 2155 0.1
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534725 535055 330 0.1
.symtab 408032 408096 64 0.0
.text 1490376 1490840 464 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850888 850888 0 0.0
(read/write) 1607564 1608028 464 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180000 180000 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1062180 1062254 74 0.0
.debug_aranges 102400 102408 8 0.0
.debug_frame 344788 344824 36 0.0
.debug_info 22229530 22233054 3524 0.0
.debug_line 3277857 3278555 698 0.0
.debug_loc 3291595 3292849 1254 0.0
.debug_ranges 303928 304056 128 0.0
.debug_str 3227066 3229221 2155 0.1
.heap 850888 850888 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 471050 471380 330 0.1
.symtab 376400 376464 64 0.0
.text 1416720 1417184 464 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1641588 1642052 464 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184976 184976 0 0.0
.comment 204 204 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 2472 2472 0 0.0
.debug_abbrev 1064155 1064229 74 0.0
.debug_aranges 102800 102808 8 0.0
.debug_frame 346664 346700 36 0.0
.debug_info 22463155 22466679 3524 0.0
.debug_line 3274977 3275678 701 0.0
.debug_loc 3319448 3320762 1314 0.0
.debug_ranges 305888 306016 128 0.0
.debug_str 3246423 3248578 2155 0.1
.heap 845896 845896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473453 473783 330 0.1
.symtab 378096 378160 64 0.0
.text 1445752 1446216 464 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151104 1151472 368 0.0
.bss 111116 111116 0 0.0
.data 848 848 0 0.0
.text 598204 598572 368 0.1
lock-app qpg6105+debug (read/write) 1116880 1117232 352 0.0
.bss 106564 106564 0 0.0
.data 836 836 0 0.0
.text 563976 564328 352 0.1
telink all-clusters-app tlsr9518adk80d (read/write) 937776 938096 320 0.0
bss 81620 81620 0 0.0
noinit 43440 43440 0 0.0
text 649064 649384 320 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875768 876088 320 0.0
bss 80844 80844 0 0.0
noinit 43440 43440 0 0.0
text 613050 613370 320 0.1
light-switch-app tlsr9518adk80d (read/write) 791124 791444 320 0.0
bss 72468 72468 0 0.0
noinit 43520 43520 0 0.0
text 554512 554832 320 0.1
lighting-app tlsr9518adk80d (read/write) 875348 875668 320 0.0
bss 82232 82232 0 0.0
noinit 43520 43520 0 0.0
text 624476 624796 320 0.1
ota-requestor-app tlsr9518adk80d (read/write) 805616 805936 320 0.0
bss 74040 74040 0 0.0
noinit 43520 43520 0 0.0
text 565890 566210 320 0.1

@msandstedt msandstedt merged commit 0cc2ec0 into project-chip:master Nov 17, 2022
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…ers (project-chip#23492)

Matter Commissioner sometimes fails to commission Matter Thread Device
where there are many Thread Border Routers. Specifically, in order to
connect the Matter Thread Device to the Thread Border Router during the
commissioning process, the Matter Commissioner sends Thread ScanNetworks
command to the Matter Thread Device. However, no matter how many times
Matter Commissioner requests ScanNetworks, there is no Thread Border
Router it wants to connect to in the response, so the commissioning
has failed.

According to the message size requirements of the Matter specification
document, the maximum length of a Service Data Unit is 1024 bytes. Since
Thread ScanNetworks' responses have to be stored in it, network
commissioing cluster only stores 15 of them. Therefore, Thread Device
sends only 15 of the scan results in response to Thread ScanNetworks
command, and the scan result list contains duplicate items and is used
without sorting. There were about 50 items in scan result list on the
problem situation, and they were sorted in ascending order by channel.
And the channel of the Thread Border Router it wants to connect to is
the largest number, so it is not always included in the response of
Thread ScanNetworks command. Accordingly, the Matter Commissioner
determined that the Matter Device did not discover the Thread Border
Router it wants to connect to, and the commissioning failed.
This commit changes the Thread Scan result list in two ways. First, it
prevents the addition of duplicate items in the list. Next, sort the
list in ascending order based on RSSI. The reason for using RSSI is that
where there are many Thread Border Routers, it is reasonable to expect
that users will start commissioning close to the Thread Border Routers
they want Thread Devices to connect to.

Signed-off-by: Youngho Yoon <[email protected]>
Signed-off-by: Charles Kim <[email protected]>
Signed-off-by: Hunsup <[email protected]>
Signed-off-by: sanghyukko <[email protected]>
Signed-off-by: Jaehoon You <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants