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

Darwin: Address various MTRSetupPayload issues #33286

Merged
merged 6 commits into from
May 9, 2024

Conversation

ksperling-apple
Copy link
Contributor

API:

  • Conform to NSCopying and implement isEqual / hash
  • Simplify a number of methods to not return NSError
  • Add initWithPayload: as a replacement for setupPayloadWithOnboardingPayload:error:
  • Add initWithQRCode: and initWithManualPairingCode: for cases where payload type is known.
  • Add vendorElements as a replacement for getAllOptionalVendorData:
  • Add vendorElementWithTag:
  • Add removeVendorElementWithTag:
  • Add addOrReplaceVendorElement:

Behaviour fixes:

  • Allow QRCodes with unknown discovery methods to be parsed
  • Include vendor elements in qrCodeString
  • Preserve vendor elements encodeWithCoder / initWithCoder

Also simplify the implementation by acting as a direct wrapper of chip::SetupPayload.

Implement parsing in MTRSetupPayload directly and implement the deprecated
MTR*PayloadParser classes in terms of it, instead of the other way around.

Copy link

github-actions bot commented May 3, 2024

PR #33286: Size comparison from fcfc9bc to cac7ccd

Decreases (14 builds for cc13x4_26x4, cc32xx, mbed, nrfconnect, qpg, stm32)
platform target config section fcfc9bc cac7ccd change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798372 798356 -16 -0.0
.text 713184 713168 -16 -0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813664 813648 -16 -0.0
.text 734848 734832 -16 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802948 802932 -16 -0.0
.text 696856 696840 -16 -0.0
pump-app LP_EM_CC1354P10_6 (read only) 755228 755212 -16 -0.0
.text 674384 674368 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740916 740900 -16 -0.0
.text 664288 664272 -16 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605454 605438 -16 -0.0
.text 513760 513740 -20 -0.0
lock CC3235SF_LAUNCHXL (read only) 651350 651326 -24 -0.0
.text 538892 538872 -20 -0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2536808 2536744 -64 -0.0
.text 1499492 1499428 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1060336 1060320 -16 -0.0
text 772444 772428 -16 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1237568 1237552 -16 -0.0
text 798740 798720 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1008128 1008112 -16 -0.0
text 733996 733980 -16 -0.0
qpg lighting-app qpg6105+debug (read/write) 1134180 1134164 -16 -0.0
.text 646560 646544 -16 -0.0
lock-app qpg6105+debug (read/write) 1094028 1094012 -16 -0.0
.text 606412 606396 -16 -0.0
stm32 light STM32WB5MM-DK (read/write) 605833 605817 -16 -0.0
.text 386392 386376 -16 -0.0
Full report (14 builds for cc13x4_26x4, cc32xx, mbed, nrfconnect, qpg, stm32)
platform target config section fcfc9bc cac7ccd change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798372 798356 -16 -0.0
(read/write) 177612 177612 0 0.0
.bss 99556 99556 0 0.0
.data 3588 3588 0 0.0
.rodata 84924 84924 0 0.0
.text 713184 713168 -16 -0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813664 813648 -16 -0.0
(read/write) 188100 188100 0 0.0
.bss 110044 110044 0 0.0
.data 3588 3588 0 0.0
.rodata 78552 78552 0 0.0
.text 734848 734832 -16 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802948 802932 -16 -0.0
(read/write) 182220 182220 0 0.0
.bss 104164 104164 0 0.0
.data 3588 3588 0 0.0
.rodata 105828 105828 0 0.0
.text 696856 696840 -16 -0.0
pump-app LP_EM_CC1354P10_6 (read only) 755228 755212 -16 -0.0
(read/write) 176588 176588 0 0.0
.bss 98296 98296 0 0.0
.data 3580 3580 0 0.0
.rodata 80580 80580 0 0.0
.text 674384 674368 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740916 740900 -16 -0.0
(read/write) 176796 176796 0 0.0
.bss 98520 98520 0 0.0
.data 3572 3572 0 0.0
.rodata 76364 76364 0 0.0
.text 664288 664272 -16 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605454 605438 -16 -0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89574 89574 0 0.0
.text 513760 513740 -20 -0.0
lock CC3235SF_LAUNCHXL (read only) 651350 651326 -24 -0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110334 110334 0 0.0
.text 538892 538872 -20 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536808 2536744 -64 -0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499492 1499428 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060336 1060320 -16 -0.0
bss 139123 139123 0 0.0
rodata 101552 101552 0 0.0
text 772444 772428 -16 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237568 1237552 -16 -0.0
bss 137419 137419 0 0.0
rodata 151384 151384 0 0.0
text 798740 798720 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1008128 1008112 -16 -0.0
bss 138029 138029 0 0.0
rodata 88808 88808 0 0.0
text 733996 733980 -16 -0.0
qpg lighting-app qpg6105+debug (read/write) 1134180 1134164 -16 -0.0
.bss 102644 102644 0 0.0
.data 856 856 0 0.0
.text 646560 646544 -16 -0.0
lock-app qpg6105+debug (read/write) 1094028 1094012 -16 -0.0
.bss 97316 97316 0 0.0
.data 860 860 0 0.0
.text 606412 606396 -16 -0.0
stm32 light STM32WB5MM-DK (read/write) 605833 605817 -16 -0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386392 386376 -16 -0.0

Copy link

github-actions bot commented May 3, 2024

PR #33286: Size comparison from fcfc9bc to 4f1a51b

Decreases (4 builds for cc32xx, mbed, stm32)
platform target config section fcfc9bc 4f1a51b change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605454 605438 -16 -0.0
.text 513760 513740 -20 -0.0
lock CC3235SF_LAUNCHXL (read only) 651350 651326 -24 -0.0
.text 538892 538872 -20 -0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2536808 2536744 -64 -0.0
.text 1499492 1499428 -64 -0.0
stm32 light STM32WB5MM-DK (read/write) 605833 605817 -16 -0.0
.text 386392 386376 -16 -0.0
Full report (4 builds for cc32xx, mbed, stm32)
platform target config section fcfc9bc 4f1a51b change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605454 605438 -16 -0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89574 89574 0 0.0
.text 513760 513740 -20 -0.0
lock CC3235SF_LAUNCHXL (read only) 651350 651326 -24 -0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110334 110334 0 0.0
.text 538892 538872 -20 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536808 2536744 -64 -0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499492 1499428 -64 -0.0
stm32 light STM32WB5MM-DK (read/write) 605833 605817 -16 -0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386392 386376 -16 -0.0

Copy link

github-actions bot commented May 3, 2024

PR #33286: Size comparison from fcfc9bc to acd0aec

Increases (3 builds for bl702l, linux)
platform target config section fcfc9bc acd0aec change % change
bl702l lighting-app bl702l+mfd (read/write) 1190808 1191296 488 0.0
linux chip-tool-ipv6only arm64 (read only) 11473524 11473572 48 0.0
.text 10231432 10231480 48 0.0
thermostat-no-ble arm64 (read only) 4493884 4493916 32 0.0
.text 3990808 3990840 32 0.0
Decreases (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section fcfc9bc acd0aec change % change
bl602 lighting-app bl602 (read/write) 1444382 1444358 -24 -0.0
.text 1109262 1109240 -22 -0.0
bl602+mfd (read/write) 1458806 1458782 -24 -0.0
.text 1124580 1124558 -22 -0.0
bl602+rpc (read/write) 1492030 1492006 -24 -0.0
.text 1140908 1140886 -22 -0.0
bl702 lighting-app bl702 (read/write) 1210071 1210047 -24 -0.0
.text 979406 979384 -22 -0.0
bl702+mfd (read/write) 1220907 1220887 -20 -0.0
.text 991160 991138 -22 -0.0
bl702+rpc (read/write) 1301559 1301535 -24 -0.0
.text 1054114 1054092 -22 -0.0
bl706-eth (read/write) 1026489 1026469 -20 -0.0
.text 769260 769238 -22 -0.0
bl706-wifi (read/write) 1261946 1261922 -24 -0.0
.text 1001938 1001916 -22 -0.0
bl702l lighting-app bl702l (read/write) 1179408 1179388 -20 -0.0
.text 972260 972238 -22 -0.0
bl702l+mfd .text 984582 984560 -22 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798372 798356 -16 -0.0
.text 713184 713168 -16 -0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813664 813648 -16 -0.0
.text 734848 734832 -16 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802948 802932 -16 -0.0
.text 696856 696840 -16 -0.0
pump-app LP_EM_CC1354P10_6 (read only) 755228 755212 -16 -0.0
.text 674384 674368 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740916 740900 -16 -0.0
.text 664288 664272 -16 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605454 605438 -16 -0.0
.text 513760 513740 -20 -0.0
lock CC3235SF_LAUNCHXL (read only) 651350 651326 -24 -0.0
.text 538892 538872 -20 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571567 571551 -16 -0.0
.app_xip_area 461453 461437 -16 -0.0
lock cyw930739m2evb_01 (read/write) 553663 553647 -16 -0.0
.app_xip_area 438877 438861 -16 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 574295 574279 -16 -0.0
.app_xip_area 465677 465661 -16 -0.0
switch cyw930739m2evb_01 (read/write) 566871 566855 -16 -0.0
.app_xip_area 455069 455053 -16 -0.0
efr32 lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137512 1137504 -8 -0.0
.text 969556 969548 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1215030 1215014 -16 -0.0
.flash.text 1215030 1215014 -16 -0.0
m5stack (read only) 1256683 1256675 -8 -0.0
.flash.text 1250519 1250511 -8 -0.0
linux air-purifier-app debug (read only) 2713437 2713405 -32 -0.0
.text 2344149 2344117 -32 -0.0
all-clusters-app debug (read only) 6026009 6025993 -16 -0.0
.text 5234291 5234275 -16 -0.0
all-clusters-minimal-app debug (read only) 5309545 5309513 -32 -0.0
.text 4777731 4777699 -32 -0.0
bridge-app debug (read only) 4700153 4700137 -16 -0.0
.text 4242307 4242291 -16 -0.0
chip-tool-ipv6only arm64 (read/write) 591680 591632 -48 -0.0
lighting-app debug+rpc+ui (read only) 5623745 5623729 -16 -0.0
.text 5015619 5015603 -16 -0.0
lock-app debug (read only) 4767209 4767177 -32 -0.0
.text 4292515 4292483 -32 -0.0
ota-provider-app debug (read only) 4375049 4375017 -32 -0.0
.text 3966179 3966147 -32 -0.0
ota-requestor-app debug (read only) 4505737 4505721 -16 -0.0
.text 4086243 4086227 -16 -0.0
shell debug (read only) 2997569 2997537 -32 -0.0
.text 2628626 2628594 -32 -0.0
thermostat-no-ble arm64 (read/write) 248072 248040 -32 -0.0
tv-app debug (read only) 5823345 5823313 -32 -0.0
.text 5280659 5280627 -32 -0.0
tv-casting-app debug (read only) 9983769 9983753 -16 -0.0
.text 9126275 9126259 -16 -0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2536808 2536744 -64 -0.0
.text 1499492 1499428 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1060336 1060320 -16 -0.0
text 772444 772428 -16 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1237568 1237552 -16 -0.0
text 798740 798720 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1008128 1008112 -16 -0.0
text 733996 733980 -16 -0.0
nxp contact k32w0+release (read only) 576524 576508 -16 -0.0
.text 575988 575972 -16 -0.0
k32w1+release (read/write) 704020 704004 -16 -0.0
.text 590552 590536 -16 -0.0
light k32w0+release (read only) 610584 610568 -16 -0.0
.text 610048 610032 -16 -0.0
k32w1+release (read/write) 795864 795848 -16 -0.0
.text 673672 673656 -16 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1826868 1826836 -32 -0.0
.text 1611428 1611396 -32 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1748124 1748108 -16 -0.0
.text 1535780 1535764 -16 -0.0
light cy8ckit_062s2_43012 (read/write) 1666604 1666572 -32 -0.0
.text 1460980 1460948 -32 -0.0
lock cy8ckit_062s2_43012 (read/write) 1695236 1695220 -16 -0.0
.text 1462548 1462532 -16 -0.0
qpg lighting-app qpg6105+debug (read/write) 1134180 1134164 -16 -0.0
.text 646560 646544 -16 -0.0
lock-app qpg6105+debug (read/write) 1094028 1094012 -16 -0.0
.text 606412 606396 -16 -0.0
stm32 light STM32WB5MM-DK (read/write) 605833 605817 -16 -0.0
.text 386392 386376 -16 -0.0
telink air-quality-sensor-app tlsr9528a_retention (read/write) 834082 834066 -16 -0.0
text 624748 624732 -16 -0.0
all-clusters-app tlsr9518adk80d (read/write) 1096472 1096456 -16 -0.0
text 797466 797450 -16 -0.0
all-clusters-minimal-app tlsr9528a (read/write) 1058940 1058924 -16 -0.0
text 772786 772770 -16 -0.0
bridge-app tlsr9518adk80d (read/write) 914580 914564 -16 -0.0
text 656388 656372 -16 -0.0
contact-sensor-app tlsr9528a_retention (read/write) 836434 836418 -16 -0.0
text 627168 627152 -16 -0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 937256 937240 -16 -0.0
text 703822 703806 -16 -0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read/write) 1090972 1090956 -16 -0.0
text 794374 794358 -16 -0.0
lock-app-dfu tlsr9528a (read/write) 911552 911536 -16 -0.0
text 660566 660550 -16 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 933384 933368 -16 -0.0
text 675374 675358 -16 -0.0
pump-app tlsr9258a (read/write) 834000 833984 -16 -0.0
text 624174 624158 -16 -0.0
pump-controller-app tlsr9518adk80d (read/write) 800112 800096 -16 -0.0
text 599076 599060 -16 -0.0
shell tlsr9518adk80d (read/write) 676080 676064 -16 -0.0
text 461764 461748 -16 -0.0
smoke_co_alarm-app tlsr9528a_retention (read/write) 844302 844286 -16 -0.0
text 633836 633820 -16 -0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read/write) 858953 858937 -16 -0.0
text 642616 642600 -16 -0.0
thermostat tlsr9518adk80d (read/write) 825676 825660 -16 -0.0
text 618638 618622 -16 -0.0
window-covering tlsr9258a (read/write) 838696 838680 -16 -0.0
text 626442 626426 -16 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section fcfc9bc acd0aec change % change
bl602 lighting-app bl602 (read/write) 1444382 1444358 -24 -0.0
.bss 85744 85744 0 0.0
.data 9512 9512 0 0.0
.rodata 159200 159200 0 0.0
.text 1109262 1109240 -22 -0.0
bl602+mfd (read/write) 1458806 1458782 -24 -0.0
.bss 85912 85912 0 0.0
.data 9488 9488 0 0.0
.rodata 158160 158160 0 0.0
.text 1124580 1124558 -22 -0.0
bl602+rpc (read/write) 1492030 1492006 -24 -0.0
.bss 93784 93784 0 0.0
.data 9888 9888 0 0.0
.rodata 166768 166768 0 0.0
.text 1140908 1140886 -22 -0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1210071 1210047 -24 -0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108796 108796 0 0.0
.text 979406 979384 -22 -0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220907 1220887 -20 -0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107736 107736 0 0.0
.text 991160 991138 -22 -0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301559 1301535 -24 -0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124168 124168 0 0.0
.text 1054114 1054092 -22 -0.0
bl706-eth (read/write) 1026489 1026469 -20 -0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101892 101892 0 0.0
.text 769260 769238 -22 -0.0
bl706-wifi (read/write) 1261946 1261922 -24 -0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122884 122884 0 0.0
.text 1001938 1001916 -22 -0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179408 1179388 -20 -0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102800 102800 0 0.0
.text 972260 972238 -22 -0.0
bl702l+mfd (read/write) 1190808 1191296 488 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101740 101740 0 0.0
.text 984582 984560 -22 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798372 798356 -16 -0.0
(read/write) 177612 177612 0 0.0
.bss 99556 99556 0 0.0
.data 3588 3588 0 0.0
.rodata 84924 84924 0 0.0
.text 713184 713168 -16 -0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813664 813648 -16 -0.0
(read/write) 188100 188100 0 0.0
.bss 110044 110044 0 0.0
.data 3588 3588 0 0.0
.rodata 78552 78552 0 0.0
.text 734848 734832 -16 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802948 802932 -16 -0.0
(read/write) 182220 182220 0 0.0
.bss 104164 104164 0 0.0
.data 3588 3588 0 0.0
.rodata 105828 105828 0 0.0
.text 696856 696840 -16 -0.0
pump-app LP_EM_CC1354P10_6 (read only) 755228 755212 -16 -0.0
(read/write) 176588 176588 0 0.0
.bss 98296 98296 0 0.0
.data 3580 3580 0 0.0
.rodata 80580 80580 0 0.0
.text 674384 674368 -16 -0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740916 740900 -16 -0.0
(read/write) 176796 176796 0 0.0
.bss 98520 98520 0 0.0
.data 3572 3572 0 0.0
.rodata 76364 76364 0 0.0
.text 664288 664272 -16 -0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605454 605438 -16 -0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89574 89574 0 0.0
.text 513760 513740 -20 -0.0
lock CC3235SF_LAUNCHXL (read only) 651350 651326 -24 -0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110334 110334 0 0.0
.text 538892 538872 -20 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571567 571551 -16 -0.0
.app_xip_area 461453 461437 -16 -0.0
.bss 64932 64932 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553663 553647 -16 -0.0
.app_xip_area 438877 438861 -16 -0.0
.bss 69596 69596 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574295 574279 -16 -0.0
.app_xip_area 465677 465661 -16 -0.0
.bss 63476 63476 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566871 566855 -16 -0.0
.app_xip_area 455069 455053 -16 -0.0
.bss 66580 66580 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070820 1070820 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887360 887360 0 0.0
lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137512 1137504 -8 -0.0
.bss 164600 164600 0 0.0
.data 3336 3336 0 0.0
.text 969556 969548 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1215030 1215014 -16 -0.0
(read/write) 1751296 1751296 0 0.0
.dram0.bss 74592 74592 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253520 253520 0 0.0
.flash.text 1215030 1215014 -16 -0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256683 1256675 -8 -0.0
(read/write) 537708 537708 0 0.0
.dram0.bss 81344 81344 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285248 285248 0 0.0
.flash.text 1250519 1250511 -8 -0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2713437 2713405 -32 -0.0
(read/write) 132432 132432 0 0.0
.bss 47720 47720 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 76440 76440 0 0.0
.dynamic 608 608 0 0.0
.got 4576 4576 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 186352 186352 0 0.0
.text 2344149 2344117 -32 -0.0
all-clusters-app debug (read only) 6026009 6025993 -16 -0.0
(read/write) 483976 483976 0 0.0
.bss 136000 136000 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 335960 335960 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 353072 353072 0 0.0
.text 5234291 5234275 -16 -0.0
all-clusters-minimal-app debug (read only) 5309545 5309513 -32 -0.0
(read/write) 239928 239928 0 0.0
.bss 128864 128864 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 99496 99496 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 291978 291978 0 0.0
.text 4777731 4777699 -32 -0.0
bridge-app debug (read only) 4700153 4700137 -16 -0.0
(read/write) 220840 220840 0 0.0
.bss 119392 119392 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 88464 88464 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 232426 232426 0 0.0
.text 4242307 4242291 -16 -0.0
chip-tool debug (read only) 12145129 12145129 0 0.0
(read/write) 524288 524288 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416904 416904 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 453081 453081 0 0.0
.text 10981411 10981411 0 0.0
chip-tool-ipv6only arm64 (read only) 11473524 11473572 48 0.0
(read/write) 591680 591632 -48 -0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 457000 457000 0 0.0
.dynamic 512 512 0 0.0
.got 17232 17232 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 357476 357476 0 0.0
.text 10231432 10231480 48 0.0
lighting-app debug+rpc+ui (read only) 5623745 5623729 -16 -0.0
(read/write) 229640 229640 0 0.0
.bss 120336 120336 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 96880 96880 0 0.0
.dynamic 672 672 0 0.0
.got 5864 5864 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 356276 356276 0 0.0
.text 5015619 5015603 -16 -0.0
lock-app debug (read only) 4767209 4767177 -32 -0.0
(read/write) 208032 208032 0 0.0
.bss 114664 114664 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 82472 82472 0 0.0
.dynamic 624 624 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 258346 258346 0 0.0
.text 4292515 4292483 -32 -0.0
ota-provider-app debug (read only) 4375049 4375017 -32 -0.0
(read/write) 196504 196504 0 0.0
.bss 114464 114464 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 71712 71712 0 0.0
.dynamic 624 624 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 211178 211178 0 0.0
.text 3966179 3966147 -32 -0.0
ota-requestor-app debug (read only) 4505737 4505721 -16 -0.0
(read/write) 200872 200872 0 0.0
.bss 115360 115360 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 74816 74816 0 0.0
.dynamic 624 624 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 217258 217258 0 0.0
.text 4086243 4086227 -16 -0.0
shell debug (read only) 2997569 2997537 -32 -0.0
(read/write) 159408 159408 0 0.0
.bss 63504 63504 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 88640 88640 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 189984 189984 0 0.0
.text 2628626 2628594 -32 -0.0
thermostat-no-ble arm64 (read only) 4493884 4493916 32 0.0
(read/write) 248072 248040 -32 -0.0
.bss 122984 122984 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 105912 105912 0 0.0
.dynamic 512 512 0 0.0
.got 8960 8960 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 161876 161876 0 0.0
.text 3990808 3990840 32 0.0
tv-app debug (read only) 5823345 5823313 -32 -0.0
(read/write) 355224 355224 0 0.0
.bss 245136 245136 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 96248 96248 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 296554 296554 0 0.0
.text 5280659 5280627 -32 -0.0
tv-casting-app debug (read only) 9983769 9983753 -16 -0.0
(read/write) 345632 345632 0 0.0
.bss 159448 159448 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 176208 176208 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 386648 386648 0 0.0
.text 9126275 9126259 -16 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536808 2536744 -64 -0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499492 1499428 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060336 1060320 -16 -0.0
bss 139123 139123 0 0.0
rodata 101552 101552 0 0.0
text 772444 772428 -16 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237568 1237552 -16 -0.0
bss 137419 137419 0 0.0
rodata 151384 151384 0 0.0
text 798740 798720 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1008128 1008112 -16 -0.0
bss 138029 138029 0 0.0
rodata 88808 88808 0 0.0
text 733996 733980 -16 -0.0
nxp contact k32w0+release (read only) 576524 576508 -16 -0.0
(read/write) 83164 83164 0 0.0
.bss 67880 67880 0 0.0
.data 2188 2188 0 0.0
.text 575988 575972 -16 -0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 704020 704004 -16 -0.0
.bss 71224 71224 0 0.0
.data 2864 2864 0 0.0
.text 590552 590536 -16 -0.0
light k32w0+release (read only) 610584 610568 -16 -0.0
(read/write) 82624 82624 0 0.0
.bss 67320 67320 0 0.0
.data 2208 2208 0 0.0
.text 610048 610032 -16 -0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795864 795848 -16 -0.0
.bss 80760 80760 0 0.0
.data 2064 2064 0 0.0
.text 673672 673656 -16 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 826288 826288 0 0.0
(read/write) 1826868 1826836 -32 -0.0
.bss 204308 204308 0 0.0
.data 2744 2744 0 0.0
.text 1611428 1611396 -32 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 829384 829384 0 0.0
(read/write) 1748124 1748108 -16 -0.0
.bss 201236 201236 0 0.0
.data 2720 2720 0 0.0
.text 1535780 1535764 -16 -0.0
light cy8ckit_062s2_43012 (read only) 836104 836104 0 0.0
(read/write) 1666604 1666572 -32 -0.0
.bss 194700 194700 0 0.0
.data 2536 2536 0 0.0
.text 1460980 1460948 -32 -0.0
lock cy8ckit_062s2_43012 (read only) 809040 809040 0 0.0
(read/write) 1695236 1695220 -16 -0.0
.bss 221780 221780 0 0.0
.data 2520 2520 0 0.0
.text 1462548 1462532 -16 -0.0
qpg lighting-app qpg6105+debug (read/write) 1134180 1134164 -16 -0.0
.bss 102644 102644 0 0.0
.data 856 856 0 0.0
.text 646560 646544 -16 -0.0
lock-app qpg6105+debug (read/write) 1094028 1094012 -16 -0.0
.bss 97316 97316 0 0.0
.data 860 860 0 0.0
.text 606412 606396 -16 -0.0
stm32 light STM32WB5MM-DK (read/write) 605833 605817 -16 -0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386392 386376 -16 -0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 834082 834066 -16 -0.0
bss 49876 49876 0 0.0
text 624748 624732 -16 -0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096472 1096456 -16 -0.0
bss 101544 101544 0 0.0
text 797466 797450 -16 -0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058940 1058924 -16 -0.0
bss 110040 110040 0 0.0
text 772786 772770 -16 -0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914580 914564 -16 -0.0
bss 92796 92796 0 0.0
text 656388 656372 -16 -0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836434 836418 -16 -0.0
bss 49920 49920 0 0.0
text 627168 627152 -16 -0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 937256 937240 -16 -0.0
bss 77532 77532 0 0.0
text 703822 703806 -16 -0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090972 1090956 -16 -0.0
bss 99888 99888 0 0.0
text 794374 794358 -16 -0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911552 911536 -16 -0.0
bss 69200 69200 0 0.0
text 660566 660550 -16 -0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933384 933368 -16 -0.0
bss 92500 92500 0 0.0
text 675374 675358 -16 -0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 834000 833984 -16 -0.0
bss 58164 58164 0 0.0
text 624174 624158 -16 -0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 800112 800096 -16 -0.0
bss 56092 56092 0 0.0
text 599076 599060 -16 -0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676080 676064 -16 -0.0
bss 73412 73412 0 0.0
text 461764 461748 -16 -0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 844302 844286 -16 -0.0
bss 51548 51548 0 0.0
text 633836 633820 -16 -0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858953 858937 -16 -0.0
bss 59716 59716 0 0.0
text 642616 642600 -16 -0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825676 825660 -16 -0.0
bss 56424 56424 0 0.0
text 618638 618622 -16 -0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838696 838680 -16 -0.0
bss 58380 58380 0 0.0
text 626442 626426 -16 -0.0

src/darwin/Framework/CHIP/MTRError_Internal.h Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRUtilities.mm Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.mm Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.mm Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.mm Outdated Show resolved Hide resolved
API:
- Conform to NSCopying and implement isEqual / hash
- Simplify a number of methods to not return NSError
- Add initWithPayload: as a replacement for setupPayloadWithOnboardingPayload:error:
- Add initWithQRCode: and initWithManualPairingCode: for cases where payload type is known.
- Add vendorElements as a replacement for getAllOptionalVendorData:
- Add vendorElementWithTag:
- Add removeVendorElementWithTag:
- Add addOrReplaceVendorElement:

Behaviour fixes:
- Allow QRCodes with unknown discovery methods to be parsed
- Correctly generate a long manualEntryCode when a non-standard flow is indicated
- Include vendor elements in qrCodeString
- Preserve vendor elements in encodeWithCoder / initWithCoder

Also simplify the implementation by acting as a direct wrapper of chip::SetupPayload.

Implement parsing in MTRSetupPayload directly and implement the deprecated
MTR*PayloadParser classes in terms of it, instead of the other way around.
@ksperling-apple ksperling-apple marked this pull request as ready for review May 6, 2024 00:27
Copy link

github-actions bot commented May 6, 2024

PR #33286: Size comparison from 062e063 to 032e1f9

Decreases (2 builds for efr32)
platform target config section 062e063 032e1f9 change % change
efr32 lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137520 1137512 -8 -0.0
.text 969556 969548 -8 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 062e063 032e1f9 change % change
bl602 lighting-app bl602 (read/write) 1444358 1444358 0 0.0
.bss 85744 85744 0 0.0
.data 9512 9512 0 0.0
.rodata 159200 159200 0 0.0
.text 1109240 1109240 0 0.0
bl602+mfd (read/write) 1458782 1458782 0 0.0
.bss 85912 85912 0 0.0
.data 9488 9488 0 0.0
.rodata 158160 158160 0 0.0
.text 1124558 1124558 0 0.0
bl602+rpc (read/write) 1492006 1492006 0 0.0
.bss 93784 93784 0 0.0
.data 9888 9888 0 0.0
.rodata 166768 166768 0 0.0
.text 1140886 1140886 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1210047 1210047 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108796 108796 0 0.0
.text 979384 979384 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220887 1220887 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107736 107736 0 0.0
.text 991138 991138 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301535 1301535 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124168 124168 0 0.0
.text 1054092 1054092 0 0.0
bl706-eth (read/write) 1026469 1026469 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101892 101892 0 0.0
.text 769238 769238 0 0.0
bl706-wifi (read/write) 1261922 1261922 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122884 122884 0 0.0
.text 1001916 1001916 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179388 1179388 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102800 102800 0 0.0
.text 972238 972238 0 0.0
bl702l+mfd (read/write) 1191296 1191296 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101740 101740 0 0.0
.text 984560 984560 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798356 798356 0 0.0
(read/write) 177612 177612 0 0.0
.bss 99556 99556 0 0.0
.data 3588 3588 0 0.0
.rodata 84924 84924 0 0.0
.text 713168 713168 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813648 813648 0 0.0
(read/write) 188100 188100 0 0.0
.bss 110044 110044 0 0.0
.data 3588 3588 0 0.0
.rodata 78552 78552 0 0.0
.text 734832 734832 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802932 802932 0 0.0
(read/write) 182220 182220 0 0.0
.bss 104164 104164 0 0.0
.data 3588 3588 0 0.0
.rodata 105828 105828 0 0.0
.text 696840 696840 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 755212 755212 0 0.0
(read/write) 176588 176588 0 0.0
.bss 98296 98296 0 0.0
.data 3580 3580 0 0.0
.rodata 80580 80580 0 0.0
.text 674368 674368 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740900 740900 0 0.0
(read/write) 176796 176796 0 0.0
.bss 98520 98520 0 0.0
.data 3572 3572 0 0.0
.rodata 76364 76364 0 0.0
.text 664272 664272 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605438 605438 0 0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89574 89574 0 0.0
.text 513740 513740 0 0.0
lock CC3235SF_LAUNCHXL (read only) 651326 651326 0 0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110334 110334 0 0.0
.text 538872 538872 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571551 571551 0 0.0
.app_xip_area 461437 461437 0 0.0
.bss 64932 64932 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553647 553647 0 0.0
.app_xip_area 438861 438861 0 0.0
.bss 69596 69596 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574279 574279 0 0.0
.app_xip_area 465661 465661 0 0.0
.bss 63476 63476 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566855 566855 0 0.0
.app_xip_area 455053 455053 0 0.0
.bss 66580 66580 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070820 1070820 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887360 887360 0 0.0
lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137520 1137512 -8 -0.0
.bss 164608 164608 0 0.0
.data 3336 3336 0 0.0
.text 969556 969548 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214950 1214950 0 0.0
(read/write) 1751296 1751296 0 0.0
.dram0.bss 74592 74592 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253520 253520 0 0.0
.flash.text 1214950 1214950 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256655 1256655 0 0.0
(read/write) 537708 537708 0 0.0
.dram0.bss 81344 81344 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285248 285248 0 0.0
.flash.text 1250491 1250491 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2713421 2713421 0 0.0
(read/write) 132432 132432 0 0.0
.bss 47720 47720 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 76440 76440 0 0.0
.dynamic 608 608 0 0.0
.got 4576 4576 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 186352 186352 0 0.0
.text 2344133 2344133 0 0.0
all-clusters-app debug (read only) 6026009 6026009 0 0.0
(read/write) 483976 483976 0 0.0
.bss 136000 136000 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 335960 335960 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 353072 353072 0 0.0
.text 5234291 5234291 0 0.0
all-clusters-minimal-app debug (read only) 5309529 5309529 0 0.0
(read/write) 239928 239928 0 0.0
.bss 128864 128864 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 99496 99496 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 291978 291978 0 0.0
.text 4777715 4777715 0 0.0
bridge-app debug (read only) 4700153 4700153 0 0.0
(read/write) 220840 220840 0 0.0
.bss 119392 119392 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 88464 88464 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 232426 232426 0 0.0
.text 4242307 4242307 0 0.0
chip-tool debug (read only) 1214514 1214514 0 0.0
(read/write) 524288 524288 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416904 416904 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 453081 453081 0 0.0
.text 10981427 10981427 0 0.0
chip-tool-ipv6only arm64 (read only) 11473604 11473604 0 0.0
(read/write) 591600 591600 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 457000 457000 0 0.0
.dynamic 512 512 0 0.0
.got 17232 17232 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 357476 357476 0 0.0
.text 1023151 1023151 0 0.0
lighting-app debug+rpc+ui (read only) 5623745 5623745 0 0.0
(read/write) 229640 229640 0 0.0
.bss 120336 120336 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 96880 96880 0 0.0
.dynamic 672 672 0 0.0
.got 5864 5864 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 356276 356276 0 0.0
.text 5015619 5015619 0 0.0
lock-app debug (read only) 4767193 4767193 0 0.0
(read/write) 208032 208032 0 0.0
.bss 114664 114664 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 82472 82472 0 0.0
.dynamic 624 624 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 258346 258346 0 0.0
.text 4292499 4292499 0 0.0
ota-provider-app debug (read only) 4375033 4375033 0 0.0
(read/write) 196504 196504 0 0.0
.bss 114464 114464 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 71712 71712 0 0.0
.dynamic 624 624 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 211178 211178 0 0.0
.text 3966163 3966163 0 0.0
ota-requestor-app debug (read only) 4505737 4505737 0 0.0
(read/write) 200872 200872 0 0.0
.bss 115360 115360 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 74816 74816 0 0.0
.dynamic 624 624 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 217258 217258 0 0.0
.text 4086243 4086243 0 0.0
shell debug (read only) 2997553 2997553 0 0.0
(read/write) 159408 159408 0 0.0
.bss 63504 63504 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 88640 88640 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 189984 189984 0 0.0
.text 2628610 2628610 0 0.0
thermostat-no-ble arm64 (read only) 4493948 4493948 0 0.0
(read/write) 248008 248008 0 0.0
.bss 122984 122984 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 105912 105912 0 0.0
.dynamic 512 512 0 0.0
.got 8960 8960 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 161876 161876 0 0.0
.text 3990872 3990872 0 0.0
tv-app debug (read only) 5823329 5823329 0 0.0
(read/write) 355224 355224 0 0.0
.bss 245136 245136 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 96248 96248 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 296554 296554 0 0.0
.text 5280643 5280643 0 0.0
tv-casting-app debug (read only) 9983769 9983769 0 0.0
(read/write) 345632 345632 0 0.0
.bss 159448 159448 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 176208 176208 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 386648 386648 0 0.0
.text 9126275 9126275 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536744 2536744 0 0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499428 1499428 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060320 1060320 0 0.0
bss 139123 139123 0 0.0
rodata 101552 101552 0 0.0
text 772428 772428 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237552 1237552 0 0.0
bss 137419 137419 0 0.0
rodata 151384 151384 0 0.0
text 798724 798724 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1008112 1008112 0 0.0
bss 138029 138029 0 0.0
rodata 88808 88808 0 0.0
text 733980 733980 0 0.0
nxp contact k32w0+release (read only) 576508 576508 0 0.0
(read/write) 83164 83164 0 0.0
.bss 67880 67880 0 0.0
.data 2188 2188 0 0.0
.text 575972 575972 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 704004 704004 0 0.0
.bss 71224 71224 0 0.0
.data 2864 2864 0 0.0
.text 590536 590536 0 0.0
light k32w0+release (read only) 610568 610568 0 0.0
(read/write) 82624 82624 0 0.0
.bss 67320 67320 0 0.0
.data 2208 2208 0 0.0
.text 610032 610032 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795848 795848 0 0.0
.bss 80760 80760 0 0.0
.data 2064 2064 0 0.0
.text 673656 673656 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 826288 826288 0 0.0
(read/write) 1826836 1826836 0 0.0
.bss 204308 204308 0 0.0
.data 2744 2744 0 0.0
.text 1611396 1611396 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 829384 829384 0 0.0
(read/write) 1748108 1748108 0 0.0
.bss 201236 201236 0 0.0
.data 2720 2720 0 0.0
.text 1535764 1535764 0 0.0
light cy8ckit_062s2_43012 (read only) 836104 836104 0 0.0
(read/write) 1666572 1666572 0 0.0
.bss 194700 194700 0 0.0
.data 2536 2536 0 0.0
.text 1460948 1460948 0 0.0
lock cy8ckit_062s2_43012 (read only) 809040 809040 0 0.0
(read/write) 1695220 1695220 0 0.0
.bss 221780 221780 0 0.0
.data 2520 2520 0 0.0
.text 1462532 1462532 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1134164 1134164 0 0.0
.bss 102644 102644 0 0.0
.data 856 856 0 0.0
.text 646544 646544 0 0.0
lock-app qpg6105+debug (read/write) 1094012 1094012 0 0.0
.bss 97316 97316 0 0.0
.data 860 860 0 0.0
.text 606396 606396 0 0.0
stm32 light STM32WB5MM-DK (read/write) 605817 605817 0 0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386376 386376 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 834066 834066 0 0.0
bss 49876 49876 0 0.0
text 624732 624732 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096456 1096456 0 0.0
bss 101544 101544 0 0.0
text 797450 797450 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058924 1058924 0 0.0
bss 110040 110040 0 0.0
text 772770 772770 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914564 914564 0 0.0
bss 92796 92796 0 0.0
text 656372 656372 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836418 836418 0 0.0
bss 49920 49920 0 0.0
text 627152 627152 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 937240 937240 0 0.0
bss 77532 77532 0 0.0
text 703806 703806 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090956 1090956 0 0.0
bss 99888 99888 0 0.0
text 794358 794358 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911536 911536 0 0.0
bss 69200 69200 0 0.0
text 660550 660550 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933368 933368 0 0.0
bss 92500 92500 0 0.0
text 675358 675358 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833984 833984 0 0.0
bss 58164 58164 0 0.0
text 624158 624158 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 800096 800096 0 0.0
bss 56092 56092 0 0.0
text 599060 599060 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676064 676064 0 0.0
bss 73412 73412 0 0.0
text 461748 461748 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 844286 844286 0 0.0
bss 51548 51548 0 0.0
text 633820 633820 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858937 858937 0 0.0
bss 59716 59716 0 0.0
text 642600 642600 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825660 825660 0 0.0
bss 56424 56424 0 0.0
text 618622 618622 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838680 838680 0 0.0
bss 58380 58380 0 0.0
text 626426 626426 0 0.0

Copy link

github-actions bot commented May 6, 2024

PR #33286: Size comparison from 062e063 to a3466cc

Decreases (2 builds for efr32)
platform target config section 062e063 a3466cc change % change
efr32 lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137520 1137512 -8 -0.0
.text 969556 969548 -8 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 062e063 a3466cc change % change
bl602 lighting-app bl602 (read/write) 1444358 1444358 0 0.0
.bss 85744 85744 0 0.0
.data 9512 9512 0 0.0
.rodata 159200 159200 0 0.0
.text 1109240 1109240 0 0.0
bl602+mfd (read/write) 1458782 1458782 0 0.0
.bss 85912 85912 0 0.0
.data 9488 9488 0 0.0
.rodata 158160 158160 0 0.0
.text 1124558 1124558 0 0.0
bl602+rpc (read/write) 1492006 1492006 0 0.0
.bss 93784 93784 0 0.0
.data 9888 9888 0 0.0
.rodata 166768 166768 0 0.0
.text 1140886 1140886 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1210047 1210047 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108796 108796 0 0.0
.text 979384 979384 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220887 1220887 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107736 107736 0 0.0
.text 991138 991138 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301535 1301535 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124168 124168 0 0.0
.text 1054092 1054092 0 0.0
bl706-eth (read/write) 1026469 1026469 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101892 101892 0 0.0
.text 769238 769238 0 0.0
bl706-wifi (read/write) 1261922 1261922 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122884 122884 0 0.0
.text 1001916 1001916 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179388 1179388 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102800 102800 0 0.0
.text 972238 972238 0 0.0
bl702l+mfd (read/write) 1191296 1191296 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101740 101740 0 0.0
.text 984560 984560 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798356 798356 0 0.0
(read/write) 177612 177612 0 0.0
.bss 99556 99556 0 0.0
.data 3588 3588 0 0.0
.rodata 84924 84924 0 0.0
.text 713168 713168 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813648 813648 0 0.0
(read/write) 188100 188100 0 0.0
.bss 110044 110044 0 0.0
.data 3588 3588 0 0.0
.rodata 78552 78552 0 0.0
.text 734832 734832 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802932 802932 0 0.0
(read/write) 182220 182220 0 0.0
.bss 104164 104164 0 0.0
.data 3588 3588 0 0.0
.rodata 105828 105828 0 0.0
.text 696840 696840 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 755212 755212 0 0.0
(read/write) 176588 176588 0 0.0
.bss 98296 98296 0 0.0
.data 3580 3580 0 0.0
.rodata 80580 80580 0 0.0
.text 674368 674368 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740900 740900 0 0.0
(read/write) 176796 176796 0 0.0
.bss 98520 98520 0 0.0
.data 3572 3572 0 0.0
.rodata 76364 76364 0 0.0
.text 664272 664272 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605438 605438 0 0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89574 89574 0 0.0
.text 513740 513740 0 0.0
lock CC3235SF_LAUNCHXL (read only) 651326 651326 0 0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110334 110334 0 0.0
.text 538872 538872 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571551 571551 0 0.0
.app_xip_area 461437 461437 0 0.0
.bss 64932 64932 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553647 553647 0 0.0
.app_xip_area 438861 438861 0 0.0
.bss 69596 69596 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574279 574279 0 0.0
.app_xip_area 465661 465661 0 0.0
.bss 63476 63476 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566855 566855 0 0.0
.app_xip_area 455053 455053 0 0.0
.bss 66580 66580 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070820 1070820 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887360 887360 0 0.0
lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137520 1137512 -8 -0.0
.bss 164608 164608 0 0.0
.data 3336 3336 0 0.0
.text 969556 969548 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214950 1214950 0 0.0
(read/write) 1751296 1751296 0 0.0
.dram0.bss 74592 74592 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253520 253520 0 0.0
.flash.text 1214950 1214950 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256655 1256655 0 0.0
(read/write) 537708 537708 0 0.0
.dram0.bss 81344 81344 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285248 285248 0 0.0
.flash.text 1250491 1250491 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2713421 2713421 0 0.0
(read/write) 132432 132432 0 0.0
.bss 47720 47720 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 76440 76440 0 0.0
.dynamic 608 608 0 0.0
.got 4576 4576 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 186352 186352 0 0.0
.text 2344133 2344133 0 0.0
all-clusters-app debug (read only) 6026009 6026009 0 0.0
(read/write) 483976 483976 0 0.0
.bss 136000 136000 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 335960 335960 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 353072 353072 0 0.0
.text 5234291 5234291 0 0.0
all-clusters-minimal-app debug (read only) 5309529 5309529 0 0.0
(read/write) 239928 239928 0 0.0
.bss 128864 128864 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 99496 99496 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 291978 291978 0 0.0
.text 4777715 4777715 0 0.0
bridge-app debug (read only) 4700153 4700153 0 0.0
(read/write) 220840 220840 0 0.0
.bss 119392 119392 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 88464 88464 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 232426 232426 0 0.0
.text 4242307 4242307 0 0.0
chip-tool debug (read only) 1214514 1214514 0 0.0
(read/write) 524288 524288 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416904 416904 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 453081 453081 0 0.0
.text 10981427 10981427 0 0.0
chip-tool-ipv6only arm64 (read only) 11473604 11473604 0 0.0
(read/write) 591600 591600 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 457000 457000 0 0.0
.dynamic 512 512 0 0.0
.got 17232 17232 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 357476 357476 0 0.0
.text 1023151 1023151 0 0.0
lighting-app debug+rpc+ui (read only) 5623745 5623745 0 0.0
(read/write) 229640 229640 0 0.0
.bss 120336 120336 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 96880 96880 0 0.0
.dynamic 672 672 0 0.0
.got 5864 5864 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 356276 356276 0 0.0
.text 5015619 5015619 0 0.0
lock-app debug (read only) 4767193 4767193 0 0.0
(read/write) 208032 208032 0 0.0
.bss 114664 114664 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 82472 82472 0 0.0
.dynamic 624 624 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 258346 258346 0 0.0
.text 4292499 4292499 0 0.0
ota-provider-app debug (read only) 4375033 4375033 0 0.0
(read/write) 196504 196504 0 0.0
.bss 114464 114464 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 71712 71712 0 0.0
.dynamic 624 624 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 211178 211178 0 0.0
.text 3966163 3966163 0 0.0
ota-requestor-app debug (read only) 4505737 4505737 0 0.0
(read/write) 200872 200872 0 0.0
.bss 115360 115360 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 74816 74816 0 0.0
.dynamic 624 624 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 217258 217258 0 0.0
.text 4086243 4086243 0 0.0
shell debug (read only) 2997553 2997553 0 0.0
(read/write) 159408 159408 0 0.0
.bss 63504 63504 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 88640 88640 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 189984 189984 0 0.0
.text 2628610 2628610 0 0.0
thermostat-no-ble arm64 (read only) 4493948 4493948 0 0.0
(read/write) 248008 248008 0 0.0
.bss 122984 122984 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 105912 105912 0 0.0
.dynamic 512 512 0 0.0
.got 8960 8960 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 161876 161876 0 0.0
.text 3990872 3990872 0 0.0
tv-app debug (read only) 5823329 5823329 0 0.0
(read/write) 355224 355224 0 0.0
.bss 245136 245136 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 96248 96248 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 296554 296554 0 0.0
.text 5280643 5280643 0 0.0
tv-casting-app debug (read only) 9983769 9983769 0 0.0
(read/write) 345632 345632 0 0.0
.bss 159448 159448 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 176208 176208 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 386648 386648 0 0.0
.text 9126275 9126275 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536744 2536744 0 0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499428 1499428 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060320 1060320 0 0.0
bss 139123 139123 0 0.0
rodata 101552 101552 0 0.0
text 772428 772428 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237552 1237552 0 0.0
bss 137419 137419 0 0.0
rodata 151384 151384 0 0.0
text 798724 798724 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1008112 1008112 0 0.0
bss 138029 138029 0 0.0
rodata 88808 88808 0 0.0
text 733980 733980 0 0.0
nxp contact k32w0+release (read only) 576508 576508 0 0.0
(read/write) 83164 83164 0 0.0
.bss 67880 67880 0 0.0
.data 2188 2188 0 0.0
.text 575972 575972 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 704004 704004 0 0.0
.bss 71224 71224 0 0.0
.data 2864 2864 0 0.0
.text 590536 590536 0 0.0
light k32w0+release (read only) 610568 610568 0 0.0
(read/write) 82624 82624 0 0.0
.bss 67320 67320 0 0.0
.data 2208 2208 0 0.0
.text 610032 610032 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795848 795848 0 0.0
.bss 80760 80760 0 0.0
.data 2064 2064 0 0.0
.text 673656 673656 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 826288 826288 0 0.0
(read/write) 1826836 1826836 0 0.0
.bss 204308 204308 0 0.0
.data 2744 2744 0 0.0
.text 1611396 1611396 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 829384 829384 0 0.0
(read/write) 1748108 1748108 0 0.0
.bss 201236 201236 0 0.0
.data 2720 2720 0 0.0
.text 1535764 1535764 0 0.0
light cy8ckit_062s2_43012 (read only) 836104 836104 0 0.0
(read/write) 1666572 1666572 0 0.0
.bss 194700 194700 0 0.0
.data 2536 2536 0 0.0
.text 1460948 1460948 0 0.0
lock cy8ckit_062s2_43012 (read only) 809040 809040 0 0.0
(read/write) 1695220 1695220 0 0.0
.bss 221780 221780 0 0.0
.data 2520 2520 0 0.0
.text 1462532 1462532 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1134164 1134164 0 0.0
.bss 102644 102644 0 0.0
.data 856 856 0 0.0
.text 646544 646544 0 0.0
lock-app qpg6105+debug (read/write) 1094012 1094012 0 0.0
.bss 97316 97316 0 0.0
.data 860 860 0 0.0
.text 606396 606396 0 0.0
stm32 light STM32WB5MM-DK (read/write) 605817 605817 0 0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386376 386376 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 834066 834066 0 0.0
bss 49876 49876 0 0.0
text 624732 624732 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096456 1096456 0 0.0
bss 101544 101544 0 0.0
text 797450 797450 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058924 1058924 0 0.0
bss 110040 110040 0 0.0
text 772770 772770 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914564 914564 0 0.0
bss 92796 92796 0 0.0
text 656372 656372 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836418 836418 0 0.0
bss 49920 49920 0 0.0
text 627152 627152 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 937240 937240 0 0.0
bss 77532 77532 0 0.0
text 703806 703806 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090956 1090956 0 0.0
bss 99888 99888 0 0.0
text 794358 794358 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911536 911536 0 0.0
bss 69200 69200 0 0.0
text 660550 660550 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933368 933368 0 0.0
bss 92500 92500 0 0.0
text 675358 675358 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833984 833984 0 0.0
bss 58164 58164 0 0.0
text 624158 624158 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 800096 800096 0 0.0
bss 56092 56092 0 0.0
text 599060 599060 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676064 676064 0 0.0
bss 73412 73412 0 0.0
text 461748 461748 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 844286 844286 0 0.0
bss 51548 51548 0 0.0
text 633820 633820 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858937 858937 0 0.0
bss 59716 59716 0 0.0
text 642600 642600 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825660 825660 0 0.0
bss 56424 56424 0 0.0
text 618622 618622 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838680 838680 0 0.0
bss 58380 58380 0 0.0
text 626426 626426 0 0.0

src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
src/darwin/Framework/CHIP/MTRSetupPayload.h Outdated Show resolved Hide resolved
@woody-apple
Copy link
Contributor

Requesting changes, as we need to keep confirmed to ObjectiveC framework conventions. If we want to produce additional refined for swift things, those should be separate. We should not be mixing worlds.

@woody-apple woody-apple self-requested a review May 9, 2024 15:34
Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

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

Approving pending removal or explanation of the new QRCode initializer.

@woody-apple woody-apple merged commit 0d67568 into project-chip:master May 9, 2024
64 of 66 checks passed
@ksperling-apple ksperling-apple deleted the mtrsetuppayload branch May 9, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants