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

All commands in General Commissioning are mandatory now. #18614

Conversation

bzbarsky-apple
Copy link
Contributor

Fixes #18550

Problem

See issue.

Change overview

Mark the commands as not optional, regenerate.

Testing

Should be no behavior changes. The fact that the codegen changes indicates that we have bugs in our AcceptedCommandList codegen (which are tracked already).

@github-actions
Copy link

github-actions bot commented May 19, 2022

PR #18614: Size comparison from 329389d to 5835ca5

Decreases (4 builds for esp32, linux, nrfconnect, p6)
platform target config section 329389d 5835ca5 change % change
esp32 all-clusters-app c3devkit (read/write) 1477898 1477890 -8 -0.0
.flash.rodata 209640 209632 -8 -0.0
linux thermostat-no-ble arm64 (read only) 2354428 2354420 -8 -0.0
.rodata 147356 147348 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180823 1180819 -4 -0.0
rodata 152848 152844 -4 -0.0
p6 all-clusters-app default (read/write) 2538856 2538848 -8 -0.0
.text 1497120 1497112 -8 -0.0
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 329389d 5835ca5 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667263 667263 0 0.0
(read/write) 183408 183408 0 0.0
.bss 73652 73652 0 0.0
.data 3404 3404 0 0.0
.rodata 100087 100087 0 0.0
.text 566948 566948 0 0.0
lock-ftd LP_CC2652R7 (read only) 677339 677339 0 0.0
(read/write) 165316 165316 0 0.0
.bss 72692 72692 0 0.0
.data 3236 3236 0 0.0
.rodata 94907 94907 0 0.0
.text 581948 581948 0 0.0
lock-mtd LP_CC2652R7 (read only) 626163 626163 0 0.0
(read/write) 145524 145524 0 0.0
.bss 68428 68428 0 0.0
.data 3236 3236 0 0.0
.rodata 94795 94795 0 0.0
.text 530876 530876 0 0.0
pump-app LP_CC2652R7 (read only) 659567 659567 0 0.0
(read/write) 184368 184368 0 0.0
.bss 72948 72948 0 0.0
.data 3268 3268 0 0.0
.rodata 79415 79415 0 0.0
.text 579672 579672 0 0.0
pump-controller-app LP_CC2652R7 (read only) 654079 654079 0 0.0
(read/write) 189664 189664 0 0.0
.bss 73012 73012 0 0.0
.data 3232 3232 0 0.0
.rodata 83527 83527 0 0.0
.text 570072 570072 0 0.0
shell LP_CC2652R7 (read only) 660330 660330 0 0.0
(read/write) 185900 185900 0 0.0
.bss 76012 76012 0 0.0
.data 3408 3408 0 0.0
.rodata 97042 97042 0 0.0
.text 563064 563064 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 625386 625386 0 0.0
.app_xip_area 529000 529000 0 0.0
.bss 79028 79028 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 628342 628342 0 0.0
.app_xip_area 533412 533412 0 0.0
.bss 77604 77604 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570990 570990 0 0.0
.app_xip_area 466344 466344 0 0.0
.bss 87024 87024 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 917492 917492 0 0.0
(read/write) 133244 133244 0 0.0
.bss 131184 131184 0 0.0
.data 2060 2060 0 0.0
.text 917484 917484 0 0.0
BRD4161A+rpc (read only) 951664 951664 0 0.0
(read/write) 149928 149928 0 0.0
.bss 147664 147664 0 0.0
.data 2264 2264 0 0.0
.text 951656 951656 0 0.0
BRD4161A+rs911x (read only) 791020 791020 0 0.0
(read/write) 129512 129512 0 0.0
.bss 127444 127444 0 0.0
.data 2068 2068 0 0.0
.text 791012 791012 0 0.0
lock-app BRD4161A+wf200 (read only) 946996 946996 0 0.0
(read/write) 123996 123996 0 0.0
.bss 121972 121972 0 0.0
.data 2024 2024 0 0.0
.text 946988 946988 0 0.0
window-app BRD4161A (read only) 897604 897604 0 0.0
(read/write) 133304 133304 0 0.0
.bss 131256 131256 0 0.0
.data 2048 2048 0 0.0
.text 897596 897596 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000960 1000960 0 0.0
(read/write) 1477898 1477890 -8 -0.0
.dram0.bss 68208 68208 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 209640 209632 -8 -0.0
.flash.text 1000960 1000960 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1056055 1056055 0 0.0
(read/write) 479884 479884 0 0.0
.dram0.bss 73728 73728 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239960 239960 0 0.0
.flash.text 1050671 1050671 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682864 682864 0 0.0
.bss 80224 80224 0 0.0
.data 2016 2016 0 0.0
.text 598920 598920 0 0.0
lock k32w061+release (read/write) 729408 729408 0 0.0
.bss 80656 80656 0 0.0
.data 1976 1976 0 0.0
.text 645072 645072 0 0.0
linux all-clusters-app debug (read only) 2752073 2752073 0 0.0
(read/write) 175904 175904 0 0.0
.bss 85056 85056 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 82632 82632 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 240925 240925 0 0.0
.text 2336834 2336834 0 0.0
bridge-app debug+rpc (read only) 2034657 2034657 0 0.0
(read/write) 147736 147736 0 0.0
.bss 72864 72864 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65368 65368 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 169225 169225 0 0.0
.text 1708386 1708386 0 0.0
chip-tool debug (read only) 9309445 9309445 0 0.0
(read/write) 580088 580088 0 0.0
.bss 23936 23936 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 548696 548696 0 0.0
.dynamic 624 624 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 480797 480797 0 0.0
.text 7499605 7499605 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9080980 9080980 0 0.0
(read/write) 646225 646225 0 0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583944 583944 0 0.0
.dynamic 560 560 0 0.0
.got 15016 15016 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 445620 445620 0 0.0
.text 7171156 7171156 0 0.0
lighting-app debug+rpc (read only) 2329169 2329169 0 0.0
(read/write) 153184 153184 0 0.0
.bss 74656 74656 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70712 70712 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 188265 188265 0 0.0
.text 1974626 1974626 0 0.0
lock-app debug (read only) 2242665 2242665 0 0.0
(read/write) 147896 147896 0 0.0
.bss 73344 73344 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67272 67272 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 198905 198905 0 0.0
.text 1883874 1883874 0 0.0
ota-provider-app debug (read only) 2064593 2064593 0 0.0
(read/write) 140944 140944 0 0.0
.bss 72800 72800 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60584 60584 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 179456 179456 0 0.0
.text 1726642 1726642 0 0.0
ota-requestor-app debug (read only) 2093545 2093545 0 0.0
(read/write) 143752 143752 0 0.0
.bss 73472 73472 0 0.0
.data 1992 1992 0 0.0
.data.rel.ro 62648 62648 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 175488 175488 0 0.0
.text 1758098 1758098 0 0.0
shell debug (read only) 2567897 2567897 0 0.0
(read/write) 199768 199768 0 0.0
.bss 115752 115752 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 76896 76896 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 221970 221970 0 0.0
.text 2184994 2184994 0 0.0
thermostat-no-ble arm64 (read only) 2354428 2354420 -8 -0.0
(read/write) 176305 176305 0 0.0
.bss 87601 87601 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79376 79376 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147356 147348 -8 -0.0
.text 1978160 1978160 0 0.0
tv-app debug (read only) 2854657 2854657 0 0.0
(read/write) 278752 278752 0 0.0
.bss 190744 190744 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 77088 77088 0 0.0
.dynamic 592 592 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221329 221329 0 0.0
.text 2451202 2451202 0 0.0
tv-casting-app debug (read only) 5417625 5417625 0 0.0
(read/write) 225024 225024 0 0.0
.bss 78360 78360 0 0.0
.data 2368 2368 0 0.0
.data.rel.ro 138080 138080 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 339873 339873 0 0.0
.text 4718354 4718354 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2420600 2420600 0 0.0
.bss 202668 202668 0 0.0
.data 5872 5872 0 0.0
.text 1383244 1383244 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180823 1180819 -4 -0.0
bss 138380 138380 0 0.0
rodata 152848 152844 -4 -0.0
text 810732 810732 0 0.0
p6 all-clusters-app default (read/write) 2538856 2538848 -8 -0.0
.bss 136176 136176 0 0.0
.data 2808 2808 0 0.0
.text 1497120 1497112 -8 -0.0
light-app default (read/write) 2425392 2425392 0 0.0
.bss 129488 129488 0 0.0
.data 2608 2608 0 0.0
.text 1383656 1383656 0 0.0
lock-app default (read/write) 2436096 2436096 0 0.0
.bss 129304 129304 0 0.0
.data 2568 2568 0 0.0
.text 1394360 1394360 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 782604 782604 0 0.0
bss 70608 70608 0 0.0
noinit 40416 40416 0 0.0
text 553498 553498 0 0.0
lighting-app tlsr9518adk80d (read/write) 802676 802676 0 0.0
bss 70864 70864 0 0.0
noinit 40416 40416 0 0.0
text 570264 570264 0 0.0

@bzbarsky-apple
Copy link
Contributor Author

indicates that we have bugs in our AcceptedCommandList codegen

Fixed in project-chip/zap#515

@bzbarsky-apple bzbarsky-apple merged commit 2bd12ee into project-chip:master May 19, 2022
@bzbarsky-apple bzbarsky-apple deleted the fix-general-commissioning-optionality branch May 19, 2022 16:57
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.

General commissioning commands are not optional anymore
3 participants