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

Hook up some MTRDevice bits to XPC. #29689

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

bzbarsky-apple
Copy link
Contributor

@bzbarsky-apple bzbarsky-apple commented Oct 10, 2023

Specific changes:

  • Make MTRDevice get its MTRBaseDevice in a way that is XPC-friendly.
  • Implement readAttributePaths (which is what ends up getting called by MTRDevice's readAttributeWithEndpointID) over XPC, as long as there is just a single attribute path.
  • Implement _invokeCommandWithEndpointID (which is what ends up getting called by MTRDevice's _invokeKnownCommandWithEndpointID) over XPC, as long as serverSideProcessingTimeout is nil.
  • Writes already called an MTRBaseDevice function that was implemented over XPC.
  • Tests for the new setup; these were checked to fail without the other changes.

This also makes MTRClusters work over XPC.

Specific changes:

* Make MTRDevice get its MTRBaseDevice in a way that is XPC-friendly.
* Implement readAttributePaths (which is what ends up getting called by
  MTRDevice's readAttributeWithEndpointID) over XPC, as long as there is just a
  single attribute path.
* Implement _invokeCommandWithEndpointID (which is what ends up getting called
  by MTRDevice's _invokeKnownCommandWithEndpointID) over XPC, as long as
  serverSideProcessingTimeout is nil.
* Writes already called an MTRBaseDevice function that was implemented over XPC.
* Tests for the new setup; these were checked to fail without the other changes.

This also makes MTRClusters work over XPC.
@github-actions
Copy link

github-actions bot commented Oct 10, 2023

PR #29689: Size comparison from b9b33a7 to 7d4b7dd

Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b9b33a7 7d4b7dd change % change
bl602 lighting-app bl602 (read/write) 1389894 1389894 0 0.0
.bss 88184 88184 0 0.0
.data 9368 9368 0 0.0
.text 1066454 1066454 0 0.0
bl602+mfd (read/write) 1403806 1403806 0 0.0
.bss 88352 88352 0 0.0
.data 9344 9344 0 0.0
.text 1081258 1081258 0 0.0
bl602+rpc (read/write) 1437154 1437154 0 0.0
.bss 96208 96208 0 0.0
.data 9744 9744 0 0.0
.text 1098186 1098186 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1194011 1194011 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 30893 30893 0 0.0
.bss_psram 65744 65744 0 0.0
.comment 48 48 0 0.0
.data 3568 3568 0 0.0
.debug_abbrev 1549222 1549222 0 0.0
.debug_aranges 138576 138576 0 0.0
.debug_frame 507004 507004 0 0.0
.debug_info 41998394 41998394 0 0.0
.debug_line 5372959 5372959 0 0.0
.debug_loc 3635839 3635839 0 0.0
.debug_ranges 434560 434560 0 0.0
.debug_str 4054781 4054781 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 148 148 0 0.0
.ocram_bss 8416 8416 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106408 106408 0 0.0
.rsvd 4 4 0 0.0
.shstrtab 297 297 0 0.0
.stack 2048 2048 0 0.0
.strtab 597289 597289 0 0.0
.symtab 177472 177472 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
961344 961344 0 0.0
bl702+mfd (read only) 3358 3358 0 0.0
(read/write) 1204587 1204587 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 31069 31069 0 0.0
.bss_psram 65744 65744 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1551295 1551295 0 0.0
.debug_aranges 139744 139744 0 0.0
.debug_frame 512076 512076 0 0.0
.debug_info 42039012 42039012 0 0.0
.debug_line 5412338 5412338 0 0.0
.debug_loc 3674270 3674270 0 0.0
.debug_ranges 436560 436560 0 0.0
.debug_str 4060312 4060312 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 148 148 0 0.0
.ocram_bss 8416 8416 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 105348 105348 0 0.0
.rsvd 4 4 0 0.0
.shstrtab 297 297 0 0.0
.stack 2048 2048 0 0.0
.strtab 601049 601049 0 0.0
.symtab 179232 179232 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
972860 972860 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1292683 1292683 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 39357 39357 0 0.0
.bss_psram 65728 65728 0 0.0
.comment 48 48 0 0.0
.data 4112 4112 0 0.0
.debug_abbrev 1730204 1730204 0 0.0
.debug_aranges 147296 147296 0 0.0
.debug_frame 536360 536360 0 0.0
.debug_info 47159745 47159745 0 0.0
.debug_line 5791376 5791376 0 0.0
.debug_loc 3843045 3843045 0 0.0
.debug_ranges 462160 462160 0 0.0
.debug_str 4483366 4483366 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 164 164 0 0.0
.ocram_bss 8416 8416 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121548 121548 0 0.0
.rsvd 4 4 0 0.0
.shstrtab 297 297 0 0.0
.stack 2048 2048 0 0.0
.strtab 662253 662253 0 0.0
.symtab 196848 196848 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1035322 1035322 0 0.0
bl706-eth (read/write) 1042531 1042531 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 30006 30006 0 0.0
.bss_psram 97687 97687 0 0.0
.comment 48 48 0 0.0
.data 3248 3248 0 0.0
.debug_abbrev 1084726 1084726 0 0.0
.debug_aranges 115504 115504 0 0.0
.debug_frame 426140 426140 0 0.0
.debug_info 22634481 22634481 0 0.0
.debug_line 4303697 4303697 0 0.0
.debug_loc 3143100 3143100 0 0.0
.debug_ranges 369432 369432 0 0.0
.debug_str 3632585 3632585 0 0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.ocram_bss 8416 8416 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 96140 96140 0 0.0
.rsvd 4 4 0 0.0
.shstrtab 297 297 0 0.0
.stack 2048 2048 0 0.0
.strtab 465323 465323 0 0.0
.symtab 140064 140064 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
786758 786758 0 0.0
bl706-wifi (read only) 3870 3870 0 0.0
(read/write) 1207662 1207662 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 14597 14597 0 0.0
.bss_psram 98455 98455 0 0.0
.comment 48 48 0 0.0
.data 3560 3560 0 0.0
.debug_abbrev 1177943 1177943 0 0.0
.debug_aranges 119680 119680 0 0.0
.debug_frame 618760 618760 0 0.0
.debug_info 23804262 23804262 0 0.0
.debug_line 4548013 4548013 0 0.0
.debug_loc 3243068 3243068 0 0.0
.debug_ranges 379320 379320 0 0.0
.debug_str 3704876 3704876 0 0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.ocram_bss 8416 8416 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109268 109268 0 0.0
.rsvd 4 4 0 0.0
.shstrtab 297 297 0 0.0
.stack 2048 2048 0 0.0
.strtab 506050 506050 0 0.0
.symtab 152928 152928 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3870 3870 0 0.0
.text 0 0 0 0.0
955294 955294 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1157168 1157168 0 0.0
.boot2 292 292 0 0.0
.bss 20368 20368 0 0.0
.bss_psram 77184 77184 0 0.0
.comment 48 48 0 0.0
.data 4512 4512 0 0.0
.debug_abbrev 1543510 1543510 0 0.0
.debug_aranges 133440 133440 0 0.0
.debug_frame 487644 487644 0 0.0
.debug_info 41455200 41455200 0 0.0
.debug_line 5276088 5276088 0 0.0
.debug_loc 3580125 3580125 0 0.0
.debug_ranges 441096 441096 0 0.0
.debug_str 4079370 4079370 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 148 148 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100388 100388 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 598915 598915 0 0.0
.symtab 176912 176912 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944170 944170 0 0.0
bl702l+mfd (read only) 278 278 0 0.0
(read/write) 1167784 1167784 0 0.0
.boot2 292 292 0 0.0
.bss 20544 20544 0 0.0
.bss_psram 77184 77184 0 0.0
.comment 48 48 0 0.0
.data 4488 4488 0 0.0
.debug_abbrev 1545598 1545598 0 0.0
.debug_aranges 134608 134608 0 0.0
.debug_frame 492712 492712 0 0.0
.debug_info 41497861 41497861 0 0.0
.debug_line 5315344 5315344 0 0.0
.debug_loc 3618556 3618556 0 0.0
.debug_ranges 443096 443096 0 0.0
.debug_str 4084891 4084891 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 148 148 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99328 99328 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 602743 602743 0 0.0
.symtab 178704 178704 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
955696 955696 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 734803 734803 0 0.0
(read/write) 166452 166452 0 0.0
.bss 88868 88868 0 0.0
.data 3420 3420 0 0.0
.rodata 84399 84399 0 0.0
.text 650016 650016 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 756331 756331 0 0.0
(read/write) 176700 176700 0 0.0
.bss 99084 99084 0 0.0
.data 3436 3436 0 0.0
.rodata 80023 80023 0 0.0
.text 675916 675916 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 743835 743835 0 0.0
(read/write) 171180 171180 0 0.0
.bss 93564 93564 0 0.0
.data 3436 3436 0 0.0
.rodata 106111 106111 0 0.0
.text 637332 637332 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 694851 694851 0 0.0
(read/write) 165544 165544 0 0.0
.bss 87736 87736 0 0.0
.data 3408 3408 0 0.0
.rodata 80271 80271 0 0.0
.text 614192 614192 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 680531 680531 0 0.0
(read/write) 165684 165684 0 0.0
.bss 87880 87880 0 0.0
.data 3404 3404 0 0.0
.rodata 76103 76103 0 0.0
.text 604040 604040 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617458 617458 0 0.0
(read/write) 206900 206900 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200344 200344 0 0.0
.comment 206 206 0 0.0
.data 1436 1436 0 0.0
.debug_abbrev 938123 938123 0 0.0
.debug_aranges 108968 108968 0 0.0
.debug_frame 367200 367200 0 0.0
.debug_info 20591210 20591210 0 0.0
.debug_line 2663136 2663136 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1635217 1635217 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 112187 112187 0 0.0
.debug_str 3430398 3430398 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106282 106282 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 515538 515538 0 0.0
.symtab 298480 298480 0 0.0
.text 509052 509052 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 551839 551839 0 0.0
.app_xip_area 443033 443033 0 0.0
.bss 63776 63776 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 537943 537943 0 0.0
.app_xip_area 424345 424345 0 0.0
.bss 68544 68544 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573887 573887 0 0.0
.app_xip_area 466409 466409 0 0.0
.bss 62520 62520 0 0.0
.data 588 588 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 549711 549711 0 0.0
.app_xip_area 439137 439137 0 0.0
.bss 65520 65520 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1006428 1006428 0 0.0
.bss 171948 171948 0 0.0
.data 2688 2688 0 0.0
.text 831772 831772 0 0.0
BRD4187C (read/write) 1088756 1088756 0 0.0
.bss 196064 196064 0 0.0
.data 3272 3272 0 0.0
.text 889400 889400 0 0.0
lock-app BRD4161A+wf200 (read/write) 1103660 1103660 0 0.0
.bss 186636 186636 0 0.0
.data 2700 2700 0 0.0
.text 914304 914304 0 0.0
window-app BRD4187C (read/write) 1124064 1124064 0 0.0
.bss 168472 168472 0 0.0
.data 3144 3144 0 0.0
.text 952428 952428 0 0.0
esp32 all-clusters-app c3devkit (read only) 1162186 1162186 0 0.0
(read/write) 1701924 1701924 0 0.0
.dram0.bss 77640 77640 0 0.0
.dram0.data 13060 13060 0 0.0
.flash.rodata 268496 268496 0 0.0
.flash.text 1162186 1162186 0 0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1205119 1205119 0 0.0
(read/write) 551858 551858 0 0.0
.dram0.bss 84288 84288 0 0.0
.dram0.data 34020 34020 0 0.0
.flash.rodata 299932 299932 0 0.0
.flash.text 1199735 1199735 0 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 588700 588700 0 0.0
(read/write) 87524 87524 0 0.0
.bss 70768 70768 0 0.0
.data 2132 2132 0 0.0
.text 588164 588164 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 683956 683956 0 0.0
.bss 66984 66984 0 0.0
.data 2716 2716 0 0.0
.text 570776 570776 0 0.0
light k32w0+release (read only) 588428 588428 0 0.0
(read/write) 87200 87200 0 0.0
.bss 70456 70456 0 0.0
.data 2120 2120 0 0.0
.text 587892 587892 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 775776 775776 0 0.0
.bss 76628 76628 0 0.0
.data 1928 1928 0 0.0
.text 653760 653760 0 0.0
lock k32w0+release (read only) 560164 560164 0 0.0
(read/write) 85028 85028 0 0.0
.bss 68344 68344 0 0.0
.data 2060 2060 0 0.0
.text 559628 559628 0 0.0
linux all-clusters-app debug (read only) 5494353 5494353 0 0.0
(read/write) 420552 420552 0 0.0
.bss 130480 130480 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 278848 278848 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1328 1328 0 0.0
.rodata 335372 335372 0 0.0
.text 4778163 4778163 0 0.0
all-clusters-minimal-app debug (read only) 4874185 4874185 0 0.0
(read/write) 232688 232688 0 0.0
.bss 126512 126512 0 0.0
.data 3760 3760 0 0.0
.data.rel.ro 95280 95280 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 270269 270269 0 0.0
.text 4372803 4372803 0 0.0
bridge-app debug (read only) 2752969 2752969 0 0.0
(read/write) 133200 133200 0 0.0
.bss 51768 51768 0 0.0
.data 3680 3680 0 0.0
.data.rel.ro 71648 71648 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213216 213216 0 0.0
.text 2361987 2361987 0 0.0
chip-tool debug (read only) 10208297 10208297 0 0.0
(read/write) 443032 443032 0 0.0
.bss 93688 93688 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 337104 337104 0 0.0
.dynamic 624 624 0 0.0
.got 5808 5808 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 386121 386121 0 0.0
.text 9225155 9225155 0 0.0
chip-tool-ipv6only arm64 (read only) 10078284 10078284 0 0.0
(read/write) 504824 504824 0 0.0
.bss 103048 103048 0 0.0
.data 4288 4288 0 0.0
.data.rel.ro 373648 373648 0 0.0
.dynamic 512 512 0 0.0
.got 18384 18384 0 0.0
.init 24 24 0 0.0
.init_array 256 256 0 0.0
.rodata 314872 314872 0 0.0
.text 8997816 8997816 0 0.0
lighting-app debug+rpc+ui (read only) 5213873 5213873 0 0.0
(read/write) 222984 222984 0 0.0
.bss 118160 118160 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 92832 92832 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336340 336340 0 0.0
.text 4634307 4634307 0 0.0
lock-app debug (read only) 4450529 4450529 0 0.0
(read/write) 203128 203128 0 0.0
.bss 113424 113424 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79288 79288 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 246781 246781 0 0.0
.text 3994131 3994131 0 0.0
ota-provider-app debug (read only) 4116529 4116529 0 0.0
(read/write) 192064 192064 0 0.0
.bss 113568 113568 0 0.0
.data 3920 3920 0 0.0
.data.rel.ro 68656 68656 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 199997 199997 0 0.0
.text 3725971 3725971 0 0.0
ota-requestor-app debug (read only) 4201961 4201961 0 0.0
(read/write) 196280 196280 0 0.0
.bss 114592 114592 0 0.0
.data 4160 4160 0 0.0
.data.rel.ro 71632 71632 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 203261 203261 0 0.0
.text 3803811 3803811 0 0.0
shell debug (read only) 2900209 2900209 0 0.0
(read/write) 153248 153248 0 0.0
.bss 61000 61000 0 0.0
.data 784 784 0 0.0
.data.rel.ro 85544 85544 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 211136 211136 0 0.0
.text 2515634 2515634 0 0.0
thermostat-no-ble arm64 (read only) 4345676 4345676 0 0.0
(read/write) 241880 241880 0 0.0
.bss 122184 122184 0 0.0
.data 2792 2792 0 0.0
.data.rel.ro 100528 100528 0 0.0
.dynamic 512 512 0 0.0
.got 11912 11912 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161036 161036 0 0.0
.text 3850024 3850024 0 0.0
tv-app debug (read only) 5276961 5276961 0 0.0
(read/write) 350696 350696 0 0.0
.bss 241888 241888 0 0.0
.data 5024 5024 0 0.0
.data.rel.ro 96384 96384 0 0.0
.dynamic 624 624 0 0.0
.got 5608 5608 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 271053 271053 0 0.0
.text 4761827 4761827 0 0.0
tv-casting-app debug (read only) 8138897 8138897 0 0.0
(read/write) 312872 312872 0 0.0
.bss 155904 155904 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 147696 147696 0 0.0
.dynamic 624 624 0 0.0
.got 5080 5080 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 336120 336120 0 0.0
.text 7401283 7401283 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2521784 2521784 0 0.0
.bss 219064 219064 0 0.0
.data 5128 5128 0 0.0
.text 1484468 1484468 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1227804 1227804 0 0.0
bss 154518 154518 0 0.0
rodata 142704 142704 0 0.0
text 851536 851536 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1347316 1347316 0 0.0
bss 140528 140528 0 0.0
rodata 136880 136880 0 0.0
text 779228 779228 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1160140 1160140 0 0.0
bss 153948 153948 0 0.0
rodata 113728 113728 0 0.0
text 813528 813528 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837512 837512 0 0.0
(read/write) 1778388 1778388 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193300 193300 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2528 2528 0 0.0
.debug_abbrev 1381678 1381678 0 0.0
.debug_aranges 145672 145672 0 0.0
.debug_frame 482980 482980 0 0.0
.debug_info 32176275 32176275 0 0.0
.debug_line 4045433 4045433 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2318154 2318154 0 0.0
.debug_rnglists 156090 156090 0 0.0
.debug_str 4184274 4184274 0 0.0
.heap 837512 837512 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 844363 844363 0 0.0
.symtab 513952 513952 0 0.0
.text 0 0 0 0.0
1574172 1574172 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 840152 840152 0 0.0
(read/write) 1680884 1680884 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190716 190716 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1262673 1262673 0 0.0
.debug_aranges 137472 137472 0 0.0
.debug_frame 461408 461408 0 0.0
.debug_info 28516946 28516946 0 0.0
.debug_line 3804516 3804516 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2191539 2191539 0 0.0
.debug_rnglists 147657 147657 0 0.0
.debug_str 3985930 3985930 0 0.0
.heap 840152 840152 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 741179 741179 0 0.0
.symtab 474768 474768 0 0.0
.text 1479308 1479308 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846488 846488 0 0.0
(read/write) 1607284 1607284 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184492 184492 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2360 2360 0 0.0
.debug_abbrev 1103645 1103645 0 0.0
.debug_aranges 127536 127536 0 0.0
.debug_frame 424340 424340 0 0.0
.debug_info 23638428 23638428 0 0.0
.debug_line 3379130 3379130 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2028263 2028263 0 0.0
.debug_rnglists 137209 137209 0 0.0
.debug_str 3792988 3792988 0 0.0
.heap 846488 846488 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 654271 654271 0 0.0
.symtab 436224 436224 0 0.0
.text 1412044 1412044 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 819232 819232 0 0.0
(read/write) 1640268 1640268 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 211740 211740 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1095836 1095836 0 0.0
.debug_aranges 126168 126168 0 0.0
.debug_frame 419368 419368 0 0.0
.debug_info 23441352 23441352 0 0.0
.debug_line 3329636 3329636 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2003664 2003664 0 0.0
.debug_rnglists 135147 135147 0 0.0
.debug_str 3754970 3754970 0 0.0
.heap 819232 819232 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 627815 627815 0 0.0
.symtab 427808 427808 0 0.0
.text 1417772 1417772 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1176020 1176020 0 0.0
.bss 100616 100616 0 0.0
.data 744 744 0 0.0
.text 622864 622864 0 0.0
lock-app qpg6105+debug (read/write) 1132692 1132692 0 0.0
.bss 95328 95328 0 0.0
.data 748 748 0 0.0
.text 579532 579532 0 0.0
telink air-quality-sensor-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 873620 873620 0 0.0
bss 78044 78044 0 0.0
text 618274 618274 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1148076 1148076 0 0.0
bss 113224 113224 0 0.0
text 799532 799532 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1093100 1093100 0 0.0
bss 122244 122244 0 0.0
text 757988 757988 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 948708 948708 0 0.0
bss 106888 106888 0 0.0
text 655350 655350 0 0.0
contact-sensor-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 876976 876976 0 0.0
bss 78124 78124 0 0.0
text 621388 621388 0 0.0
light-switch-app-rpc-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 922992 922992 0 0.0
bss 83072 83072 0 0.0
text 659476 659476 0 0.0
lighting-app-rpc-shell-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 999344 999344 0 0.0
bss 109148 109148 0 0.0
text 702528 702528 0 0.0
lock-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 932900 932900 0 0.0
bss 78816 78816 0 0.0
text 650536 650536 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 962332 962332 0 0.0
bss 104988 104988 0 0.0
text 671404 671404 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 880864 880864 0 0.0
bss 78228 78228 0 0.0
text 625608 625608 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 821796 821796 0 0.0
bss 66248 66248 0 0.0
text 592710 592710 0 0.0
resource-monitoring-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 837384 837384 0 0.0
bss 66664 66664 0 0.0
text 603210 603210 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 716168 716168 0 0.0
bss 86424 86424 0 0.0
text 469742 469742 0 0.0
smoke_co_alarm-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 878840 878840 0 0.0
bss 78208 78208 0 0.0
text 624180 624180 0 0.0
temperature-measurement-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 864664 864664 0 0.0
bss 77936 77936 0 0.0
text 612128 612128 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 842892 842892 0 0.0
bss 66540 66540 0 0.0
text 608082 608082 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 840140 840140 0 0.0
bss 66892 66892 0 0.0
text 604918 604918 0 0.0

@mergify mergify bot merged commit 8439ddc into project-chip:master Oct 12, 2023
55 checks passed
@bzbarsky-apple bzbarsky-apple deleted the MTRDevice-some-XPC branch October 12, 2023 16:42
HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
Specific changes:

* Make MTRDevice get its MTRBaseDevice in a way that is XPC-friendly.
* Implement readAttributePaths (which is what ends up getting called by
  MTRDevice's readAttributeWithEndpointID) over XPC, as long as there is just a
  single attribute path.
* Implement _invokeCommandWithEndpointID (which is what ends up getting called
  by MTRDevice's _invokeKnownCommandWithEndpointID) over XPC, as long as
  serverSideProcessingTimeout is nil.
* Writes already called an MTRBaseDevice function that was implemented over XPC.
* Tests for the new setup; these were checked to fail without the other changes.

This also makes MTRClusters work over XPC.
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.

2 participants