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

[Linux] Add support for extended advertisement #31668

Merged
merged 16 commits into from
Feb 6, 2024

Conversation

arkq
Copy link
Contributor

@arkq arkq commented Jan 24, 2024

Problem

Linux platform does not support extended advertisement, and the fast/slow advertisement is not conformant with the spec.

Changes

  • Properly setup min/max advertisement intervals (this requires BlueZ to have experimental features enabled)
  • Add logic to transition between fast and slow adv intervals
  • Add logic to transition to extended adv intervals
  • Fix some "advertissement" typos

Testing

Manually checked that after 15 minutes, the advertising payload does not contains vendor and product IDs.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 25, 2024
@arkq arkq requested a review from andy31415 January 25, 2024 08:15
Copy link

github-actions bot commented Jan 25, 2024

PR #31668: Size comparison from db82aaa to 91c8d20

Increases above 0.2%:

platform target config section db82aaa 91c8d20 change % change
linux air-purifier-app debug .data 2144 2176 32 1.5
lighting-app debug+rpc+ui .data 4800 4832 32 0.7
lock-app debug .data 4096 4128 32 0.8
ota-provider-app debug .data 4256 4288 32 0.8
ota-requestor-app debug .data 4656 4688 32 0.7
thermostat-no-ble arm64 .data 3328 3344 16 0.5
Increases (15 builds for bl702, linux)
platform target config section db82aaa 91c8d20 change % change
bl702 lighting-app bl702+rpc (read/write) 1284767 1284915 148 0.0
.text 1039650 1039800 150 0.0
linux air-purifier-app debug (read only) 2576541 2578981 2440 0.1
(read/write) 127704 127736 32 0.0
.data 2144 2176 32 1.5
.rodata 181480 181672 192 0.1
.text 2218821 2221045 2224 0.1
all-clusters-app debug (read only) 5788633 5791121 2488 0.0
.rodata 341884 342140 256 0.1
.text 5022691 5024899 2208 0.0
all-clusters-minimal-app debug (read only) 5134113 5136553 2440 0.0
.rodata 285485 285677 192 0.1
.text 4615283 4617507 2224 0.0
bridge-app debug (read only) 4550825 4553233 2408 0.1
.rodata 227221 227381 160 0.1
.text 4104099 4106323 2224 0.1
chip-tool debug (read only) 12108553 12110777 2224 0.0
.rodata 439993 440121 128 0.0
.text 10962019 10964115 2096 0.0
chip-tool-ipv6only arm64 (read only) 11641328 11643296 1968 0.0
.rodata 347420 347548 128 0.0
.text 10405292 10407148 1856 0.0
lighting-app debug+rpc+ui (read only) 5469817 5472193 2376 0.0
(read/write) 225384 225416 32 0.0
.data 4800 4832 32 0.7
.rodata 350932 351060 128 0.0
.text 4873283 4875507 2224 0.0
lock-app debug (read only) 4621305 4623809 2504 0.1
.data 4096 4128 32 0.8
.rodata 253845 253973 128 0.1
.text 4156499 4158851 2352 0.1
ota-provider-app debug (read only) 4259449 4259745 296 0.0
(read/write) 192688 192720 32 0.0
.data 4256 4288 32 0.8
.rodata 206325 206421 96 0.0
.text 3861251 3861427 176 0.0
ota-requestor-app debug (read only) 4375433 4375761 328 0.0
(read/write) 196968 197000 32 0.0
.data 4656 4688 32 0.7
.rodata 212181 212309 128 0.1
.text 3967075 3967251 176 0.0
shell debug (read only) 2868257 2870353 2096 0.1
.rodata 185664 185696 32 0.0
.text 2510210 2512274 2064 0.1
thermostat-no-ble arm64 (read only) 4448056 4448432 376 0.0
.data 3328 3344 16 0.5
.rodata 158348 158468 120 0.1
.text 3945900 3946124 224 0.0
tv-app debug (read only) 5583337 5585921 2584 0.0
.rodata 284309 284501 192 0.1
.text 5059123 5061491 2368 0.0
tv-casting-app debug (read only) 9977945 9980273 2328 0.0
.rodata 377096 377224 128 0.0
.text 9128483 9130659 2176 0.0
Decreases (9 builds for bl602, efr32, linux, telink)
platform target config section db82aaa 91c8d20 change % change
bl602 lighting-app bl602+rpc (read/write) 1475970 1475858 -112 -0.0
.text 1127186 1127080 -106 -0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 930384 930376 -8 -0.0
.text 731084 731076 -8 -0.0
BRD4187C (read/write) 1108240 1108200 -40 -0.0
.text 909680 909640 -40 -0.0
window-app BRD4187C (read/write) 1148024 1148016 -8 -0.0
.text 977564 977556 -8 -0.0
linux chip-tool-ipv6only arm64 (read/write) 587056 585064 -1992 -0.3
.bss 103288 103272 -16 -0.0
.got 20400 20392 -8 -0.0
lock-app debug .bss 113312 113280 -32 -0.0
thermostat-no-ble arm64 (read/write) 247448 247112 -336 -0.1
tv-app debug (read/write) 350384 350352 -32 -0.0
.bss 243296 243264 -32 -0.0
telink lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read/write) 1097956 1097932 -24 -0.0
text 773984 773960 -24 -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 db82aaa 91c8d20 change % change
bl602 lighting-app bl602 (read/write) 1428218 1428218 0 0.0
.bss 85328 85328 0 0.0
.data 9488 9488 0 0.0
.rodata 157324 157324 0 0.0
.text 1095438 1095438 0 0.0
bl602+mfd (read/write) 1442890 1442890 0 0.0
.bss 85496 85496 0 0.0
.data 9456 9456 0 0.0
.rodata 156284 156284 0 0.0
.text 1111004 1111004 0 0.0
bl602+rpc (read/write) 1475970 1475858 -112 -0.0
.bss 93368 93368 0 0.0
.data 9864 9864 0 0.0
.rodata 164892 164892 0 0.0
.text 1127186 1127080 -106 -0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1193147 1193147 0 0.0
.bss 11133 11133 0 0.0
.data 3664 3664 0 0.0
.rodata 106708 106708 0 0.0
.text 964840 964840 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1204227 1204227 0 0.0
.bss 11309 11309 0 0.0
.data 3648 3648 0 0.0
.rodata 105648 105648 0 0.0
.text 976850 976850 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1284767 1284915 148 0.0
.bss 19597 19597 0 0.0
.data 4224 4224 0 0.0
.rodata 122080 122080 0 0.0
.text 1039650 1039800 150 0.0
bl706-eth (read/write) 1011657 1011657 0 0.0
.bss 23692 23692 0 0.0
.data 3240 3240 0 0.0
.rodata 100028 100028 0 0.0
.text 756742 756742 0 0.0
bl706-wifi (read/write) 1244618 1244618 0 0.0
.bss 10577 10577 0 0.0
.data 3680 3680 0 0.0
.rodata 121008 121008 0 0.0
.text 986962 986962 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1162528 1162528 0 0.0
.bss 16328 16328 0 0.0
.data 5032 5032 0 0.0
.rodata 100712 100712 0 0.0
.text 957718 957718 0 0.0
bl702l+mfd (read/write) 1174436 1174436 0 0.0
.bss 16504 16504 0 0.0
.data 5008 5008 0 0.0
.rodata 99652 99652 0 0.0
.text 970040 970040 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 781408 781408 0 0.0
(read/write) 168864 168864 0 0.0
.bss 90884 90884 0 0.0
.data 3552 3552 0 0.0
.rodata 90312 90312 0 0.0
.text 690832 690832 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 798840 798840 0 0.0
(read/write) 179108 179108 0 0.0
.bss 101068 101068 0 0.0
.data 3580 3580 0 0.0
.rodata 84640 84640 0 0.0
.text 713932 713932 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 787352 787352 0 0.0
(read/write) 173564 173564 0 0.0
.bss 95524 95524 0 0.0
.data 3580 3580 0 0.0
.rodata 111376 111376 0 0.0
.text 675708 675708 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 738672 738672 0 0.0
(read/write) 167836 167836 0 0.0
.bss 89624 89624 0 0.0
.data 3540 3540 0 0.0
.rodata 86032 86032 0 0.0
.text 652376 652376 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724296 724296 0 0.0
(read/write) 168048 168048 0 0.0
.bss 89848 89848 0 0.0
.data 3536 3536 0 0.0
.rodata 81872 81872 0 0.0
.text 642160 642160 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 572954 572954 0 0.0
(read/write) 207896 207896 0 0.0
.bss 201180 201180 0 0.0
.data 1592 1592 0 0.0
.rodata 84522 84522 0 0.0
.text 486308 486308 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627218 627218 0 0.0
(read/write) 208296 208296 0 0.0
.bss 201656 201656 0 0.0
.data 1520 1520 0 0.0
.rodata 106386 106386 0 0.0
.text 518712 518712 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 564335 564335 0 0.0
.app_xip_area 454257 454257 0 0.0
.bss 64920 64920 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 547983 547983 0 0.0
.app_xip_area 433161 433161 0 0.0
.bss 69624 69624 0 0.0
.data 772 772 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566151 566151 0 0.0
.app_xip_area 457529 457529 0 0.0
.bss 63504 63504 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 562447 562447 0 0.0
.app_xip_area 450593 450593 0 0.0
.bss 66624 66624 0 0.0
.data 804 804 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 930384 930376 -8 -0.0
.bss 197904 197904 0 0.0
.data 1372 1372 0 0.0
.text 731084 731076 -8 -0.0
BRD4187C (read/write) 1108240 1108200 -40 -0.0
.bss 195156 195156 0 0.0
.data 3384 3384 0 0.0
.text 909680 909640 -40 -0.0
lock-app BRD4161A+wf200 (read/write) 1121724 1121724 0 0.0
.bss 188192 188192 0 0.0
.data 2800 2800 0 0.0
.text 930712 930712 0 0.0
window-app BRD4187C (read/write) 1148024 1148016 -8 -0.0
.bss 167148 167148 0 0.0
.data 3292 3292 0 0.0
.text 977564 977556 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1199930 1199930 0 0.0
(read/write) 1744736 1744736 0 0.0
.dram0.bss 73392 73392 0 0.0
.dram0.data 13588 13588 0 0.0
.flash.rodata 248224 248224 0 0.0
.flash.text 1199930 1199930 0 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1242007 1242007 0 0.0
(read/write) 529704 529704 0 0.0
.dram0.bss 80264 80264 0 0.0
.dram0.data 35132 35132 0 0.0
.flash.rodata 278388 278388 0 0.0
.flash.text 1235843 1235843 0 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 610584 610584 0 0.0
(read/write) 81332 81332 0 0.0
.bss 69112 69112 0 0.0
.data 2236 2236 0 0.0
.text 610048 610048 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 696268 696268 0 0.0
.bss 67768 67768 0 0.0
.data 2788 2788 0 0.0
.text 582240 582240 0 0.0
light k32w0+release (read only) 598944 598944 0 0.0
(read/write) 79340 79340 0 0.0
.bss 67168 67168 0 0.0
.data 2188 2188 0 0.0
.text 598408 598408 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 787256 787256 0 0.0
.bss 77436 77436 0 0.0
.data 2000 2000 0 0.0
.text 664368 664368 0 0.0
lock k32w0+release (read only) 580200 580200 0 0.0
(read/write) 78756 78756 0 0.0
.bss 66608 66608 0 0.0
.data 2164 2164 0 0.0
.text 579664 579664 0 0.0
linux air-purifier-app debug (read only) 2576541 2578981 2440 0.1
(read/write) 127704 127736 32 0.0
.bss 46336 46336 0 0.0
.data 2144 2176 32 1.5
.data.rel.ro 73304 73304 0 0.0
.dynamic 608 608 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 181480 181672 192 0.1
.text 2218821 2221045 2224 0.1
all-clusters-app debug (read only) 5788633 5791121 2488 0.0
(read/write) 469520 469520 0 0.0
.bss 132944 132944 0 0.0
.data 4480 4480 0 0.0
.data.rel.ro 324744 324744 0 0.0
.dynamic 624 624 0 0.0
.got 5376 5376 0 0.0
.init 27 27 0 0.0
.init_array 1336 1336 0 0.0
.rodata 341884 342140 256 0.1
.text 5022691 5024899 2208 0.0
all-clusters-minimal-app debug (read only) 5134113 5136553 2440 0.0
(read/write) 235248 235248 0 0.0
.bss 127280 127280 0 0.0
.data 4384 4384 0 0.0
.data.rel.ro 96520 96520 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 285485 285677 192 0.1
.text 4615283 4617507 2224 0.0
bridge-app debug (read only) 4550825 4553233 2408 0.1
(read/write) 216584 216584 0 0.0
.bss 117976 117976 0 0.0
.data 6144 6144 0 0.0
.data.rel.ro 85760 85760 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 227221 227381 160 0.1
.text 4104099 4106323 2224 0.1
chip-tool debug (read only) 12108553 12110777 2224 0.0
(read/write) 516912 516912 0 0.0
.bss 94264 94264 0 0.0
.data 5058 5058 0 0.0
.data.rel.ro 410336 410336 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 439993 440121 128 0.0
.text 10962019 10964115 2096 0.0
chip-tool-ipv6only arm64 (read only) 11641328 11643296 1968 0.0
(read/write) 587056 585064 -1992 -0.3
.bss 103288 103272 -16 -0.0
.data 4472 4472 0 0.0
.data.rel.ro 449880 449880 0 0.0
.dynamic 512 512 0 0.0
.got 20400 20392 -8 -0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 347420 347548 128 0.0
.text 10405292 10407148 1856 0.0
lighting-app debug+rpc+ui (read only) 5469817 5472193 2376 0.0
(read/write) 225384 225416 32 0.0
.bss 118944 118944 0 0.0
.data 4800 4832 32 0.7
.data.rel.ro 94144 94144 0 0.0
.dynamic 672 672 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 350932 351060 128 0.0
.text 4873283 4875507 2224 0.0
lock-app debug (read only) 4621305 4623809 2504 0.1
(read/write) 204112 204112 0 0.0
.bss 113312 113280 -32 -0.0
.data 4096 4128 32 0.8
.data.rel.ro 79992 79992 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 253845 253973 128 0.1
.text 4156499 4158851 2352 0.1
ota-provider-app debug (read only) 4259449 4259745 296 0.0
(read/write) 192688 192720 32 0.0
.bss 113248 113248 0 0.0
.data 4256 4288 32 0.8
.data.rel.ro 69312 69312 0 0.0
.dynamic 624 624 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 206325 206421 96 0.0
.text 3861251 3861427 176 0.0
ota-requestor-app debug (read only) 4375433 4375761 328 0.0
(read/write) 196968 197000 32 0.0
.bss 114144 114144 0 0.0
.data 4656 4688 32 0.7
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 212181 212309 128 0.1
.text 3967075 3967251 176 0.0
shell debug (read only) 2868257 2870353 2096 0.1
(read/write) 154840 154840 0 0.0
.bss 62248 62248 0 0.0
.data 1344 1344 0 0.0
.data.rel.ro 85480 85480 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 185664 185696 32 0.0
.text 2510210 2512274 2064 0.1
thermostat-no-ble arm64 (read only) 4448056 4448432 376 0.0
(read/write) 247448 247112 -336 -0.1
.bss 121672 121672 0 0.0
.data 3328 3344 16 0.5
.data.rel.ro 103272 103272 0 0.0
.dynamic 512 512 0 0.0
.got 12160 12160 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 158348 158468 120 0.1
.text 3945900 3946124 224 0.0
tv-app debug (read only) 5583337 5585921 2584 0.0
(read/write) 350384 350352 -32 -0.0
.bss 243296 243264 -32 -0.0
.data 6464 6464 0 0.0
.data.rel.ro 93336 93336 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 284309 284501 192 0.1
.text 5059123 5061491 2368 0.0
tv-casting-app debug (read only) 9977945 9980273 2328 0.0
(read/write) 342520 342520 0 0.0
.bss 156032 156032 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 176672 176672 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 377096 377224 128 0.0
.text 9128483 9130659 2176 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2531192 2531192 0 0.0
.bss 220392 220392 0 0.0
.data 5208 5208 0 0.0
.text 1493876 1493876 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1095932 1095932 0 0.0
bss 129801 129801 0 0.0
rodata 111372 111372 0 0.0
text 806932 806932 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1216180 1216180 0 0.0
bss 121939 121939 0 0.0
rodata 141176 141176 0 0.0
text 802576 802576 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1045332 1045332 0 0.0
bss 129527 129527 0 0.0
rodata 99204 99204 0 0.0
text 768880 768880 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835352 835352 0 0.0
(read/write) 1792900 1792900 0 0.0
.bss 195348 195348 0 0.0
.data 2640 2640 0 0.0
.text 1586524 1586524 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837656 837656 0 0.0
(read/write) 1715420 1715420 0 0.0
.bss 193068 193068 0 0.0
.data 2616 2616 0 0.0
.text 1511348 1511348 0 0.0
light cy8ckit_062s2_43012 (read only) 844352 844352 0 0.0
(read/write) 1636412 1636412 0 0.0
.bss 186556 186556 0 0.0
.data 2432 2432 0 0.0
.text 1439036 1439036 0 0.0
lock cy8ckit_062s2_43012 (read only) 817232 817232 0 0.0
(read/write) 1665716 1665716 0 0.0
.bss 213652 213652 0 0.0
.data 2456 2456 0 0.0
.text 1441220 1441220 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1122680 1122680 0 0.0
.bss 102344 102344 0 0.0
.data 808 808 0 0.0
.text 635060 635060 0 0.0
lock-app qpg6105+debug (read/write) 1086200 1086200 0 0.0
.bss 98528 98528 0 0.0
.data 852 852 0 0.0
.text 598576 598576 0 0.0
stm32 light STM32WB5MM-DK (read/write) 597565 597565 0 0.0
.bss 128280 128280 0 0.0
.data 660 660 0 0.0
.rodata 78756 78756 0 0.0
.text 380144 380144 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 825678 825678 0 0.0
bss 51020 51020 0 0.0
text 617636 617636 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1114708 1114708 0 0.0
bss 100784 100784 0 0.0
text 789342 789342 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1091948 1091948 0 0.0
bss 109920 109920 0 0.0
text 760348 760348 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 935940 935940 0 0.0
bss 92988 92988 0 0.0
text 649736 649736 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 827578 827578 0 0.0
bss 51072 51072 0 0.0
text 619594 619594 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 985536 985536 0 0.0
bss 79116 79116 0 0.0
text 700328 700328 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1097956 1097932 -24 -0.0
bss 100064 100064 0 0.0
text 773984 773960 -24 -0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 971456 971456 0 0.0
bss 97416 97416 0 0.0
text 653504 653504 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 953772 953772 0 0.0
bss 92564 92564 0 0.0
text 667676 667676 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 884840 884840 0 0.0
bss 69136 69136 0 0.0
text 626138 626138 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 825484 825484 0 0.0
bss 57380 57380 0 0.0
text 593062 593062 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705772 705772 0 0.0
bss 73640 73640 0 0.0
text 462164 462164 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 829322 829322 0 0.0
bss 51200 51200 0 0.0
text 622364 622364 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884113 884113 0 0.0
bss 60856 60856 0 0.0
text 636180 636180 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 851800 851800 0 0.0
bss 57668 57668 0 0.0
text 613358 613358 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 844544 844544 0 0.0
bss 57984 57984 0 0.0
text 605976 605976 0 0.0

Copy link

github-actions bot commented Jan 29, 2024

PR #31668: Size comparison from f63b505 to c9c30b5

Increases above 0.2%:

platform target config section f63b505 c9c30b5 change % change
linux chip-tool-ipv6only arm64 (read/write) 588640 590728 2088 0.4
Increases (11 builds for linux)
platform target config section f63b505 c9c30b5 change % change
linux air-purifier-app debug (read only) 2576885 2579029 2144 0.1
.rodata 181480 181544 64 0.0
.text 2219141 2221221 2080 0.1
all-clusters-app debug (read only) 5791921 5794065 2144 0.0
.rodata 342980 343044 64 0.0
.text 5022579 5024659 2080 0.0
all-clusters-minimal-app debug (read only) 5134609 5136769 2160 0.0
.rodata 285653 285717 64 0.0
.text 4615587 4617683 2096 0.0
bridge-app debug (read only) 4551153 4553297 2144 0.0
.rodata 227221 227285 64 0.0
.text 4104403 4106483 2080 0.1
chip-tool debug (read only) 12168241 12170497 2256 0.0
.rodata 442105 442233 128 0.0
.text 11015395 11017523 2128 0.0
chip-tool-ipv6only arm64 (read only) 11692992 11694960 1968 0.0
(read/write) 588640 590728 2088 0.4
.rodata 349308 349436 128 0.0
.text 10450620 10452492 1872 0.0
lighting-app debug+rpc+ui (read only) 5470081 5472209 2128 0.0
.rodata 350964 350996 32 0.0
.text 4873491 4875587 2096 0.0
lock-app debug (read only) 4621761 4623889 2128 0.0
.rodata 253845 253877 32 0.0
.text 4156931 4159027 2096 0.1
shell debug (read only) 2868305 2870449 2144 0.1
.rodata 185632 185664 32 0.0
.text 2510290 2512402 2112 0.1
tv-app debug (read only) 5583905 5586049 2144 0.0
.rodata 284405 284469 64 0.0
.text 5059571 5061651 2080 0.0
tv-casting-app debug (read only) 10034817 10036961 2144 0.0
.rodata 378440 378472 32 0.0
.text 9182067 9184179 2112 0.0
Decreases (5 builds for efr32, linux)
platform target config section f63b505 c9c30b5 change % change
efr32 lighting-app BRD4187C (read/write) 1108252 1108244 -8 -0.0
.text 909692 909684 -8 -0.0
window-app BRD4187C (read/write) 1148024 1148008 -16 -0.0
.text 977564 977548 -16 -0.0
linux chip-tool-ipv6only arm64 .bss 103288 103272 -16 -0.0
.got 20440 20432 -8 -0.0
lock-app debug (read/write) 204080 204048 -32 -0.0
.bss 113280 113248 -32 -0.0
tv-app debug (read/write) 350320 350288 -32 -0.0
.bss 243200 243168 -32 -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 f63b505 c9c30b5 change % change
bl602 lighting-app bl602 (read/write) 1428318 1428318 0 0.0
.bss 85320 85320 0 0.0
.data 9488 9488 0 0.0
.rodata 157320 157320 0 0.0
.text 1095542 1095542 0 0.0
bl602+mfd (read/write) 1442710 1442710 0 0.0
.bss 85480 85480 0 0.0
.data 9456 9456 0 0.0
.rodata 156280 156280 0 0.0
.text 1110844 1110844 0 0.0
bl602+rpc (read/write) 1475950 1475950 0 0.0
.bss 93352 93352 0 0.0
.data 9856 9856 0 0.0
.rodata 164896 164896 0 0.0
.text 1127184 1127184 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1193243 1193243 0 0.0
.bss 11121 11121 0 0.0
.data 3664 3664 0 0.0
.rodata 106708 106708 0 0.0
.text 964930 964930 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1204063 1204063 0 0.0
.bss 11297 11297 0 0.0
.data 3648 3648 0 0.0
.rodata 105648 105648 0 0.0
.text 976684 976684 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1284735 1284735 0 0.0
.bss 19589 19589 0 0.0
.data 4216 4216 0 0.0
.rodata 122080 122080 0 0.0
.text 1039634 1039634 0 0.0
bl706-eth (read/write) 1011777 1011777 0 0.0
.bss 23680 23680 0 0.0
.data 3240 3240 0 0.0
.rodata 100028 100028 0 0.0
.text 756874 756874 0 0.0
bl706-wifi (read/write) 1244658 1244658 0 0.0
.bss 10565 10565 0 0.0
.data 3672 3672 0 0.0
.rodata 121008 121008 0 0.0
.text 987022 987022 0 0.0
bl702l lighting-app bl702l (read/write) 1163088 1163088 0 0.0
.bss 16316 16316 0 0.0
.data 5032 5032 0 0.0
.rodata 100712 100712 0 0.0
.text 957780 957780 0 0.0
bl702l+mfd (read/write) 1174488 1174488 0 0.0
.bss 16492 16492 0 0.0
.data 5008 5008 0 0.0
.rodata 99652 99652 0 0.0
.text 970102 970102 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 781436 781436 0 0.0
(read/write) 168856 168856 0 0.0
.bss 90876 90876 0 0.0
.data 3552 3552 0 0.0
.rodata 90316 90316 0 0.0
.text 690856 690856 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 798876 798876 0 0.0
(read/write) 179100 179100 0 0.0
.bss 101060 101060 0 0.0
.data 3580 3580 0 0.0
.rodata 84636 84636 0 0.0
.text 713972 713972 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 787388 787388 0 0.0
(read/write) 173556 173556 0 0.0
.bss 95516 95516 0 0.0
.data 3580 3580 0 0.0
.rodata 111388 111388 0 0.0
.text 675732 675732 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 738716 738716 0 0.0
(read/write) 167828 167828 0 0.0
.bss 89616 89616 0 0.0
.data 3540 3540 0 0.0
.rodata 86036 86036 0 0.0
.text 652416 652416 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724340 724340 0 0.0
(read/write) 168040 168040 0 0.0
.bss 89840 89840 0 0.0
.data 3536 3536 0 0.0
.rodata 81884 81884 0 0.0
.text 642192 642192 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 573002 573002 0 0.0
(read/write) 207872 207872 0 0.0
.bss 201156 201156 0 0.0
.data 1592 1592 0 0.0
.rodata 84530 84530 0 0.0
.text 486352 486352 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627282 627282 0 0.0
(read/write) 208288 208288 0 0.0
.bss 201648 201648 0 0.0
.data 1520 1520 0 0.0
.rodata 106402 106402 0 0.0
.text 518756 518756 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 564363 564363 0 0.0
.app_xip_area 454285 454285 0 0.0
.bss 64920 64920 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 548003 548003 0 0.0
.app_xip_area 433181 433181 0 0.0
.bss 69624 69624 0 0.0
.data 772 772 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566171 566171 0 0.0
.app_xip_area 457557 457557 0 0.0
.bss 63496 63496 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 562459 562459 0 0.0
.app_xip_area 450605 450605 0 0.0
.bss 66624 66624 0 0.0
.data 804 804 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 930408 930408 0 0.0
.bss 197904 197904 0 0.0
.data 1372 1372 0 0.0
.text 731112 731112 0 0.0
BRD4187C (read/write) 1108252 1108244 -8 -0.0
.bss 195156 195156 0 0.0
.data 3384 3384 0 0.0
.text 909692 909684 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1121712 1121712 0 0.0
.bss 188184 188184 0 0.0
.data 2800 2800 0 0.0
.text 930708 930708 0 0.0
window-app BRD4187C (read/write) 1148024 1148008 -16 -0.0
.bss 167148 167148 0 0.0
.data 3292 3292 0 0.0
.text 977564 977548 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 1199940 1199940 0 0.0
(read/write) 1744760 1744760 0 0.0
.dram0.bss 73392 73392 0 0.0
.dram0.data 13588 13588 0 0.0
.flash.rodata 248248 248248 0 0.0
.flash.text 1199940 1199940 0 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1241271 1241271 0 0.0
(read/write) 529704 529704 0 0.0
.dram0.bss 80256 80256 0 0.0
.dram0.data 35132 35132 0 0.0
.flash.rodata 278396 278396 0 0.0
.flash.text 1235107 1235107 0 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 610624 610624 0 0.0
(read/write) 81316 81316 0 0.0
.bss 69096 69096 0 0.0
.data 2236 2236 0 0.0
.text 610088 610088 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 696292 696292 0 0.0
.bss 67752 67752 0 0.0
.data 2788 2788 0 0.0
.text 582280 582280 0 0.0
light k32w0+release (read only) 598984 598984 0 0.0
(read/write) 79324 79324 0 0.0
.bss 67152 67152 0 0.0
.data 2188 2188 0 0.0
.text 598448 598448 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 787272 787272 0 0.0
.bss 77420 77420 0 0.0
.data 2000 2000 0 0.0
.text 664400 664400 0 0.0
lock k32w0+release (read only) 580248 580248 0 0.0
(read/write) 78740 78740 0 0.0
.bss 66592 66592 0 0.0
.data 2164 2164 0 0.0
.text 579712 579712 0 0.0
linux air-purifier-app debug (read only) 2576885 2579029 2144 0.1
(read/write) 127608 127608 0 0.0
.bss 46240 46240 0 0.0
.data 2176 2176 0 0.0
.data.rel.ro 73272 73272 0 0.0
.dynamic 608 608 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 181480 181544 64 0.0
.text 2219141 2221221 2080 0.1
all-clusters-app debug (read only) 5791921 5794065 2144 0.0
(read/write) 472288 472288 0 0.0
.bss 132960 132960 0 0.0
.data 4432 4432 0 0.0
.data.rel.ro 327512 327512 0 0.0
.dynamic 624 624 0 0.0
.got 5376 5376 0 0.0
.init 27 27 0 0.0
.init_array 1336 1336 0 0.0
.rodata 342980 343044 64 0.0
.text 5022579 5024659 2080 0.0
all-clusters-minimal-app debug (read only) 5134609 5136769 2160 0.0
(read/write) 235264 235264 0 0.0
.bss 127328 127328 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 96536 96536 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 285653 285717 64 0.0
.text 4615587 4617683 2096 0.0
bridge-app debug (read only) 4551153 4553297 2144 0.0
(read/write) 216496 216496 0 0.0
.bss 117920 117920 0 0.0
.data 6144 6144 0 0.0
.data.rel.ro 85712 85712 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 227221 227285 64 0.0
.text 4104403 4106483 2080 0.1
chip-tool debug (read only) 12168241 12170497 2256 0.0
(read/write) 520464 520464 0 0.0
.bss 94232 94232 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 413888 413888 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 442105 442233 128 0.0
.text 11015395 11017523 2128 0.0
chip-tool-ipv6only arm64 (read only) 11692992 11694960 1968 0.0
(read/write) 588640 590728 2088 0.4
.bss 103288 103272 -16 -0.0
.data 4472 4472 0 0.0
.data.rel.ro 453552 453552 0 0.0
.dynamic 512 512 0 0.0
.got 20440 20432 -8 -0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 349308 349436 128 0.0
.text 10450620 10452492 1872 0.0
lighting-app debug+rpc+ui (read only) 5470081 5472209 2128 0.0
(read/write) 225256 225256 0 0.0
.bss 118848 118848 0 0.0
.data 4800 4800 0 0.0
.data.rel.ro 94112 94112 0 0.0
.dynamic 672 672 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 350964 350996 32 0.0
.text 4873491 4875587 2096 0.0
lock-app debug (read only) 4621761 4623889 2128 0.0
(read/write) 204080 204048 -32 -0.0
.bss 113280 113248 -32 -0.0
.data 4128 4128 0 0.0
.data.rel.ro 79960 79960 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 253845 253877 32 0.0
.text 4156931 4159027 2096 0.1
ota-provider-app debug (read only) 4259873 4259873 0 0.0
(read/write) 192688 192688 0 0.0
.bss 113184 113184 0 0.0
.data 4288 4288 0 0.0
.data.rel.ro 69328 69328 0 0.0
.dynamic 624 624 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 206421 206421 0 0.0
.text 3861555 3861555 0 0.0
ota-requestor-app debug (read only) 4375889 4375889 0 0.0
(read/write) 196936 196936 0 0.0
.bss 114080 114080 0 0.0
.data 4688 4688 0 0.0
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 212309 212309 0 0.0
.text 3967379 3967379 0 0.0
shell debug (read only) 2868305 2870449 2144 0.1
(read/write) 154848 154848 0 0.0
.bss 62224 62224 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 85480 85480 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 185632 185664 32 0.0
.text 2510290 2512402 2112 0.1
thermostat-no-ble arm64 (read only) 4448616 4448616 0 0.0
(read/write) 246880 246880 0 0.0
.bss 121672 121672 0 0.0
.data 3344 3344 0 0.0
.data.rel.ro 103272 103272 0 0.0
.dynamic 512 512 0 0.0
.got 12168 12168 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 158460 158460 0 0.0
.text 3946300 3946300 0 0.0
tv-app debug (read only) 5583905 5586049 2144 0.0
(read/write) 350320 350288 -32 -0.0
.bss 243200 243168 -32 -0.0
.data 6496 6496 0 0.0
.data.rel.ro 93336 93336 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 284405 284469 64 0.0
.text 5059571 5061651 2080 0.0
tv-casting-app debug (read only) 10034817 10036961 2144 0.0
(read/write) 343256 343256 0 0.0
.bss 156000 156000 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 177448 177448 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 378440 378472 32 0.0
.text 9182067 9184179 2112 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2531184 2531184 0 0.0
.bss 220384 220384 0 0.0
.data 5208 5208 0 0.0
.text 1493868 1493868 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1095820 1095820 0 0.0
bss 129785 129785 0 0.0
rodata 111372 111372 0 0.0
text 806948 806948 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1216180 1216180 0 0.0
bss 121923 121923 0 0.0
rodata 141176 141176 0 0.0
text 802592 802592 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1045332 1045332 0 0.0
bss 129511 129511 0 0.0
rodata 99204 99204 0 0.0
text 768888 768888 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835368 835368 0 0.0
(read/write) 1792924 1792924 0 0.0
.bss 195332 195332 0 0.0
.data 2640 2640 0 0.0
.text 1586564 1586564 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837672 837672 0 0.0
(read/write) 1715460 1715460 0 0.0
.bss 193052 193052 0 0.0
.data 2616 2616 0 0.0
.text 1511404 1511404 0 0.0
light cy8ckit_062s2_43012 (read only) 844360 844360 0 0.0
(read/write) 1636452 1636452 0 0.0
.bss 186548 186548 0 0.0
.data 2432 2432 0 0.0
.text 1439084 1439084 0 0.0
lock cy8ckit_062s2_43012 (read only) 817240 817240 0 0.0
(read/write) 1665772 1665772 0 0.0
.bss 213644 213644 0 0.0
.data 2456 2456 0 0.0
.text 1441284 1441284 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1122700 1122700 0 0.0
.bss 102344 102344 0 0.0
.data 808 808 0 0.0
.text 635080 635080 0 0.0
lock-app qpg6105+debug (read/write) 1086220 1086220 0 0.0
.bss 98528 98528 0 0.0
.data 852 852 0 0.0
.text 598596 598596 0 0.0
stm32 light STM32WB5MM-DK (read/write) 597589 597589 0 0.0
.bss 128280 128280 0 0.0
.data 660 660 0 0.0
.rodata 78748 78748 0 0.0
.text 380176 380176 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 825702 825702 0 0.0
bss 51012 51012 0 0.0
text 617666 617666 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1114700 1114700 0 0.0
bss 100768 100768 0 0.0
text 789352 789352 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1091956 1091956 0 0.0
bss 109904 109904 0 0.0
text 760370 760370 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 935960 935960 0 0.0
bss 92976 92976 0 0.0
text 649764 649764 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 827594 827594 0 0.0
bss 51064 51064 0 0.0
text 619624 619624 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 985540 985540 0 0.0
bss 79104 79104 0 0.0
text 700344 700344 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1097956 1097956 0 0.0
bss 100056 100056 0 0.0
text 773994 773994 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 971480 971480 0 0.0
bss 97408 97408 0 0.0
text 653534 653534 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 953800 953800 0 0.0
bss 92552 92552 0 0.0
text 667710 667710 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 884856 884856 0 0.0
bss 69128 69128 0 0.0
text 626168 626168 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 825508 825508 0 0.0
bss 57372 57372 0 0.0
text 593092 593092 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705772 705772 0 0.0
bss 73640 73640 0 0.0
text 462164 462164 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 829346 829346 0 0.0
bss 51192 51192 0 0.0
text 622394 622394 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884145 884145 0 0.0
bss 60848 60848 0 0.0
text 636214 636214 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 851824 851824 0 0.0
bss 57660 57660 0 0.0
text 613388 613388 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 844564 844564 0 0.0
bss 57972 57972 0 0.0
text 606006 606006 0 0.0

Copy link
Contributor

@cecille cecille left a comment

Choose a reason for hiding this comment

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

General question - do we have any way to test BLE in the CI? Are we currently running tests for this?

@arkq
Copy link
Contributor Author

arkq commented Jan 30, 2024

General question - do we have any way to test BLE in the CI?

As far as I know, no. We are working on a solution for that, but the PoC is not ready yet. Maybe we will submit a PR in a month or so. Unfortunately, the setup will require to run everything in QEMU, since GitHub Action VM kernel lacks some required modules.

Copy link

github-actions bot commented Feb 2, 2024

PR #31668: Size comparison from e4c4c38 to cc9a803

Increases (12 builds for bl702l, linux)
platform target config section e4c4c38 cc9a803 change % change
bl702l lighting-app bl702l+mfd (read/write) 1175324 1175832 508 0.0
linux air-purifier-app debug (read only) 2576813 2578973 2160 0.1
.rodata 181736 181800 64 0.0
.text 2218453 2220549 2096 0.1
all-clusters-app debug (read only) 5823601 5825745 2144 0.0
.rodata 346116 346180 64 0.0
.text 5046515 5048595 2080 0.0
all-clusters-minimal-app debug (read only) 5135185 5137345 2160 0.0
.rodata 286741 286805 64 0.0
.text 4614547 4616643 2096 0.0
bridge-app debug (read only) 4550961 4553121 2160 0.0
.rodata 227541 227605 64 0.0
.text 4103507 4105603 2096 0.1
chip-tool debug (read only) 11941937 11944225 2288 0.0
.rodata 444729 444889 160 0.0
.text 10793715 10795843 2128 0.0
chip-tool-ipv6only arm64 (read only) 11434432 11436400 1968 0.0
.rodata 351580 351708 128 0.0
.text 10197308 10199164 1856 0.0
lighting-app debug+rpc+ui (read only) 5472017 5474161 2144 0.0
.rodata 352276 352340 64 0.0
.text 4873731 4875811 2080 0.0
lock-app debug (read only) 4626017 4628145 2128 0.0
.rodata 254677 254709 32 0.0
.text 4159827 4161923 2096 0.1
shell debug (read only) 2856817 2858993 2176 0.1
.rodata 186560 186624 64 0.0
.text 2497682 2499794 2112 0.1
tv-app debug (read only) 5576129 5578257 2128 0.0
.rodata 283893 283925 32 0.0
.text 5052067 5054163 2096 0.0
tv-casting-app debug (read only) 9799185 9801377 2192 0.0
.rodata 380680 380744 64 0.0
.text 8953939 8956067 2128 0.0
Decreases (8 builds for bl602, bl702, bl702l, efr32, linux)
platform target config section e4c4c38 cc9a803 change % change
bl602 lighting-app bl602+mfd .text 1112270 1112268 -2 -0.0
bl702 lighting-app bl702+mfd .text 977980 977978 -2 -0.0
bl702l lighting-app bl702l+mfd .text 971398 971396 -2 -0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 928280 928272 -8 -0.0
.text 728976 728968 -8 -0.0
window-app BRD4187C (read/write) 1146688 1146680 -8 -0.0
.text 976220 976212 -8 -0.0
linux chip-tool-ipv6only arm64 (read/write) 589176 587168 -2008 -0.3
.bss 103304 103288 -16 -0.0
.got 20304 20296 -8 -0.0
lock-app debug (read/write) 204440 204408 -32 -0.0
.bss 113376 113344 -32 -0.0
tv-app debug (read/write) 350456 350424 -32 -0.0
.bss 243232 243200 -32 -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 e4c4c38 cc9a803 change % change
bl602 lighting-app bl602 (read/write) 1429522 1429522 0 0.0
.bss 85328 85328 0 0.0
.data 9488 9488 0 0.0
.rodata 157356 157356 0 0.0
.text 1096712 1096712 0 0.0
bl602+mfd (read/write) 1444170 1444170 0 0.0
.bss 85488 85488 0 0.0
.data 9456 9456 0 0.0
.rodata 156316 156316 0 0.0
.text 1112270 1112268 -2 -0.0
bl602+rpc (read/write) 1477162 1477162 0 0.0
.bss 93360 93360 0 0.0
.data 9856 9856 0 0.0
.rodata 164932 164932 0 0.0
.text 1128354 1128354 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1194319 1194319 0 0.0
.bss 11121 11121 0 0.0
.data 3664 3664 0 0.0
.rodata 106744 106744 0 0.0
.text 965970 965970 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1205395 1205395 0 0.0
.bss 11297 11297 0 0.0
.data 3648 3648 0 0.0
.rodata 105684 105684 0 0.0
.text 977980 977978 -2 -0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1286067 1286067 0 0.0
.bss 19589 19589 0 0.0
.data 4216 4216 0 0.0
.rodata 122116 122116 0 0.0
.text 1040914 1040914 0 0.0
bl706-eth (read/write) 1012725 1012725 0 0.0
.bss 23680 23680 0 0.0
.data 3240 3240 0 0.0
.rodata 100064 100064 0 0.0
.text 757788 757788 0 0.0
bl706-wifi (read/write) 1245974 1245974 0 0.0
.bss 10565 10565 0 0.0
.data 3672 3672 0 0.0
.rodata 121044 121044 0 0.0
.text 988288 988288 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1163924 1163924 0 0.0
.bss 16316 16316 0 0.0
.data 5032 5032 0 0.0
.rodata 100748 100748 0 0.0
.text 959076 959076 0 0.0
bl702l+mfd (read/write) 1175324 1175832 508 0.0
.bss 16492 16492 0 0.0
.data 5008 5008 0 0.0
.rodata 99688 99688 0 0.0
.text 971398 971396 -2 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 780668 780668 0 0.0
(read/write) 168864 168864 0 0.0
.bss 90884 90884 0 0.0
.data 3552 3552 0 0.0
.rodata 90324 90324 0 0.0
.text 690080 690080 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799380 799380 0 0.0
(read/write) 179124 179124 0 0.0
.bss 101084 101084 0 0.0
.data 3580 3580 0 0.0
.rodata 84732 84732 0 0.0
.text 714380 714380 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 787892 787892 0 0.0
(read/write) 173580 173580 0 0.0
.bss 95540 95540 0 0.0
.data 3580 3580 0 0.0
.rodata 111444 111444 0 0.0
.text 676180 676180 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 738500 738500 0 0.0
(read/write) 167844 167844 0 0.0
.bss 89632 89632 0 0.0
.data 3540 3540 0 0.0
.rodata 86044 86044 0 0.0
.text 652192 652192 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724156 724156 0 0.0
(read/write) 168048 168048 0 0.0
.bss 89848 89848 0 0.0
.data 3536 3536 0 0.0
.rodata 81892 81892 0 0.0
.text 642000 642000 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 572146 572146 0 0.0
(read/write) 207880 207880 0 0.0
.bss 201164 201164 0 0.0
.data 1592 1592 0 0.0
.rodata 84562 84562 0 0.0
.text 485464 485464 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627394 627394 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201672 201672 0 0.0
.data 1520 1520 0 0.0
.rodata 106954 106954 0 0.0
.text 518316 518316 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 564131 564131 0 0.0
.app_xip_area 453997 453997 0 0.0
.bss 64976 64976 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 548971 548971 0 0.0
.app_xip_area 434077 434077 0 0.0
.bss 69696 69696 0 0.0
.data 772 772 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 565803 565803 0 0.0
.app_xip_area 457165 457165 0 0.0
.bss 63520 63520 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 562531 562531 0 0.0
.app_xip_area 450621 450621 0 0.0
.bss 66680 66680 0 0.0
.data 804 804 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 928280 928272 -8 -0.0
.bss 197912 197912 0 0.0
.data 1372 1372 0 0.0
.text 728976 728968 -8 -0.0
BRD4187C (read/write) 1107276 1107276 0 0.0
.bss 195164 195164 0 0.0
.data 3384 3384 0 0.0
.text 908708 908708 0 0.0
lock-app BRD4161A+wf200 (read/write) 1121952 1121952 0 0.0
.bss 188216 188216 0 0.0
.data 2800 2800 0 0.0
.text 930916 930916 0 0.0
window-app BRD4187C (read/write) 1146688 1146680 -8 -0.0
.bss 167156 167156 0 0.0
.data 3292 3292 0 0.0
.text 976220 976212 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1200862 1200862 0 0.0
(read/write) 1746896 1746896 0 0.0
.dram0.bss 73568 73568 0 0.0
.dram0.data 13596 13596 0 0.0
.flash.rodata 250208 250208 0 0.0
.flash.text 1200862 1200862 0 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1242767 1242767 0 0.0
(read/write) 531836 531836 0 0.0
.dram0.bss 80424 80424 0 0.0
.dram0.data 35148 35148 0 0.0
.flash.rodata 280344 280344 0 0.0
.flash.text 1236603 1236603 0 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 610256 610256 0 0.0
(read/write) 81332 81332 0 0.0
.bss 69112 69112 0 0.0
.data 2236 2236 0 0.0
.text 609720 609720 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 695900 695900 0 0.0
.bss 67760 67760 0 0.0
.data 2788 2788 0 0.0
.text 581880 581880 0 0.0
light k32w0+release (read only) 598664 598664 0 0.0
(read/write) 79340 79340 0 0.0
.bss 67168 67168 0 0.0
.data 2188 2188 0 0.0
.text 598128 598128 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 786840 786840 0 0.0
.bss 77436 77436 0 0.0
.data 2000 2000 0 0.0
.text 663952 663952 0 0.0
lock k32w0+release (read only) 580984 580984 0 0.0
(read/write) 78780 78780 0 0.0
.bss 66632 66632 0 0.0
.data 2164 2164 0 0.0
.text 580448 580448 0 0.0
linux air-purifier-app debug (read only) 2576813 2578973 2160 0.1
(read/write) 127864 127864 0 0.0
.bss 46272 46272 0 0.0
.data 2176 2176 0 0.0
.data.rel.ro 73480 73480 0 0.0
.dynamic 608 608 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 181736 181800 64 0.0
.text 2218453 2220549 2096 0.1
all-clusters-app debug (read only) 5823601 5825745 2144 0.0
(read/write) 477208 477208 0 0.0
.bss 133440 133440 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 331896 331896 0 0.0
.dynamic 624 624 0 0.0
.got 5376 5376 0 0.0
.init 27 27 0 0.0
.init_array 1360 1360 0 0.0
.rodata 346116 346180 64 0.0
.text 5046515 5048595 2080 0.0
all-clusters-minimal-app debug (read only) 5135185 5137345 2160 0.0
(read/write) 235688 235688 0 0.0
.bss 127456 127456 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 96808 96808 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 286741 286805 64 0.0
.text 4614547 4616643 2096 0.0
bridge-app debug (read only) 4550961 4553121 2160 0.0
(read/write) 216760 216760 0 0.0
.bss 117952 117952 0 0.0
.data 6144 6144 0 0.0
.data.rel.ro 85936 85936 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 227541 227605 64 0.0
.text 4103507 4105603 2096 0.1
chip-tool debug (read only) 11941937 11944225 2288 0.0
(read/write) 519792 519792 0 0.0
.bss 94264 94264 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 413192 413192 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 444729 444889 160 0.0
.text 10793715 10795843 2128 0.0
chip-tool-ipv6only arm64 (read only) 11434432 11436400 1968 0.0
(read/write) 589176 587168 -2008 -0.3
.bss 103304 103288 -16 -0.0
.data 4472 4472 0 0.0
.data.rel.ro 452960 452960 0 0.0
.dynamic 512 512 0 0.0
.got 20304 20296 -8 -0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 351580 351708 128 0.0
.text 10197308 10199164 1856 0.0
lighting-app debug+rpc+ui (read only) 5472017 5474161 2144 0.0
(read/write) 225584 225584 0 0.0
.bss 118912 118912 0 0.0
.data 4800 4800 0 0.0
.data.rel.ro 94352 94352 0 0.0
.dynamic 672 672 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 352276 352340 64 0.0
.text 4873731 4875811 2080 0.0
lock-app debug (read only) 4626017 4628145 2128 0.0
(read/write) 204440 204408 -32 -0.0
.bss 113376 113344 -32 -0.0
.data 4128 4128 0 0.0
.data.rel.ro 80232 80232 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 254677 254709 32 0.0
.text 4159827 4161923 2096 0.1
ota-provider-app debug (read only) 4259673 4259673 0 0.0
(read/write) 192912 192912 0 0.0
.bss 113216 113216 0 0.0
.data 4288 4288 0 0.0
.data.rel.ro 69536 69536 0 0.0
.dynamic 624 624 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 206517 206517 0 0.0
.text 3860899 3860899 0 0.0
ota-requestor-app debug (read only) 4375073 4375073 0 0.0
(read/write) 197160 197160 0 0.0
.bss 114112 114112 0 0.0
.data 4688 4688 0 0.0
.data.rel.ro 72480 72480 0 0.0
.dynamic 624 624 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 212469 212469 0 0.0
.text 3966067 3966067 0 0.0
shell debug (read only) 2856817 2858993 2176 0.1
(read/write) 155656 155656 0 0.0
.bss 62576 62576 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 85936 85936 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 186560 186624 64 0.0
.text 2497682 2499794 2112 0.1
thermostat-no-ble arm64 (read only) 4446120 4446120 0 0.0
(read/write) 245368 245368 0 0.0
.bss 121720 121720 0 0.0
.data 3344 3344 0 0.0
.data.rel.ro 103488 103488 0 0.0
.dynamic 512 512 0 0.0
.got 12200 12200 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 158652 158652 0 0.0
.text 3943052 3943052 0 0.0
tv-app debug (read only) 5576129 5578257 2128 0.0
(read/write) 350456 350424 -32 -0.0
.bss 243232 243200 -32 -0.0
.data 6496 6496 0 0.0
.data.rel.ro 93432 93432 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 283893 283925 32 0.0
.text 5052067 5054163 2096 0.0
tv-casting-app debug (read only) 9799185 9801377 2192 0.0
(read/write) 339448 339448 0 0.0
.bss 156032 156032 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 173608 173608 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 380680 380744 64 0.0
.text 8953939 8956067 2128 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2531376 2531376 0 0.0
.bss 220408 220408 0 0.0
.data 5208 5208 0 0.0
.text 1494060 1494060 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1094164 1094164 0 0.0
bss 129891 129891 0 0.0
rodata 111636 111636 0 0.0
text 804896 804896 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1214476 1214476 0 0.0
bss 122029 122029 0 0.0
rodata 141528 141528 0 0.0
text 800428 800428 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1044944 1044944 0 0.0
bss 129539 129539 0 0.0
rodata 99264 99264 0 0.0
text 768304 768304 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835296 835296 0 0.0
(read/write) 1788404 1788404 0 0.0
.bss 195404 195404 0 0.0
.data 2640 2640 0 0.0
.text 1581972 1581972 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837648 837648 0 0.0
(read/write) 1713644 1713644 0 0.0
.bss 193076 193076 0 0.0
.data 2616 2616 0 0.0
.text 1509564 1509564 0 0.0
light cy8ckit_062s2_43012 (read only) 844352 844352 0 0.0
(read/write) 1634052 1634052 0 0.0
.bss 186556 186556 0 0.0
.data 2432 2432 0 0.0
.text 1436676 1436676 0 0.0
lock cy8ckit_062s2_43012 (read only) 817216 817216 0 0.0
(read/write) 1665692 1665692 0 0.0
.bss 213668 213668 0 0.0
.data 2456 2456 0 0.0
.text 1441180 1441180 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1124228 1124228 0 0.0
.bss 102384 102384 0 0.0
.data 808 808 0 0.0
.text 636608 636608 0 0.0
lock-app qpg6105+debug (read/write) 1088708 1088708 0 0.0
.bss 98600 98600 0 0.0
.data 852 852 0 0.0
.text 601084 601084 0 0.0
stm32 light STM32WB5MM-DK (read/write) 596621 596621 0 0.0
.bss 128288 128288 0 0.0
.data 660 660 0 0.0
.rodata 78764 78764 0 0.0
.text 379184 379184 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 825054 825054 0 0.0
bss 51036 51036 0 0.0
text 616918 616918 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1111924 1111924 0 0.0
bss 100844 100844 0 0.0
text 786328 786328 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1091080 1091080 0 0.0
bss 109936 109936 0 0.0
text 759354 759354 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 935296 935296 0 0.0
bss 92984 92984 0 0.0
text 649086 649086 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 826650 826650 0 0.0
bss 51088 51088 0 0.0
text 618580 618580 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 984628 984628 0 0.0
bss 79128 79128 0 0.0
text 699334 699334 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096604 1096604 0 0.0
bss 100064 100064 0 0.0
text 772622 772622 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 971668 971668 0 0.0
bss 97448 97448 0 0.0
text 653508 653508 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 952944 952944 0 0.0
bss 92560 92560 0 0.0
text 666844 666844 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 884240 884240 0 0.0
bss 69152 69152 0 0.0
text 625454 625454 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 824860 824860 0 0.0
bss 57396 57396 0 0.0
text 592346 592346 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705780 705780 0 0.0
bss 73640 73640 0 0.0
text 462172 462172 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 828330 828330 0 0.0
bss 51216 51216 0 0.0
text 621280 621280 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 883665 883665 0 0.0
bss 60872 60872 0 0.0
text 635638 635638 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 850880 850880 0 0.0
bss 57684 57684 0 0.0
text 612346 612346 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 843636 843636 0 0.0
bss 57996 57996 0 0.0
text 604982 604982 0 0.0

@mergify mergify bot merged commit bd6c4ab into project-chip:master Feb 6, 2024
60 checks passed
@arkq arkq deleted the linux-ext-adv branch February 6, 2024 07:57
raul-marquez-csa pushed a commit to raul-marquez-csa/connectedhomeip that referenced this pull request Feb 16, 2024
* Use ScheduleLambda() instead of ScheduleWork

* Set min/max advertisement interval

* Matter BLE advertisement type shall be peripheral

* Allow intervals to be set after initialization

* Keep BlueZ default for adv slicing duration

* Allow to update intervals on the fly - fast/slow

* Transition to slow advertising after timeout

* Fix advertisement typos in all places in the codebase

* Do not specify advertisement timeout in BlueZ

* Add support for extended advertisement

* Post review changes - add manual how to enable experimental features in
BlueZ

* Restyled by prettier-markdown

* Assert that extended adv interval is >= fast adv interval

* Cancel HandleAdvertisingTimer timer in case of error

---------

Co-authored-by: Restyled.io <[email protected]>
mergify bot pushed a commit that referenced this pull request Feb 16, 2024
* Modifed YAML tests:
TC_DISHM_1_2
TC_DISHM_2_1
TC_DISHM_3_1
TC_DISHM_3_3
TC_LWM_1_1
TC_LWM_1_2
TC_OTCCM_1_1
TC_OTCCM_1_2
TC_OTCCM_2_1
TC_OTCCM_3_1
TC_OTCCM_3_3
TC_TCCM_1_1
TC_TCCM_1_2

* Auto generated files

* Restyled by whitespace

* Fix the CI failure for LWM-1.1 & TCCM-1.1 test

* Fix CI failure OTCCM-1.1 test

* Revert tests
TC-LWM-1.1
TC_TCCM-1.1
TC-OTCCM-1.1

* Fixes issue: 109, 110, 111, 112, 113, 114, 115, 116
TC-CNET-4.1
TC-CONTENTLAUNCHER-10.4
TC-DRYERCTRL-2.1
TC-MEDIAPLAYBACK-6.8
TC-MEDIAPLAYBACK-6.9
TC-MEDIAPLAYBACK-6.10
TC-OTCCM-1.2

* Restyled by whitespace

* Modifed YAML tests:
TC_DISHM_1_2
TC_DISHM_2_1
TC_DISHM_3_1
TC_DISHM_3_3
TC_LWM_1_1
TC_LWM_1_2
TC_OTCCM_1_1
TC_OTCCM_1_2
TC_OTCCM_2_1
TC_OTCCM_3_1
TC_OTCCM_3_3
TC_TCCM_1_1
TC_TCCM_1_2

* Auto generated files

* Restyled by whitespace

* Fix the CI failure for LWM-1.1 & TCCM-1.1 test

* Fix CI failure OTCCM-1.1 test

* Revert tests
TC-LWM-1.1
TC_TCCM-1.1
TC-OTCCM-1.1

* Fixes issue: 109, 110, 111, 112, 113, 114, 115, 116
TC-CNET-4.1
TC-CONTENTLAUNCHER-10.4
TC-DRYERCTRL-2.1
TC-MEDIAPLAYBACK-6.8
TC-MEDIAPLAYBACK-6.9
TC-MEDIAPLAYBACK-6.10
TC-OTCCM-1.2

* Restyled by whitespace

* Fix conflict

* Fix merge

* Fix merge

* Modifed YAML tests:
TC_DISHM_1_2
TC_DISHM_2_1
TC_DISHM_3_1
TC_DISHM_3_3
TC_LWM_1_1
TC_LWM_1_2
TC_OTCCM_1_1
TC_OTCCM_1_2
TC_OTCCM_2_1
TC_OTCCM_3_1
TC_OTCCM_3_3
TC_TCCM_1_1
TC_TCCM_1_2

* Auto generated files

* Restyled by whitespace

* Fix the CI failure for LWM-1.1 & TCCM-1.1 test

* Fix CI failure OTCCM-1.1 test

* Revert tests
TC-LWM-1.1
TC_TCCM-1.1
TC-OTCCM-1.1

* Fixes issue: 109, 110, 111, 112, 113, 114, 115, 116
TC-CNET-4.1
TC-CONTENTLAUNCHER-10.4
TC-DRYERCTRL-2.1
TC-MEDIAPLAYBACK-6.8
TC-MEDIAPLAYBACK-6.9
TC-MEDIAPLAYBACK-6.10
TC-OTCCM-1.2

* Restyled by whitespace

* Fix merge

* Fix merge

* remove dead java encode_value.zapt (#31896)

* Move getting the reboot cause to platform abstraction. Set a getter for the reboot cause so different stacks can obtain it (#31891)

* Bump third_party/imgui/repo from `96839b4` to `f50ddc4` (#31917)

Bumps [third_party/imgui/repo](https://github.com/ocornut/imgui) from `96839b4` to `f50ddc4`.
- [Release notes](https://github.com/ocornut/imgui/releases)
- [Commits](https://github.com/ocornut/imgui/compare/96839b445e32e46d87a44fd43a9cdd60c806f7e1...f50ddc431e3b8840036e88abc4c3cf74500aa12b)

---
updated-dependencies:
- dependency-name: third_party/imgui/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump third_party/nanopb/repo from `f8724ee` to `1f0c2e1` (#31915)

Bumps [third_party/nanopb/repo](https://github.com/nanopb/nanopb) from `f8724ee` to `1f0c2e1`.
- [Commits](https://github.com/nanopb/nanopb/compare/f8724ee54b3733aebfc25ac0ed5e8b142569c59e...1f0c2e19c661f18dd88428858b8e965a26589e03)

---
updated-dependencies:
- dependency-name: third_party/nanopb/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump third_party/openthread/repo from `bf587dd` to `cf357d7` (#31912)

Bumps [third_party/openthread/repo](https://github.com/openthread/openthread) from `bf587dd` to `cf357d7`.
- [Release notes](https://github.com/openthread/openthread/releases)
- [Commits](https://github.com/openthread/openthread/compare/bf587dd09005abc49a5595f8691afb9512fac9c1...cf357d70be94e6f3f21d07b3c16e29bb7ec5cc7e)

---
updated-dependencies:
- dependency-name: third_party/openthread/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github/issue-labeler from 3.3 to 3.4 (#31918)

Bumps [github/issue-labeler](https://github.com/github/issue-labeler) from 3.3 to 3.4.
- [Release notes](https://github.com/github/issue-labeler/releases)
- [Commits](https://github.com/github/issue-labeler/compare/v3.3...v3.4)

---
updated-dependencies:
- dependency-name: github/issue-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump natiginfo/action-detekt-all from 1.23.4 to 1.23.5 (#31919)

Bumps [natiginfo/action-detekt-all](https://github.com/natiginfo/action-detekt-all) from 1.23.4 to 1.23.5.
- [Release notes](https://github.com/natiginfo/action-detekt-all/releases)
- [Commits](https://github.com/natiginfo/action-detekt-all/compare/1.23.4...1.23.5)

---
updated-dependencies:
- dependency-name: natiginfo/action-detekt-all
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add "orphan" files from bdx to gn (#31874)

* Add "orphan" files from bdx to gn

This should help layer enforcement.

* Restyle

* Increase number of retries on websocket in YAML test harness. (#31893)

We seem to be hitting the 4-retry cap a lot.  The question is whether waiting an
extra few seconds would help or not.

Co-authored-by: Andrei Litvin <[email protected]>

* Add missing function to set delegate in Door Lock Server (#31846)

* Add missing function to set delegate in Door Lock Server

* Restyled by clang-format (#31847)

Co-authored-by: Restyled.io <[email protected]>

---------

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <[email protected]>

* Bump third_party/mbedtls/repo from `1b9cea3` to `6b36a5d` (#31913)

Bumps [third_party/mbedtls/repo](https://github.com/ARMmbed/mbedtls) from `1b9cea3` to `6b36a5d`.
- [Release notes](https://github.com/ARMmbed/mbedtls/releases)
- [Commits](https://github.com/ARMmbed/mbedtls/compare/1b9cea30b1d59a42df7d0f98aed97462985d42d5...6b36a5db07ae0e299c9e67f526c28db93e586e25)

---
updated-dependencies:
- dependency-name: third_party/mbedtls/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [Scenes] Test Update  (#31614)

* Updated PICS and server yamls Test_TC_... to fit test plan

* Apply suggestions convert hex to dec base

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

* Updated remaining transition times and added delay for Darwin CI test

* Added verification for steps 4b and 4c in TC_S_2_5

* Restyled by whitespace

* Restyled by prettier-yaml

* Removed Un-necessary PICS, added verification where it was missing in TC_S_2_5 and TC_S_2_6

---------

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

* Bump third_party/ot-br-posix/repo from `13d583e` to `9326cc3` (#31914)

Bumps [third_party/ot-br-posix/repo](https://github.com/openthread/ot-br-posix) from `13d583e` to `9326cc3`.
- [Release notes](https://github.com/openthread/ot-br-posix/releases)
- [Commits](https://github.com/openthread/ot-br-posix/compare/13d583e361c7038b967b601d5e5f6739b0bcf736...9326cc38b6b6ce81958a96d7821c4cb21976d636)

---
updated-dependencies:
- dependency-name: third_party/ot-br-posix/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [Tizen] Use spec complaint BLE advertising intervals (#31790)

* [Tizen] Use spec complaint BLE advertising intervals

* Transition from fast adv to slow after timeout

* Refactor Tizen specific BLE initialization function

* Use ScheduleLambda instead of ScheduleWork

* Wrap C callbacks with lambda to make methods non-static

* Define BLE_CONNECTION_OBJECT for Tizen platform

* Get rid of another static method

* Update name to align with convention

* Do not use sInstance directly if possible

* Added the --app-pid flag to the python matter testing support (#31866)

* Added the --app-pid flag to the python matter testing support to provide a way for test scripts to get the PID of the app they are running against.

* fixed typo.

Co-authored-by: Petru Lauric <[email protected]>

---------

Co-authored-by: Petru Lauric <[email protected]>

* TC-ACE-2.1/2: Update default timeout (#31643)

* TC-ACE-2.1/2: Update default timeout

* Fix default timeout

Hey, you know what helps? Committing changes in the correct
branch before uploading.

* python testing: Add PICS parser for xml (#31493)

* python testing: Add PICS parser for xml

Code blatently stolen from Jon Rhees.

* Restyled by isort

* remove some debug

---------

Co-authored-by: Restyled.io <[email protected]>

* [Linux] Do not reuse cancellable object  (#31828)

* [Linux] Do not reuse cancellable object

Per documentation for g_cancellable_reset():

> Note that it is generally not a good idea to reuse an existing
> cancellable for more operations after it has been cancelled once, as
> this function might tempt you to do. The recommended practice is to
> drop the reference to a cancellable after cancelling it, and let it
> die with the outstanding async operations.

* Update cancellable in ChipDeviceScanner

* [ICD] Refactor ICDManager to use System::Clock types (#31881)

* Refactor time members

* add using namespace

* Fix ActiveModeThreshold type and cast

* [MatterYamlTests][darwin-framework-tool] Use a list of tests to run f… (#31792)

* Properly handle Aliro credential validation in door lock server (#31932)

* Handle Aliro credential in door lock server

* Restyled by clang-format (#31933)

Co-authored-by: Restyled.io <[email protected]>

* Update src/app/clusters/door-lock-server/door-lock-server.cpp

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

* Restyled by clang-format (#31935)

Co-authored-by: Restyled.io <[email protected]>

* Update constant name from git chage

* Update to use SupportsAliroProvisioning API

---------

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>

* Implement support for more configurable server endpoints in Matter.framework. (#31814)

* Implement support for more configurable server endpoints in Matter.framework.

* Public APIs on MTRDeviceController to add/remove an endpoint.
* Internal APIs on MTRDeviceController to query the access grants for a cluster
  path and the declared "minimum privilege needed" to read a given attribute.
* Changes to the controller factory to stop using app/dynamic_server and instead
  use the new infrastructure to expose OTA Provider on endpoint 0.
* Internal APIs on the controller factory to query access grants and declared
  privileges.
* An implemenation of AccessControl::Delegate to do ACL checks using the
  above-mentioned APIs.
* A fix to MTRServerAttribute's setValue for arrays: it was not expecting the
  correct data-value structure for an array.  This requires fixing some tests
  too, to provide the right structures.
* Changes to the MTRServer* data structures to allow passing nil to
  associateWithController, to support the OTA endpoint which is not associated
  with any controller.
* Changes to MTRServerCluster to create an AttributeAccessInterface, the set of
  EmberAfAttributeMetadata needed to represent its attributes, and various other
  things needed to register a cluster with the "ember" bits.
* Changes to MTRServerEndpoint to create an EmberAfEndpointType, a list of
  EmberAfCluster, and various other things needed to register an endpoint with
  the "ember" bits.
* (Re-)addition of MTRIMDispatch to handle command dispatch for OTA and host a
  few other functions the "ember" bits expect to exist.
* Addition of some headers that the "ember" bits expect to exist at specific
  paths and with some specific content: "app/PluginApplicationCallbacks.h" and
  "zap-generated/endpoint_config.h".  Importantly, the latter sets
  FIXED_ENDPOINT_COUNT to 0.
* Addition of unit tests that exercise the non-OTA bits of the above (OTA is
  covered by existing tests), including the ACL checks and so on.
* Including a bunch of src/app and src/app/util files needed for the "ember"
  stuff to work in the framework.
* Turning off the chip_build_controller_dynamic_server bit that we are no longer
  using (and which conflicts with the above bits).
* Configure Darwin to support 254 dynamic endpoints (the maximum that makes
  sense) by default.
* Adjusting include paths for the Xcode darwin-framework-tool project, so that
  it sees the new headers that were added.

* Address review comments.

* Fix test timeout due to resolving IPv4 non-locahost addresses.

* Remove stale comment.

* EFR32 and SiWx917 can now use the same ConfigurationManagerImpl.cpp implementation (#31939)

* Remove vestige of the initial ICD event base management (#31940)

* [darwin-framework-tool] Remove codegen tests (#31942)

* Add strong guarantee on monotonicity of system clock (#31885)

* Add strong guarantee on monotonicity of system clock

- It was observed some platforms have decrementing values from
  `SystemClock::GetMonotonicMilliseconds64()` implementation
  which can violate the required invariant that they NEVER go back,
  since multiple deadlines are computed from this clock, which could
  then never hit. This was observed to break in the field in subtle
  ways after ~48 days (2^32 milliseconds).
- This change introduces a VerifyOrDie to allow crash/restart if
  the invariant is broken, since that leaves the stack in a possibly
  wedged state.
- The new invariant is constructed to be reentrant-safe to maintain
  the invariant, in a way that it will eventually be caught, even
  if there are many threads/cores calling `GetMonotonicTimestamp()`.
  This was done in a lock-free manner, and was added since the public
  API of SystemLayer is not guaranteed to only be called from Matter
  thread context.

Issue #31875

Testing done:

- All unit tests still pass.
- All integration tests still pass.
- When `mockClock.AdvanceMonotonic(200_ms);` is replaced with
  `mockClock.AdvanceMonotonic(0xffff'ffff'ffff'ffff_ms);` in
  `TestSystemTimer.cpp::CheckOrder()`, the test crashes as expected
  due to detection of wraparound.

* Fix review comments and move to intrinsics

* Restyled by clang-format

* Fix build and add warning

* Fix build

* Restyled by clang-format

* Address review comment, add new define instead of linux && darwin

* Restyled by clang-format

---------

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Restyled.io <[email protected]>

* Initial XML for Power Topology cluster (#31689)

* Initial XML for Power Topology cluster

* Regen

* Restyled really wants newlines at the end of every JSON file

* Rename LeafTopology to TreeTopology

* [Linux] Add support for extended advertisement (#31668)

* Use ScheduleLambda() instead of ScheduleWork

* Set min/max advertisement interval

* Matter BLE advertisement type shall be peripheral

* Allow intervals to be set after initialization

* Keep BlueZ default for adv slicing duration

* Allow to update intervals on the fly - fast/slow

* Transition to slow advertising after timeout

* Fix advertisement typos in all places in the codebase

* Do not specify advertisement timeout in BlueZ

* Add support for extended advertisement

* Post review changes - add manual how to enable experimental features in
BlueZ

* Restyled by prettier-markdown

* Assert that extended adv interval is >= fast adv interval

* Cancel HandleAdvertisingTimer timer in case of error

---------

Co-authored-by: Restyled.io <[email protected]>

* ESP32: Add a menuconfig option to enable/disable persist subscription (#30889)

* ESP32: Add a menuconfig option to enable/disable persist subscription

* enable persistent subscription by default

* Regenerate ZAP after merge conflict (#31956)

* Make the help text for write-by-id say the right thing about the value list. (#31884)

https://github.com/project-chip/connectedhomeip/pull/20413 changed the value
separator from comma to semicolon, but did not change the help text.

Fixes https://github.com/project-chip/connectedhomeip/issues/31854

* Improve the logic around schedule application in LockEndpoint. (#31946)

The old logic had several bugs:

* For kYearDayScheduleUser users, there was no schedule enforcement at all,
  since the outer "if" never tested true.
* For kWeekDayScheduleUser users, there was no schedule enforcement at all,
  since the inner "if" never tested true.
* For kScheduleRestrictedUser users, access was allowed if there was any
  schedule, weekday or yearday, that granted access.  But the intent is that
  access should be disallowed if there are year day schedules and none of them
  grants access, no matter what's going on with weekday.  And vice versa.

* Make it clearer that cluster-enums-check is returning kUnknownEnumValue. (#31951)

Instead of hardcoding the returns via the ZAP template, just use the symbolic name.

* Spell out inet and lwip sources in GN (#31931)

* Spell out inet and lwip sources

Prepare to have some scripts that force all headers/sources to be known to GN.

* Fix some copy and paste issues

* Another copy and paste issue fixed

* Restyle

* Board-specific LWIP options for silabs boards (rs911, wf200, thread) were never used (#31929)

* Add silabs-specific lwip options to GN

* Make the lwipopts conditional

* Revert "Make the lwipopts conditional"

This reverts commit ff91e81193fad3b2b4941048122a1b9353cb6b3f.

* Add another dependency for lwip

* Remove TAP support from lwip (#31886)

* Update SupportsAnyCredential function to include Aliro (#31949)

* Update SupportsAnyCredential function to include Aliro

* Restyled by clang-format (#31950)

Co-authored-by: Restyled.io <[email protected]>

---------

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <[email protected]>

* Implement PayloadTestRequest command in DGGEN (#31907)

* Add DataModelTest feature to general diagnostics

* Regen ZAP

* Fix TC-DGGEN-1.1

* Restyled by whitespace

* Restyled by clang-format

* Restyled by prettier-json

* Restyled by isort

* Fix integration tests

* Fix Java codegen

* Address review comments

* Fix Java codegen

* Fix Java codegen

* Fix Java codegen golden data

* Fix TC-DGGEN-1.1

* Fix removal of Commands.h

* Fix YAML test

---------

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Restyled.io <[email protected]>

* Add orphan header files from `src/controller` to gn (#31882)

* Add files from src/controller to gn

* Add more orphaned files from controller itself

* Restyle

* Move more files into sources since CHIPCluster actually includes them. Seems VERY odd to have this header used but not actually have any implementation. This is a bug!

* Attempt to fix some of the include oddities. Controller is VERY broken and feels like a god object definition

* Move more headers ... CHIPDeviceController strongly pulls the entire world.

* Fix typo

* One more header

* Fix chef

* Add more includes that seem needed

* Add another dependency

* Add includes config to controller as it needs relative includes

* Restyle

* Fix clang-tidy logic

* Apply some clang-tidy fixes since I looked at controller. Minor nullptr usage and remove else after return

* Ensure no errors about unused assignments

* Yet another fix for logic to make sure all defined lists are used

* Include only headers as the special targets to force include errors

* Fix typo

* Fix typo

---------

Co-authored-by: Andrei Litvin <[email protected]>

* Add discover port parameter (#31948)

* Adds MdnsDiscovery class (#31645)

* Adds MdnsDiscovery class

* Fix restyle/lint

* Fix restyle

* Adds zeroconf dependency in tests.yaml

* Relocates zeroconf dependency from tests.yaml to requirements.txt

* Addresses latest review comments

* Fixes typo

* Updates instantiation method and initial discovery

* Fix restyle/lint

* Addresses latest review comments

* Addresses latest review comments

* Fix restlye/lint

* Addresses review comments

* restore enum

* Refactor progress

* Major refactor to discover() and get_operational_service_info, pending other get methods

* Fix restyle

* Fix restyle/lint

* Updates descriptions and variables

* Major refactor #2

* Fix restyle

* Updates method descriptions

* Fix restyle

* Addresses review comments

* Fix restyle

* Fix lint

* Default parameters adjustment

---------

Co-authored-by: C Freeman <[email protected]>

* Allow chip-repl to know how many InvokeResponseMessages were recieved (#31781)

* Allow chip-repl to know how many InvokeResponseMessages were recieved

* Restyled by autopep8

* Clean up callback to be test only specifically

* Restyled by clang-format

* Address PR comments

* Small edit to add line that shouldn't be removed in this PR

* Address PR comment

---------

Co-authored-by: Restyled.io <[email protected]>

* [ICD] Refactor ICDCounter logic (#31957)

* Refactor ICD Check-In counter
Fix initial Check-In counter value

* Add basic integration tests to validate behavior

* Restyled by whitespace

* Restyled by prettier-yaml

* rename source_set

* Rename constant name

* Apply suggestions from code review

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

* addres review comments

* Add init/shutdown unit-test for the ICDManager

* Fix Build.gn - multiple inclusion of CheckInMessage.cpp

---------

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

* Add assertChipStackLockedByCurrentThread for LogEvent (#31895)

* Updated test comments to display the proper keys values (#31968)

* Move messagedef to its own buildfile (#31972)

Co-authored-by: Andrei Litvin <[email protected]>

* Upload .ips bits in Xcode derived data on failure in Darwin tests as an artifact. (#31964)

If there are crashes in the test, the crash logs should be in there, and we can
try to debug those.

* [Telink] Add B95 (TLSR9258A) skeleton & Update builds to docker version 35 (#31762)

* add the board of tlsr9253b and tlsr9253b_retention

* riscv: telink: update board setting

- update the tlsr9253b setting .

Signed-off-by: Haiwen Xia <[email protected]>

* telink: b93: update the build sample and b93 platform

- update the light-switch and lighting-app .
- set the tlsr9253b and tlsr9253b_retention for the ci environment .

Signed-off-by: Haiwen Xia <[email protected]>

* telink: b93: fix the build environment

- set the tlsr9253b and tlsr9253b_retention for the ci environment .

Signed-off-by: Haiwen Xia <[email protected]>

* telink: b93: loopback to remote version

- change the github setting to telink .

Signed-off-by: Haiwen Xia <[email protected]>

* [Telink] Add B93 to Readme files

* [Telink] Fix CI builds

* [Telink] Reduce number of builds

* [Telink] Disable update Zephyr to specific revision

* Update builds to docker version 34

* [Telink] remove duplicated code

* revert k32w image update

* [Telink] rename B93 into B95

* Update builds to docker version 35

* fix doc build

---------

Signed-off-by: Haiwen Xia <[email protected]>
Co-authored-by: haiwen.xia <[email protected]>

* Enforce that files in the `src` directory are referenced from BUILD.gn (#31960)

* Start creating a script

* Have much more functionality

* Restyle

* Add some doc comments ... this starts being usable

* Add workflow to validate that gn knows about files

* Remove controller from known exceptions: we fixed that one

* Fix flake8

* Add more known failures

* Better error reporting for gn reachability

* Remove the platform specific orphan file listing

* Force the "not failures anymore" to be fatal

---------

Co-authored-by: Andrei Litvin <[email protected]>

* Fix linter error: messagedef files are now covered by gn (#31995)

* Rvc op state delegate dummy start stop handlers (#31764)

* Added dummy implementations of the start and stop handler methods to the RvcOperationalState::Delegate class.

* Removed the start and stop handler methods defined in the all-clusters-app RvcOperationalStateDelegate.

* Removed the start and stop handler methods defined in the rvc-app RvcOperationalStateDelegate.

* Restyled by clang-format

* Apply typo fixes from code review

Co-authored-by: Petru Lauric <[email protected]>

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Petru Lauric <[email protected]>

* Rename EMBER_AF to MATTER_DM (#31971)

* Mark ElectricalPowerMeasurement and PowerTopology provisional on Darwin. (#31959)

* ubuntu:35 is not a valid runner (#32007)

* Rearranged python test scripts order into an alphabetical format (#31930)

* Rearranged order of the pytest scripts alphbetically accordingly to the arguments

* Fixed 2 scripts alphabetically were not in line

* This changes reflect the sorting of the testing python scripts via machine runned .py script.

---------

Co-authored-by: Andrei Litvin <[email protected]>

* Fix global reference leak across the android in matter (#31890)

* [ICD] Trigger Check-In messages at boot (#31993)

* Send Check-In message at boot

* Update reboot test

* update comment

* restyle

* refactor function so that it can be used outside of the reboot

* Remove unused define function

---------

Co-authored-by: Andrei Litvin <[email protected]>

* TV Matter Media: Resolve cluster revisions (#31863)

* Resolve the cluster revision issues

* Restyled by whitespace

* Restyled by clang-format

* Update per comments

* Restyled by whitespace

* Restyled by clang-format

* Update Content Launcher

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>

* Linux: Implement PDC support in WiFiDriver / ConnectivityManagerImpl (#31983)

* Use DecodeChipCert instead of LoadCert in chip-cert print-cert

LoadCert performs additional checks (only relevant to operational certs)
that prevent PDC identities from being printed.

* Simplify CHIPCert test vector code

* Add ConvertECDSAKeypairRawToDER to CHIPCert

* Linux: Make WiFiNetwork struct private, add helpers

- Make WiFiNetwork struct private
- Move static_asserts to where the fields are defined
- Add Empty() and Match() helpers to WiFiNetwork
- Validate index parameter in ReorderNetwork()
- Use CHIP_ERROR_FORMAT

* Linux: Implement PDC support in WiFiDriver / ConnectivityManagerImpl

* Address review comments

* Clear handled err before the next call

* [crypto] Extend the OperationalKeystore API to allow migration (#31279)

- Extended the OperationalKeystore API by mechanism for migration of
operational keys stored in one Operational Keystore implementation
to another.

- Extended the OperationalKeystore API by exporting keypair for Fabric.

- Added Unit tests to PersistentStorageOpKeyStore and PSAOpKeystore regarding
the new OperationalKeystore for migration and exporting OpKeys.

Added first unit tests, created export method

* Remove `CHIPClusters.h` and corresponding `.zapt` file from the build (#32004)

* Completely remove all references to CHIPClusters.h

* Restyle

* Remove references to CHIPClusters.zapt as well

* Use BaseCluster instead of specific clusters

* Fix names and includes

* add java and python files from `src/controller` to gn (#31977)

* Add 2 java files to be known to gn

* Add python files

* Fix commas and format

* Mark a set of files handled

---------

Co-authored-by: Andrei Litvin <[email protected]>

* Add files from `src/lib/dnssd` to be tracked by BUILD.gn files (#31976)

* Make sure dnssd constants and browsedelegate is tracked by gn

* Add more minmdns sources to be known to gn

* Move more things into Types to make sure that platform Dnssd knows about them

* Fix system layer dependency in linux dnssd impl

* Remove dnssd files from lint

* Add Delegate to Types as well ... it seems required for platform

* Remove duplicate source

* Restyle

---------

Co-authored-by: Andrei Litvin <[email protected]>

* Log when MTRServerAttribute not bound to a controller has its value updated. (#31973)

This should enable API consumers to more easily figure out why their attribute
updates are not being published.

* Quick cleanup of unused type (#32009)

* TV Matter Media: Add logic to message cluster (#31943)

* Adding basic logic

* Updates

* Update message cluster

* Update copyright

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>

* Refactor CommandSender newly added APIs to be more extendable (#31837)

* Update rvc app (#31827)

* Replaced the vendor specific mode tag for the mapping mode with the mapping mode tag.

* Updated the rvc-app's RvcOperationalStateDelegate to allow setting of a callback furtion for when the GoHome commond in received.

* Implemented the GoHome handler for rvc-app.

* Updated the PICS file for the rvc-app.

* Fixed the Admin commissioning cluter's zap config for the rvc-app

* Renamed the PICS values file to be similar to the ci file. Updated the script that runs all the RVC yaml tests.

* Updated the rvc-app state machine diagram.

* Updated theh rvc-app README.

* Restyled by clang-format

* Restyled by prettier-markdown

* Restyled by shfmt

* Updated the rvc-app .matter file.

* Reduced the text of some errors as it was longer that allowed.

* Added an out-of-band message to reset the rvc-app to its start-up state.

* Updated a returend error following the spec change.

* Excluded the RVC state diagram png from the lint check for %zu.

* Updated the rvc-app readme.

* Removed PIXIT settings from the rvc-app-pics values.

* Excluded all binary files from the lint check for %zu.

* Re-removed the OpenBasicCommissioningWindow command of the Administrator Commissioning cluster in the rvc-app due to security concerns.

* Updated the rvc-app .matter file.

---------

Co-authored-by: Restyled.io <[email protected]>

* TC-ACE-2.1/2: Add commissioning step (#31715)

This is apparently what the TH is using to determine if a test
requires commissioning, so we best add it.

* Tweaks to evse test plans based on review(issue #31460) (#31901)

* Added support for test event triggers and handling of reading events into matter_testing_support.

* Made TC_EEVSE_Utils.py use the matter_testing_support instead of its own local copy.

* Restyled by isort

* Added TC_EEVSE_2_2, 2_4, 2_5 to tests.yaml. Fixed compile warning treated as error due to sign conversion.

* Updated default min_charge and max_charge in TC_EEVSE_Utils send_enable_charge_command to have sensible default values if not specified.

* Fixed test app name

* Moved test runs later in test yaml

* Fixed discriminator used in script to match that used in the app.

* Added --endpoint 1 so it tests the correct endpoint

* Code review comment fixes.

* Fixed trailing whitepace

* Merged TC_EEVSE tests back in

---------

Co-authored-by: Restyled.io <[email protected]>

* Cleanup a few more files that were not recognized by gn (#31999)

* Cleanup and fix some tests dependencies

* Fix test compilation. Header was forcing C-linkage of the name

* restyle

* Fix code lint

* Fix one more

* Fix dependencies for more common integ files

* Remove assert because this file is exercised in dependencies

* Add Mock events handling

* Remove TestOperationalDeviceProxy - this proxy does not seem to exist anymore and this test is never run

* One more file update

* Update linter

* Restyle

---------

Co-authored-by: Andrei Litvin <[email protected]>

* [Darwin] MTRDevice cache make use of controller storage for persistent cache (#31952)

* [Darwin] MTRDevice cache make use of controller storage for persistent cache

---------

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

* Make MTRServerAttribute threadsafe. (#31970)

* Make MTRServerAttribute threadsafe.

If two API clients are both touching the same instance of MTRServerAttribute on
different threads, we should handle that correctly.

* Address review comments.

* [Python] CommissonWithCode support discoveryType (#31904)

* [Linux] fix memory leak

* [Python] call StopDiscovery after DiscoveryNodes

* [Python] CommissionWithCode support DiscoveryType

* fix param error

* add e2e test

* automatically run in CI

* Test different modes using different devices

* fix error manual code

* Microwave oven: Fix conformance (#32029)

* [IM] Remove the EMBER_ZCL_STATUS_DUPLICATE_EXISTS error code (#32017)

* Remove the EMBER_ZCL_STATUS_DUPLICATE_EXISTS error code

* fix comments

* [crypto] Add HKDF key handle and use it during PASE (#31311)

* [crypto] Add HKDF key handle and use it during PASE

Current SPAKE2+ interface assumes that raw shared secret
is extracted and used by the application to derive session
keys. This prevents using secure crypto APIs, such as PSA,
to perform SPAKE2+ and do the key derivation in a secure
environment, and isolate the application from key material.

1. Add Hkdf128KeyHandle type and add methods for deriving
   session keys from an HKDF key.
2. Change SPAKE2+ interface to return HKDF key handle
   instead of raw key secret.

A similar approach can be taken to improve CASE security
in the future though we would need 256-bit HKDF key support
in such a case.

* Change HKDF key handle to hold key of any length

* Code review

* Enable rvc python tests to run in ci (#31872)

* Replaced the vendor specific mode tag for the mapping mode with the mapping mode tag.

* Updated the rvc-app's RvcOperationalStateDelegate to allow setting of a callback furtion for when the GoHome commond in received.

* Implemented the GoHome handler for rvc-app.

* Updated the PICS file for the rvc-app.

* Fixed the Admin commissioning cluter's zap config for the rvc-app

* Renamed the PICS values file to be similar to the ci file. Updated the script that runs all the RVC yaml tests.

* Updated the rvc-app state machine diagram.

* Updated theh rvc-app README.

* Restyled by clang-format

* Restyled by prettier-markdown

* Restyled by shfmt

* Updated the rvc-app .matter file.

* Reduced the text of some errors as it was longer that allowed.

* Added an out-of-band message to reset the rvc-app to its start-up state.

* Updated a returend error following the spec change.

* Excluded the RVC state diagram png from the lint check for %zu.

* Added the PICS_SDK_CI_ONLY PICS to the rvc-app-pics-values to allow it to run tests in CI.

* Improved the TC_RVCCLEANM_2_1 test to allow the CI to run the tests against the rvc-app.

* Improved the TC_RVCRUNM_2_1 test to allow the CI to run the tests against the rvc-app.

* Improved the TC_RVCCLEAN_2_2 test to allow the CI to run the tests against the rvc-app.

* Improved the TC_RVCRUNN_2_2 test to allow the CI to run the tests against the rvc-app.

* Improved the TC_RVCOPSTATE_2_1 test to allow the CI to run the tests against the rvc-app.

* Improved the TC_RVCOPSTATE_2_3 test to allow the CI to run the tests against the rvc-app.

* Restyled by autopep8

* Restyled by isort

* Updated the rvc-app readme.

* Removed PIXIT settings from the rvc-app-pics values.

* Excluded all binary files from the lint check for %zu.

* Fixed typos from code review

Co-authored-by: Petru Lauric <[email protected]>

* Re-removed the OpenBasicCommissioningWindow command of the Administrator Commissioning cluster in the rvc-app due to security concerns.

* Updated the rvc-app .matter file.

* Removed sleeps between messages to the DUT as they are not needed.

* Restyled by isort

* Fixed extra imports in python tests.

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Petru Lauric <[email protected]>

* Delete ContentLaunch::SupportedProtocolsBitmap::kWebRTC (#32042)

Co-authored-by: Andrei Litvin <[email protected]>

* TC-SM-1.2: Use correct data type (#31644)

* TC-SM-1.2: Use correct data type

Credit to Manjunath for finding this.

Fixes: https://github.com/project-chip/matter-test-scripts/issues/105

* one more fix

* one more

* Pull this out and add a test

* linter

* add docstring

* Stop including af-enums.h in Darwin unit tests. (#32044)

These are Objective-C files, and should not be including potentially-C++
headers.

A bunch of "test that the code is 0" checks were replaced with "error is nil"
checks (and some were removed, if "error is nil" was already being tested).

The macro definition reformatting in MTRBackwardsCompatTests.m is just from
updates to our clang-format version, looks like.

* Add some more progress-style logging to Darwin server endpoints. (#32047)

Lets us track when endpoints/clusters/attributes are set up and attribute values
changed.

* Remove include InteractionModelEngine.h in reporting/Engine.h (#32027)

* [ICD] Add OperatingMode attribute to the LIT-ICD-app (#31997)

* [Interaction Model]Sync AmberAfStatus to InteractionModel::Status (#32016)

* Sync AmberAfStatus to InteractionModel::Status

* fix comments

* fix darwin build

* add TODO for enum class

* fix Darwin

* tracing: Added a macro to report the metric values from the sdk to the tracing framework. (#32032)

* Added metric support

* Addressed the review comments

* [CI] When the CI is starting the server (chip-tool or darwin-framework-tool) wait to see for the websocket message ready before trying to connect (#32006)

* [darwin-framework-tool] Do not use platform::LogV since this is a no-op now

* [CI] When the CI is starting the server (chip-tool or darwin-framework-tool) wait to see for the websocket message ready before trying to connect

* [TC-MWOxxx] Add MWO tests (#30856)

This PR adds test for the MWO clusters.
- Test for Microwave Oven Mode cluster
- Test for Microwave Oven Control cluster

Note: tests reflect spec [PR 8588](https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/8588) and [PR 8715](https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/8715)

This PR also:
- Adds a CI build target for the microwave oven example app
- Adds the python tests to CI
- Uses the example app for tests instead of all-clusters
- Fixes an SDK build problem for the microwave control cluster

* Bump third_party/ot-br-posix/repo from `9326cc3` to `c5a7a35` (#32069)

Bumps [third_party/ot-br-posix/repo](https://github.com/openthread/ot-br-posix) from `9326cc3` to `c5a7a35`.
- [Release notes](https://github.com/openthread/ot-br-posix/releases)
- [Commits](https://github.com/openthread/ot-br-posix/compare/9326cc38b6b6ce81958a96d7821c4cb21976d636...c5a7a35e3bd2f3da8cce1e2e2a3bbe5cdeedb729)

---
updated-dependencies:
- dependency-name: third_party/ot-br-posix/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Wandalen/wretry.action from 1.3.0 to 1.4.4 (#32063)

Bumps [Wandalen/wretry.action](https://github.com/wandalen/wretry.action) from 1.3.0 to 1.4.4.
- [Release notes](https://github.com/wandalen/wretry.action/releases)
- [Commits](https://github.com/wandalen/wretry.action/compare/v1.3.0...v1.4.4)

---
updated-dependencies:
- dependency-name: Wandalen/wretry.action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [placeholder] Remove tests generated with zap (#32038)

* [placeholder] Remove examples/placeholder tests codegen

* Remove src/app/tests/suites/pics

* Remove src/app/tests/suites/include

* Remove src/app/tests/suites/templates

* Remove src/app/tests/suites/commands/[delay|discovery|log|system]

* Remove examples/darwin-framework-tool/commands/tests/TestCommandBridge.h

* [TI] CC2674 migration OTA support (#32026)

* ota support for cc2674

* Restyled by clang-format

* Restyled by prettier-markdown

---------

Co-authored-by: Restyled.io <[email protected]>

* Update src/app/util/ emberafstatus (#32054)

* 31599 DEMM & EVSEM FeatureMap list has to be updated as per test plan (should be 0) (#32057)

* Fixes: #31599 - Changed to remove kOnOff support in EEVSEM and DEMM clusters.

* Added a kNoFeatures enum to eevse and demm xml, and then regen_all

* Revert "Fixes: #31599 - Changed to remove kOnOff support in EEVSEM and DEMM clusters."

This reverts commit b79eec63fb35508772f852e5e402147de17df5fb.

* Fix threadsafety issue in MTRServerAttribute. (#32084)

An attempt to get the description could race with updates of _parentCluster.

* Add Electrical power measurement to energy management app (#31616)

* Hoist shared enums and bitmaps into detail namespace

* Regenerate

* Add electrical measurement clusters

* Add NumberOfMeasurements attribute

* Bump to latest spec

* Bump ZAP version

* Remove Electrical Measurement cluster

* Add initial Electrical Power Measurement cluster implementation

* Revert "Remove Electrical Measurement cluster"

This reverts commit 47f5298ad6d1ed5f18b3ae3768960adbf604965c.

* Fix incorrect min/max values on energy attributes

* Formatting electrical-power-measurement-server

* Regen after restoring deprecated electrical measurement cluster

* Re-add inexplicably important blank line to zap_execution.py

* De-alphabetize list of files to avoid breaking GH action

* Semi-realphabetize?

* Added EPM cluster to Energy Management App

* Restore strangely dropped events

* Better BitMask handling

* Change min/max on electrical measurements to be decimal instead of hex

* Rename meas-and-sense to measurement-and-sensing.xml

* Remove seemingly superfluous attribute requirements on Descriptor cluster on Electrical Measurement

* Updates to electrical-power-measurement-server based on comments

* Take all-clusters-zap from upstream-master.

* Added side=server into electrical-power and electrical-energy clusters XML so events can be enabled in ZAP

* Updated all-clusters.zap and reran autogen. Added EPM cluster to energy-management-app.zap

* Added initial version of EPM delegate and instance to energy-management-app

* Enabled Electrical Energy Measurement in example-energy-management-app ZAP and regen all.

* Added ElectricalEnergyMeasurement to chip-repl __init__.py

* Restyled by isort

* Changed feature map to indicate CUME and IMP support only

* Adding into __all__ some missing clusters which are causing flake8 issues.

* Removed out of date comment

* Added a test event trigger to fake energy reporting readings into the EEM cluster (hooks ready for EPM cluster)

* Added new Energy Reporting TE Trigger delegate

* Updated random calculation and scaled into mWh (divide by 3600)

* Restyled by whitespace

* Restyled by gn

* Removed accidental launch.json inclusion

* Fix for ARM linux etc builds due to gn dependency check error

* Added code review suggestions.

* More code review suggestions fixed.

* Hoist shared enums and bitmaps into detail namespace

* Regenerate

* Add electrical measurement clusters

* Add NumberOfMeasurements attribute

* Bump to latest spec

* Bump ZAP version

* Remove Electrical Measurement cluster

* Add initial Electrical Power Measurement cluster implementation

* Revert "Remove Electrical Measurement cluster"

This reverts commit 47f5298ad6d1ed5f18b3ae3768960adbf604965c.

* Fix incorrect min/max values on energy attributes

* Formatting electrical-power-measurement-server

* Regen after restoring deprecated electrical measurement cluster

* Re-add inexplicably important blank line to zap_execution.py

* De-alphabetize list of files to avoid breaking GH action

* Semi-realphabetize?

* Restore strangely dropped events

* Better BitMask handling

* Change min/max on electrical measurements to be decimal instead of hex

* Rename meas-and-sense to measurement-and-sensing.xml

* Remove seemingly superfluous attribute requirements on Descriptor cluster on Electrical Measurement

* Updates to electrical-power-measurement-server based on comments

* Remove defaults from MeasurementAccuracyRangeStruct to match spec update

* Restore side="server" to events

* Move common enums and bitmaps to detail:: instead of detail::Enums and detail::Bitmaps; remove superfluous using statement

* Assign ID to Electrical Sensor device type

* Removed EPM and EEM from Root Node Device

* Restyled formatting is different than clang-format

* Re-add FeatureMap to attributeAccessInterfaceAttributes for EEM and EPM

* Regen after merge

* Added electrical-energy-measurement-server to CMakelist to fix linker issue.

* Lock client on Electrical Sensor device type

* Remove unneeded using statement now that Enums are in detail::

* Check for null iterators and error

* Switch to ResourceExhausted from CHIP_ERROR_INTERNAL

* Re-enabled EEM in energy management app and regen all after previous merge

* Some refactoring to add EPM Instance into the EVSEManufacturer class to clean up containment. Added ability to fake voltage, power and current to the TE triggers.

* Missed one file.

* Fixed crash due to unassigned dg pointer. Power/Voltage/Current faking working too.

* Touch file since restyled crashed

* Restyled by gn

* Restyled by isort

* Add stub for EPM cluster

* Reverted whitespace change

* Did regen_all after merge from master to resolve conflicts.

* Put back line of clusters which somehow got deleted accidentally.

* Remerged ZAP file and regen all after resolving conflicts.

* Fixes for Python tests

* Correct name for Ember init callback

* Formatting

* Sync optional attributes list with .zap file for EPM

* Add missing features to EPM stub

* Revert FeatureMap in attributeAccessInterfaceAttributes

* Allow FeatureMap in EEM constructor; add all-clusters-app EEM stub

* Forgot zcl-with-test-extensions

* Unregister EEM attribute access in destructor

* Remove redundant returns to keep clang-tidy happy

* Fix for issue mentioned in code review on EEM cluster limiting the number of endpoints it allows.

* Refactoring to have a common EvseMain across all platforms to avoid making changes in multiple places

* Added electrical-power-measurement-server to ESP32 CMakeLists.txt

* Updated Matter device types to add EVSE

* Open and saved energy-management-app.zap and regen_all

* Removed duplicate ElectricalEnergyMeasurment class which was accidentally merged in. Fixed issue raised about ElectricalEnergyMeasurement array size not working on bridges.

* Added support for test event triggers and handling of reading events into matter_testing_support.

* Made TC_EEVSE_Utils.py use the matter_testing_support instead of its own local copy.

* Restyled by isort

* Cherry pick from Tweaks to EVSE Test plans (Issue #31460)

* Changed the random value generation to make the values +/- and handle sign conversion to avoid compile warnings

* Enabled cumulativeEnergyExported in Energy-management-app.

* Added initial electrical power measurement 2.2 test case

* Changed copyright date

* Code review comment fixes.

* Changed to c++ style cast

* Fixed trailing whitepace

* Added support for testing read of EEM attributes and change of values

* Corrected EPM references in TC_EEM_2_2. Added TC_EEM_2_3

* Added periodic energy reporting, and new cumulativeEnergyReset attribute into energy-management-app.zap

* Added periodic energy reading support and TC_EEM_2_3 to 2_5.

* Python removed unused logging and EventChangeCallback

* Updates to align to test plan PR #3949

* Added initial EEM_2_1 test script.

* Added example of setting EEM Accuracy and EEM CumulativeEnergyReset structure - TC_EEM_2_1 now passes

* Restyled by whitespace

* Restyled

* Removed extra spaces in TC_EEM_2_1.py

* Removed unused EnergyManagementManager.cpp/.h

* Fixed PowerMode = kAc

* Initial TC_EPM_2_1.py script

* Restyled by isort

* Merged TC_EEVSE tests back in

* Initialized NumberOfMeasurementTypes

* Added EEM 2.1,2.2,2.3,2.4,2.5 and EPM 2.1,2.2 into CI workflow tests.yaml

* Interim state - partially refactored how Measurement Structs are encoded similar to how ModeBase clusters are implemented. Needs tidy up. Will break all-clusters for now

* Removed SetNumberOfMeasurementTypes since this can be derived from the ArraySize(kMeasurementAccuracies). Added more stringent checking in test script of measurementTypes and ranges.

* Completed TC_EPM_2_1.py script

* Corrected test plan spec reference.

* Test EPM_2_1 now runs and passes. Allows checking that attributes are supported, and skips test if not. Validation of values ignores Nulls (which are allowed). Turned on Ranges attribute.

* Revert unintended change to tests.yaml

* Python test case code-review updates

* Removed old range iterator.

* Fixed lint issues and adjusted timings to match the test plan pr.

* Fixed all-clusters electrical-power-measurement cluster by using the energy-management-app/common Delegate

* Implemented HarmonicCurrents and HarmonicStructs (to return empty list for now)

* Changed the API to ensure that a delegate doesn't change the data mid-way through a read, so the cluster server signals with a StartxxxRead and EndxxxRead call

* Applying suggested changes

* Incorporated feedback from review to simplify the code

* Removed comment per code review

---------

Co-authored-by: Hasty Granbery <[email protected]>
Co-authored-by: Restyled.io <[email protected]>

* Darwin: Simplify test setup and teardown (#32061)

* Darwin: Simplify test setup and teardown

Avoid relying on dummy tests that are ordered first / last.

* fix unused variables

* Bump third_party/openthread/repo from `cf357d7` to `b212a0a` (#32067)

Bumps [third_party/openthread/repo](https://github.com/openthread/openthread) from `cf357d7` to `b212a0a`.
- [Release notes](https://github.com/openthread/openthread/releases)
- [Commits](https://github.com/openthread/openthread/compare/cf357d70be94e6f3f21d07b3c16e29bb7ec5cc7e...b212a0a748070ccbda765c3ebed2aab8b6b08fce)

---
updated-dependencies:
- dependency-name: third_party/openthread/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump third_party/mbedtls/repo from `6b36a5d` to `ede909f` (#32066)

Bumps [third_party/mbedtls/repo](https://github.com/ARMmbed/mbedtls) from `6b36a5d` to `ede909f`.
- [Release notes](https://github.com/ARMmbed/mbedtls/releases)
- [Commits](https://github.com/ARMmbed/mbedtls/compare/6b36a5db07ae0e299c9e67f526c28db93e586e25...ede909f99ab6e6a958a41e365251c2a1d2c4ed4d)

---
updated-dependencies:
- dependency-name: third_party/mbedtls/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump third_party/imgui/repo from `f50ddc4` to `5360903` (#32068)

Bumps [third_party/imgui/repo](https://github.com/ocornut/imgui) from `f50ddc4` to `5360903`.
- [Release notes](https://github.com/ocornut/imgui/releases)
- [Commits](https://github.com/ocornut/imgui/compare/f50ddc431e3b8840036e88abc4c3cf74500aa12b...536090303a8fca7d896f77d6d63dc59249bc87f4)

---
updated-dependencies:
- dependency-name: third_party/imgui/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update chef.py (#32060)

* DNS-SD: Remove calls to set T flag (#32083)

* DNS-SD: Remove calls to set T flag

Nothing currently supports TCP, therefore nothing should be setting
this flag. Per the new spec text, it is now forbidden to have
the lowest bit marked. This will bring the SDK examples into compliance
with 1.3.

Note that this PR does not fix the advertising parameters API. We
will need a new API for this flag when TCP support lands. Leaving
this for a follow up PR as changing the API should happen separately
from bringing the examples into conformance as it may affect the
platforms, who have implementations outside of the SDK.

Test: tested with all-clusters and avahi. Also fixed tests to
      omit this flag and ensure it does not appear in the TXT
      record.
      Automated cert test for operational records is in progress
      and requires this PR to pass.

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>

* [nrfconnect] Fix memory leak in Window Covering sample. (#32041)

We were leaking 8 bytes each time the new attribute change was
reported by the WindowCovering Server. It was resulting in
running out of heap when stressing the device (by sending multiple
up-or-open/down-or-close commands).

Signed-off-by: Marcin Kajor <[email protected]>

* [Silabs] Update Silabs ICD status LED functionality description within README.md's (#31888)

* Updated Silabs ICD status LED functionality description

* Restyled by prettier-markdown

* Updated style and spelling

* Updated style and spelling

* Updated to include ICD vs. non-ICD LED behavior description

* Removed unnecessary underscores

* Correct description/documentation to refactored location of Silabs lighting example

* Restyled by prettier-markdown

* Restyled by shfmt

---------

Co-authored-by: Restyled.io <[email protected]>

* Enabling wpa3 mode by default. (#31858)

* Mark PayloadTestRequest/Response provisional on Darwin for now. (#32085)

* [Examples] Remove EmberAfStatus from example files (#32056)

* Replace EmberAfStatus in examples files

* Fix Tv-app

* fix ci

* remove using in headers

* [Android] Add Status handling for onReport code path (#32082)

* [ICD]Convert the ICD DNS advertiser variable from optional bool to an enum class (#32080)

* Convert the ICD DNS advertiser variable from optional bool to an enum class

* Apply suggestions from code review

Co-authored-by: mkardous-silabs <[email protected]>

* default mICDModeAdvertise  to kNone

---------

Co-authored-by: mkardous-silabs <[email protected]>

* Update DGGEN_1_1 and DGGEN_2_3 to match latest testplan spec (#31998)

* Update DGGEN_1_1 and DGGEN_2_3 to match latest testplan spec

* Fix CI

* Fix CI

* Restyled by whitespace

* Restyled by prettier-yaml

* Fix CI

* Fix CI

* Quick fix

* Update based on PR comments

* Restyled by whitespace

---------

Co-authored-by: Restyled.io <[email protected]>

* Add test steps to IDM_1_4 to validate multiple InvokeResponseMessages (#31979)

* Add test steps to IDM_1_4 to validate multiple InvokeResponseMessages

* Restyled by autopep8

* Address PR comments and CI issues

* rename variable

* Fix CI

* Fix incorrect merge attempt

* Fix CI

---------

Co-authored-by: Restyled.io <[email protected]>

* [Tizen] Shink scope of `capi-system-peripheral-io` dep (#32048)

* [Diagnostic Logs] Followup for #31638 (#31833)

* [CI] Make it possible to specify the timeout when waiting for a specific string in scripts/tests/chiptest/test_definition.py since it may be longer than 10 seconds

* [CI] Add a second instance of the configured applications such that YAML can start the app multiple times if needed

* [BDX:DiagnosticLog] Update the server such that it supports multiple downloads in parallel

* [darwin-framework-tool] Address post-landing comments of #31638

[CI] Add some tests for bdx download with darwin-framework-tool

* Use `include-what-you-use` on lib/core (#32046)

* A first pass at running IWYU with some manual fixes

* Refert platform file changes

* Move one header up due to self-review

* Move self-header to top of file

* Another pass this time with -Xiwyu flags

* Start adding a IWYU mapping so we need less manual fixes

* Fix command line

* Update iwyu.imp

* Remove forward decl

* Fix for compile

* Fixes to compile locally ... several things could be cleaned

* One more cleanup, linux all-clusters compiles at least

---------

Co-authored-by: Andrei Litvin <[email protected]>

* DM XMLs: 1.3 0.7 recirculation ballot (#31980)

* DM XML: Scrape from 1.3 0.7 recrirculation ballot

* Manual fixes for aliased clusters (pending 1.2.4 fix in scraper)

* Manual fix for base device type

This broke again when I re-levelled the section headers. Will
fix in spec.

* Update API maturity where missing on 1.3 clusters (#32101)

- API maturity was not set properly on some clusters
- API maturity is being updated to provisional for new clusters

Fixes #32099

Testing done:
- Non functional change

* [IM] Remove EmberAfStatus from src/app/clusters (#32055)

* Remove EmberAfStatus from src/app/clusters

* fix ci

* fix specs compliance

* remove using Status from headers

* fix comments

* Remove using Status from headers

* fix comments

* fix ci

* fix door lock

* Skip binary files when checking for code patterns in the lint test. (#32102)

* [NXP][K32W] k32w1 sdk 2.12.6 updates & k32w0 small fixes (#31924)

* [common] Remove k32w1 device_platform, use nxp instead

Signed-off-by: Andrei Menzopol <[email protected]>
Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Build, OTA, Diagnostic changes

Signed-off-by: Doru Gucea <[email protected]>
Signed-off-by: Marius Tache <[email protected]>
Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Rename SNT files to ELEMU

* [K32W] Add OPENTHREAD_PLATFORM_CORE_CONFIG_FILE define

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Fix MBEDTLS build flags conflict between Matter vs. OpenThread

Matter uses a multithread flavor of MBEDTLS while OpenThread uses a
single thread flavor. This triggers a dangerous situation where
Matter, OpenThread and MBEDTLS don't agree on the size of various
data structures exchanged through the interface which later leads to
memory access violations.

This update fixes the build configuration so that OpenThread also
uses the multithread flavor of MBEDTLS.

Signed-off-by: Marian Chereji <[email protected]>

* [NXP] Update ot-nxp commit-id

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W0] Add necessary check for env variable

When computing the path for the signing script, the existence of
env variable NXP_K32W0_SDK_ROOT should be checked first to avoid
issues.

Signed-off-by: marius-alex-tache <[email protected]>

* [K32W1] Remove ResetWatermarks empty implementation

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Set rotating device id unique id length to max by default

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Fix an issue with __wrap_realloc

Current memory manager is MML, which has realloc support.
Removed old function that was relevant only in FreeRTOS
memory manager (heap4/5) context.

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Accomodate low power API update

PWR_AllowDeviceToSleep/PWR_DisallowDeviceToSleep API reintroduced in SDK.
power.c removed from ot-nxp.

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Clear keys from counter area when factory resetting

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Use MML API for heap memory consumption statistics

WTRMRK feature of the Software Diagnostic Cluster will be implemented
once the memory manager will implement the needed API.

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Remove duplicated code in crypto PAL

P256Keypair members were moved into protected scope, so
derived classes (P256KeypairSSS) can access these members.

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Call PLATFORM_InitTimerManager before PLATFORM_InitBLE since this function won't be initializing the timer manager anymore

* [K32W1] Post events from ISR correctly

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] MML realloc should be protected from task switching

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add initial FactoryDataProviderImpl

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Update certification declaration in apps

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Update README files in apps

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add DAC private key convert declaration

TBD

Signed-off-by: Marius Tache <[email protected]>

* [k32w1] Fix usage of deprecated factory data provider fields

Signed-off-by: marius-alex-tache <[email protected]>

* [COMMON] Add dac_key_use_sss_blob option

dac_key_use_sss_blob can be used to select which data
the private key area stores: plaintext/encrypted private key
or an SSS exported blob.

The option is False by default.

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add SSS API usage

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add chip_convert_dac_private_key option

chip_convert_dac_private_key can be used to enable one-time-only
conversion of the DAC private key to an SSS encrypted blob.

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add jlink conversion script example

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Update readme to point to docs guide

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Remove unused mbedtls modules

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Factory data section should only be reserved in factory data context

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add destructor to free SSS object context

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Add verbose logging for conversion steps

Signed-off-by: Marius Tache <[email protected]>

* [K32W1] Restore NVM sector number

 The underlying issue, for which the increase
 in NVM sectors was a workaround, was solved.

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Add BLE ResetController function

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Allocate OT buffers from SMU2

When using use_smu2_dynamic=true, OpenThread buffers
 will be allocated from a 13KB SMU2 region after a successful
 commissioning process until a factory reset is done.

 * Add SMU2 namespace in SMU2Manager.h/.cpp
 * Add build changes
 * Add allocator changes
 * Add necessary OpenThread config defines
 * Add gn parameter/defines for each SMU2 usecase

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Offload SHA256 operations to S200
 * Offload simple sha256, simple hmac sha256,
   update/finish sha256, update/finish hmac sha256
   from Matter and OT.
 * Implement solution for long sha256 that uses
   context save/export/restore mechanism.
   This solution saves the intermediate data on heap
   and computes the hash on demand (by calling GetDigest).
 * Put changes under define/gn parameter use_hw_sha256
   as they increase timings (due to hardware
   accelerator initialization time) and use a significant
   amount of heap.

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Simplify HW DRBG/TRNG usage

S200 TRNG is already used though otPlatEntropyGet from OT.

Simplify Matter and OT DRBG usage of HW TRNG by not using
mbedtls entropy.

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Offload AES operations to S200
 * Offload AES-CCM from Matter.
 * Offload AES-ECB from OT.
 * Use software AES-CCM when Additional authentical
   data len is zero.
 * Put changes under define/gn parameter use_hw_aes
   as they increase timings (due to hardware
   accelerator initialization time).

Signed-off-by: Andrei Menzopol <[email protected]>

* [K32W1] Fix duplicated flag

Signed-off-by: Marius Tache <[email protected]>

* [COMMON] Add pw RPC support

The pw RPC integration should be usable by all NXP platforms
that support SerialManager, since the pw_sys_io backend uses
streamer_nxp.cpp for serial communication.

A scope is defined in pw_rpc_server.gni to be used by all apps
by forwarding the variables in the application executable scope:
   forward_variables_from(pw_rpc_server, "*")

Logging and RPC communication share the same serial port. Logging
should be inspected in chip-console, which manages the HDLC channels.

Signed-off-by: Marius Tache <[email protected]>

* [COMMON] Update streamer to read RX data ASAP

Moved reading the RX FIFO inside the actual interrupt handler,
to avoid time penalty when notifying the consumer task (RPC/App CLI).
The data is instead stored in a cache buffer and read once the task
is unblocked through notifying by the …
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.

8 participants