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] expose the "getDeviceBeingCommissioned" API to ObjC #12811

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

sagar-apple
Copy link
Contributor

Problem

The Darwin SDK doesn't have access to the getDeviceBeingCommissioned API.
Without this it's not possible to provision an accessory with network credentials and enable them.

Change overview

Just exposing this API

Testing

  • If no testing is required, why not?
    Just directly exposing this API in the SDK.

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.

Fast tracking this, given it's a platform change by a platform maintainer.

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

PR #12811: Size comparison from 5bb8377 to 5620a69

Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 5bb8377 5620a69 change % change
efr32 lighting-app BRD4161A (read only) 806260 806260 0 0.0
(read/write) 122980 122980 0 0.0
.bss 121160 121160 0 0.0
.data 1820 1820 0 0.0
.text 806252 806252 0 0.0
BRD4161A+rpc (read only) 793896 793896 0 0.0
(read/write) 139664 139664 0 0.0
.bss 137736 137736 0 0.0
.data 1928 1928 0 0.0
.text 793888 793888 0 0.0
window-app BRD4161A (read only) 783004 783004 0 0.0
(read/write) 121112 121112 0 0.0
.bss 119328 119328 0 0.0
.data 1784 1784 0 0.0
.text 782996 782996 0 0.0
esp32 all-clusters-app c3devkit (read only) 860210 860210 0 0.0
(read/write) 1307002 1307002 0 0.0
.dram0.bss 67616 67616 0 0.0
.dram0.data 14124 14124 0 0.0
.flash.rodata 172232 172232 0 0.0
.flash.text 860210 860210 0 0.0
.iram0.text 62076 62076 0 0.0
m5stack (read only) 964195 964195 0 0.0
(read/write) 451300 451300 0 0.0
.dram0.bss 74984 74984 0 0.0
.dram0.data 34048 34048 0 0.0
.flash.rodata 210480 210480 0 0.0
.flash.text 958811 958811 0 0.0
.iram0.text 123451 123451 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 667732 667732 0 0.0
.bss 73744 73744 0 0.0
.data 1852 1852 0 0.0
.text 586336 586336 0 0.0
lock-app k32w061+debug (read/write) 617324 617324 0 0.0
.bss 71896 71896 0 0.0
.data 1820 1820 0 0.0
.text 537808 537808 0 0.0
shell k32w061+debug (read/write) 622400 622400 0 0.0
.bss 74124 74124 0 0.0
.data 1792 1792 0 0.0
.text 540684 540684 0 0.0
linux chip-tool-ipv6only arm64 (read only) 6783628 6783628 0 0.0
(read/write) 317777 317777 0 0.0
.bss 51681 51681 0 0.0
.data 1048 1048 0 0.0
.data.rel.ro 208360 208360 0 0.0
.dynamic 560 560 0 0.0
.got 52992 52992 0 0.0
.init 24 24 0 0.0
.init_array 160 160 0 0.0
.rodata 363612 363612 0 0.0
.text 5742324 5742324 0 0.0
thermostat-no-ble arm64 (read only) 1935204 1935204 0 0.0
(read/write) 136353 136353 0 0.0
.bss 59409 59409 0 0.0
.data 776 776 0 0.0
.data.rel.ro 69800 69800 0 0.0
.dynamic 560 560 0 0.0
.got 3512 3512 0 0.0
.init 24 24 0 0.0
.init_array 256 256 0 0.0
.rodata 124996 124996 0 0.0
.text 1604304 1604304 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2321272 2321272 0 0.0
.bss 186884 186884 0 0.0
.data 5232 5232 0 0.0
.heap 844328 844328 0 0.0
.text 1283848 1283848 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2307128 2307128 0 0.0
.bss 175688 175688 0 0.0
.data 5488 5488 0 0.0
.heap 855272 855272 0 0.0
.text 1269728 1269728 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2279856 2279856 0 0.0
.bss 174728 174728 0 0.0
.data 5488 5488 0 0.0
.heap 856232 856232 0 0.0
.text 1242456 1242456 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053344 2053344 0 0.0
.bss 156892 156892 0 0.0
.data 4864 4864 0 0.0
.heap 874688 874688 0 0.0
.text 1015944 1015944 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 904791 904791 0 0.0
bss 116168 116168 0 0.0
rodata 101440 101440 0 0.0
text 611608 611608 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 867819 867819 0 0.0
bss 112516 112516 0 0.0
rodata 92740 92740 0 0.0
text 586336 586336 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 830786 830786 0 0.0
bss 117544 117544 0 0.0
rodata 96700 96700 0 0.0
text 542036 542036 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 877023 877023 0 0.0
bss 113432 113432 0 0.0
rodata 97560 97560 0 0.0
text 590668 590668 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 803270 803270 0 0.0
bss 114840 114840 0 0.0
rodata 92848 92848 0 0.0
text 521188 521188 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 881951 881951 0 0.0
bss 113344 113344 0 0.0
rodata 98912 98912 0 0.0
text 594256 594256 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 875159 875159 0 0.0
bss 113220 113220 0 0.0
rodata 97048 97048 0 0.0
text 589420 589420 0 0.0
shell nrf52840dk_nrf52840 (read/write) 781947 781947 0 0.0
bss 109544 109544 0 0.0
rodata 74280 74280 0 0.0
text 523604 523604 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 696994 696994 0 0.0
bss 110524 110524 0 0.0
rodata 68924 68924 0 0.0
text 444244 444244 0 0.0
p6 all-clusters-app default (read/write) 2357456 2357456 0 0.0
.bss 113108 113108 0 0.0
.data 2512 2512 0 0.0
.heap 917720 917720 0 0.0
.text 1315720 1315720 0 0.0
light-app default (read/write) 2291752 2291752 0 0.0
.bss 100880 100880 0 0.0
.data 2328 2328 0 0.0
.heap 930136 930136 0 0.0
.text 1250016 1250016 0 0.0
lock-app default (read/write) 2267616 2267616 0 0.0
.bss 99760 99760 0 0.0
.data 2288 2288 0 0.0
.heap 931296 931296 0 0.0
.text 1225880 1225880 0 0.0
qpg lighting-app qpg6100+debug (read only) 519472 519472 0 0.0
(read/write) 122332 122332 0 0.0
.bss 82616 82616 0 0.0
.data 956 956 0 0.0
.text 514152 514152 0 0.0
lock-app qpg6100+debug (read only) 493464 493464 0 0.0
(read/write) 122336 122336 0 0.0
.bss 81752 81752 0 0.0
.data 912 912 0 0.0
.text 488144 488144 0 0.0
persistent-storage-app qpg6100+debug (read only) 108104 108104 0 0.0
(read/write) 122336 122336 0 0.0
.bss 36152 36152 0 0.0
.data 288 288 0 0.0
.text 102784 102784 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 808702 808702 0 0.0
bss 82736 82736 0 0.0
noinit 37160 37160 0 0.0
text 564470 564470 0 0.0

@andy31415 andy31415 merged commit 5c064f8 into project-chip:master Dec 9, 2021
@sagar-apple sagar-apple deleted the add_missing_api branch December 9, 2021 19:00
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.

4 participants