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

Remove the concept of client attributes from EmberAfAttributeSearchRecord. #17825

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

All attributes in Matter are server attributes.

Problem

Unnecessary sides for attributes being passed around.

Change overview

Remove some of them. There are more to remove, but those will be separate PRs.

Testing

No behavior changes, just code removal.

…cord.

All attributes in Matter are server attributes.
@github-actions
Copy link

github-actions bot commented Apr 27, 2022

PR #17825: Size comparison from 11c49af to 8897fdc

Increases (5 builds for cc13x2_26x2, linux)
platform target config section 11c49af 8897fdc change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 164308 164388 80 0.0
lock-ftd LP_CC2652R7 (read/write) 154828 154892 64 0.0
pump-app LP_CC2652R7 (read/write) 183240 183320 80 0.0
pump-controller-app LP_CC2652R7 (read/write) 190088 190152 64 0.0
linux thermostat-no-ble arm64 (read only) 2365468 2365500 32 0.0
.text 1991024 1991056 32 0.0
Decreases (28 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 11c49af 8897fdc change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 687787 687707 -80 -0.0
.text 585840 585760 -80 -0.0
lock-ftd LP_CC2652R7 (read only) 688571 688507 -64 -0.0
.text 584964 584900 -64 -0.0
lock-mtd LP_CC2652R7 (read only) 637315 637251 -64 -0.0
.text 533820 533756 -64 -0.0
pump-app LP_CC2652R7 (read only) 661359 661279 -80 -0.0
.text 580560 580480 -80 -0.0
pump-controller-app LP_CC2652R7 (read only) 654303 654239 -64 -0.0
.text 570480 570416 -64 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 626374 626230 -144 -0.0
.app_xip_area 529204 529060 -144 -0.0
lock cyw930739m2evb_01 (read/write) 620974 620830 -144 -0.0
.app_xip_area 525276 525132 -144 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574074 573922 -152 -0.0
.app_xip_area 468732 468580 -152 -0.0
efr32 lighting-app BRD4161A (read only) 907432 907416 -16 -0.0
.text 907424 907408 -16 -0.0
window-app BRD4161A (read only) 844640 844624 -16 -0.0
.text 844632 844616 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 998842 998740 -102 -0.0
.flash.text 998842 998740 -102 -0.0
m5stack (read only) 1053087 1053011 -76 -0.0
.flash.text 1047703 1047627 -76 -0.0
k32w light k32w061+release (read/write) 688388 688356 -32 -0.0
.text 599428 599396 -32 -0.0
lock k32w061+release (read/write) 729248 729168 -80 -0.0
.text 639920 639840 -80 -0.0
linux all-clusters-app debug (read only) 2730993 2730897 -96 -0.0
.rodata 234085 234053 -32 -0.0
.text 2322546 2322482 -64 -0.0
bridge-app debug+rpc (read only) 1888049 1887953 -96 -0.0
.rodata 159489 159457 -32 -0.0
.text 1606402 1606338 -64 -0.0
chip-tool debug (read only) 8379277 8379197 -80 -0.0
.rodata 455029 454997 -32 -0.0
.text 6840933 6840885 -48 -0.0
lighting-app debug+rpc (read only) 2322417 2322321 -96 -0.0
.rodata 183601 183569 -32 -0.0
.text 1972802 1972738 -64 -0.0
lock-app debug (read only) 2203521 2203425 -96 -0.0
.rodata 192097 192065 -32 -0.0
.text 1852050 1851986 -64 -0.0
ota-provider-app debug (read only) 2057001 2056921 -80 -0.0
.rodata 174147 174115 -32 -0.0
.text 1725970 1725922 -48 -0.0
ota-requestor-app debug (read only) 2088081 2087985 -96 -0.0
.rodata 170380 170348 -32 -0.0
.text 1759330 1759266 -64 -0.0
shell debug (read only) 2555977 2555881 -96 -0.0
.rodata 215794 215762 -32 -0.0
.text 2178898 2178834 -64 -0.0
tv-app debug (read only) 2841065 2840969 -96 -0.0
.rodata 216203 216171 -32 -0.0
.text 2443026 2442962 -64 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2411100 2411036 -64 -0.0
.text 1373700 1373636 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1179039 1178895 -144 -0.0
text 808428 808280 -148 -0.0
p6 light-app default (read/write) 2418352 2418336 -16 -0.0
.text 1376616 1376600 -16 -0.0
lock-app default (read/write) 2422432 2422416 -16 -0.0
.text 1380696 1380680 -16 -0.0
telink lighting-app tlsr9518adk80d (read/write) 807312 807200 -112 -0.0
text 571242 571130 -112 -0.0
Full report (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 11c49af 8897fdc change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 687787 687707 -80 -0.0
(read/write) 164308 164388 80 0.0
.bss 75076 75076 0 0.0
.data 3396 3396 0 0.0
.rodata 101467 101467 0 0.0
.text 585840 585760 -80 -0.0
lock-ftd LP_CC2652R7 (read only) 688571 688507 -64 -0.0
(read/write) 154828 154892 64 0.0
.bss 73436 73436 0 0.0
.data 3220 3220 0 0.0
.rodata 103123 103123 0 0.0
.text 584964 584900 -64 -0.0
lock-mtd LP_CC2652R7 (read only) 637315 637251 -64 -0.0
(read/write) 146236 146236 0 0.0
.bss 69156 69156 0 0.0
.data 3220 3220 0 0.0
.rodata 103003 103003 0 0.0
.text 533820 533756 -64 -0.0
pump-app LP_CC2652R7 (read only) 661359 661279 -80 -0.0
(read/write) 183240 183320 80 0.0
.bss 73612 73612 0 0.0
.data 3252 3252 0 0.0
.rodata 80319 80319 0 0.0
.text 580560 580480 -80 -0.0
pump-controller-app LP_CC2652R7 (read only) 654303 654239 -64 -0.0
(read/write) 190088 190152 64 0.0
.bss 73660 73660 0 0.0
.data 3216 3216 0 0.0
.rodata 83343 83343 0 0.0
.text 570480 570416 -64 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 626374 626230 -144 -0.0
.app_xip_area 529204 529060 -144 -0.0
.bss 79828 79828 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 620974 620830 -144 -0.0
.app_xip_area 525276 525132 -144 -0.0
.bss 78388 78388 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574074 573922 -152 -0.0
.app_xip_area 468732 468580 -152 -0.0
.bss 87736 87736 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 907432 907416 -16 -0.0
(read/write) 134960 134960 0 0.0
.bss 132912 132912 0 0.0
.data 2044 2044 0 0.0
.text 907424 907408 -16 -0.0
BRD4161A+rpc (read only) 941816 941816 0 0.0
(read/write) 151640 151640 0 0.0
.bss 149392 149392 0 0.0
.data 2248 2248 0 0.0
.text 941808 941808 0 0.0
window-app BRD4161A (read only) 844640 844624 -16 -0.0
(read/write) 133048 133048 0 0.0
.bss 131088 131088 0 0.0
.data 1956 1956 0 0.0
.text 844632 844616 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 998842 998740 -102 -0.0
(read/write) 1473570 1473570 0 0.0
.dram0.bss 68208 68208 0 0.0
.dram0.data 14428 14428 0 0.0
.flash.rodata 206488 206488 0 0.0
.flash.text 998842 998740 -102 -0.0
.iram0.text 62020 62020 0 0.0
m5stack (read only) 1053087 1053011 -76 -0.0
(read/write) 475568 475568 0 0.0
.dram0.bss 73728 73728 0 0.0
.dram0.data 34168 34168 0 0.0
.flash.rodata 235836 235836 0 0.0
.flash.text 1047703 1047627 -76 -0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 688388 688356 -32 -0.0
.bss 81160 81160 0 0.0
.data 2000 2000 0 0.0
.text 599428 599396 -32 -0.0
lock k32w061+release (read/write) 729248 729168 -80 -0.0
.bss 81568 81568 0 0.0
.data 1960 1960 0 0.0
.text 639920 639840 -80 -0.0
linux all-clusters-app debug (read only) 2730993 2730897 -96 -0.0
(read/write) 172752 172752 0 0.0
.bss 83168 83168 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 81496 81496 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 1000 1000 0 0.0
.rodata 234085 234053 -32 -0.0
.text 2322546 2322482 -64 -0.0
bridge-app debug+rpc (read only) 1888049 1887953 -96 -0.0
(read/write) 120112 120112 0 0.0
.bss 71168 71168 0 0.0
.data 3424 3424 0 0.0
.data.rel.ro 40184 40184 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 159489 159457 -32 -0.0
.text 1606402 1606338 -64 -0.0
chip-tool debug (read only) 8379277 8379197 -80 -0.0
(read/write) 473424 473424 0 0.0
.bss 22592 22592 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 443448 443448 0 0.0
.dynamic 624 624 0 0.0
.got 4952 4952 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 455029 454997 -32 -0.0
.text 6840933 6840885 -48 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 8237604 8237604 0 0.0
(read/write) 538593 538593 0 0.0
.bss 40897 40897 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 478600 478600 0 0.0
.dynamic 560 560 0 0.0
.got 14080 14080 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 421492 421492 0 0.0
.text 6600196 6600196 0 0.0
lighting-app debug+rpc (read only) 2322417 2322321 -96 -0.0
(read/write) 151096 151096 0 0.0
.bss 73248 73248 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 70120 70120 0 0.0
.dynamic 608 608 0 0.0
.got 4320 4320 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 183601 183569 -32 -0.0
.text 1972802 1972738 -64 -0.0
lock-app debug (read only) 2203521 2203425 -96 -0.0
(read/write) 145416 145416 0 0.0
.bss 71808 71808 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 66456 66456 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 192097 192065 -32 -0.0
.text 1852050 1851986 -64 -0.0
ota-provider-app debug (read only) 2057001 2056921 -80 -0.0
(read/write) 138696 138696 0 0.0
.bss 71232 71232 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 60008 60008 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 174147 174115 -32 -0.0
.text 1725970 1725922 -48 -0.0
ota-requestor-app debug (read only) 2088081 2087985 -96 -0.0
(read/write) 141472 141472 0 0.0
.bss 71872 71872 0 0.0
.data 1928 1928 0 0.0
.data.rel.ro 62056 62056 0 0.0
.dynamic 592 592 0 0.0
.got 4320 4320 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 170380 170348 -32 -0.0
.text 1759330 1759266 -64 -0.0
shell debug (read only) 2555977 2555881 -96 -0.0
(read/write) 196648 196648 0 0.0
.bss 113768 113768 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 75784 75784 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 215794 215762 -32 -0.0
.text 2178898 2178834 -64 -0.0
thermostat-no-ble arm64 (read only) 2365468 2365500 32 0.0
(read/write) 174305 174305 0 0.0
.bss 86129 86129 0 0.0
.data 1488 1488 0 0.0
.data.rel.ro 78928 78928 0 0.0
.dynamic 560 560 0 0.0
.got 4736 4736 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 145612 145612 0 0.0
.text 1991024 1991056 32 0.0
tv-app debug (read only) 2841065 2840969 -96 -0.0
(read/write) 276344 276344 0 0.0
.bss 189112 189112 0 0.0
.data 4640 4640 0 0.0
.data.rel.ro 76360 76360 0 0.0
.dynamic 592 592 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 216203 216171 -32 -0.0
.text 2443026 2442962 -64 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2411100 2411036 -64 -0.0
.bss 205708 205708 0 0.0
.data 5848 5848 0 0.0
.text 1373700 1373636 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1179039 1178895 -144 -0.0
bss 141840 141840 0 0.0
rodata 150064 150064 0 0.0
text 808428 808280 -148 -0.0
p6 all-clusters-app default (read/write) 2526408 2526408 0 0.0
.bss 139096 139096 0 0.0
.data 2784 2784 0 0.0
.text 1484672 1484672 0 0.0
light-app default (read/write) 2418352 2418336 -16 -0.0
.bss 132568 132568 0 0.0
.data 2584 2584 0 0.0
.text 1376616 1376600 -16 -0.0
lock-app default (read/write) 2422432 2422416 -16 -0.0
.bss 132368 132368 0 0.0
.data 2544 2544 0 0.0
.text 1380696 1380680 -16 -0.0
telink lighting-app tlsr9518adk80d (read/write) 807312 807200 -112 -0.0
bss 75272 75272 0 0.0
noinit 40416 40416 0 0.0
text 571242 571130 -112 -0.0

@tcarmelveilleux tcarmelveilleux merged commit 2826b34 into project-chip:master Apr 28, 2022
@bzbarsky-apple bzbarsky-apple deleted the attribute-metadata-server branch April 28, 2022 22:11
chrisbeach59 pushed a commit to chrisbeach59/connectedhomeip that referenced this pull request May 31, 2022
* [IM] Crash when trying to subscribe to an event

* [YAML] Update TestEvents.yaml to use subscribeEvent

* Fix ClusterTestGeneration.js to make it possible to wait for an event report

* Update generated test code

Test Modified Apr 17 (project-chip#17513)

* Modified scripts
TC-MC-1.1
TC-MC-1.2
TC-MC-1.3
TC-MC-1.4
TC-MC-1.5
TC-MC-1.6
TC-MC-1.7
TC-MC-1.8
TC-MC-1.9
TC-MC-1.10
TC-MC-1.11
TC-MC-1.12
TC-MC-3.1
TC-MC-3.2
TC-MC-3.3
TC-MC-3.4
TC-MC-3.5
TC-OO-1.1
TC-RH-1.1
TC-RH-2.1
TC-TM-1.1
TC-TSUIC-1.1

* Added auto generated files

* Restyled by whitespace

* Modified JS file

* Auto generated files

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

Test added apr7 (project-chip#17165)

* Added manual scripts

* Added auto generatedfiles

* Restyled by whitespace

* Restyled by prettier-yaml

* updated additional comments

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

[Tests] Increase the tests timeout from 30 minutes to 40 minutes (project-chip#17838)

[chip-tool] Do not try to reset an element that does not exists in the case of a group command (project-chip#17844)

Remove the concept of client attributes from EmberAfAttributeSearchRecord. (project-chip#17825)

All attributes in Matter are server attributes.

Change erase size for OTA

Reduce CHIP_CONFIG_MAX_FABRICS from 16 to 5
DCT modules used for ACL reduced from 48 to 15

SetRequestorCanConsent to true

[Tempfix] Store new target software version in persistent storage
Current method adds 1 to the old software version
TODO: change to the exact software version downloaded
TODO: use ConfigurationMgr() instead of Impl after rebasing to newer version

SetRequestorCanConsent to true for lighting and ota-requestor apps

rebasing

Pull in Changes from Te7 Stat

Tested against the PC simulator for thermostat.

Thermostat Ameba Files

Add examples/thermostat/ameba/main files
Update .gitignore to exclude examples/thermostat/ameba/build

Pull in Changes from Te7 Stat

Tested against the PC simulator for thermostat.

Realtek update

update

Zap update for SW Diags and Wi-Fi Diags

Update thermostat.zap file

Thermostat .zap config update

Used for TE 7.5

Updated config

Change VID and PID to work with example DAA credentials

zap file update for thermostat

Remove deprecated api for OTA

Updated device manger and interface files for TE9

Works with new device attestation verification
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.

3 participants