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

Fix responses for UpdateFabricLabel to match the spec. #15122

Merged
merged 2 commits into from
Feb 12, 2022

Conversation

bzbarsky-apple
Copy link
Contributor

  1. Send a NOCResponse instead of a status response, like the spec says.
  2. Implement the "check for fabric label collision" bit from the spec.
  3. Update the name of the "Fabrics" attribute to match the spec.
  4. Add a test for UpdateFabricLabel and reading the Fabrics attribute both
    before and after updating the label.

Fixes #15114

Problem

See above.

Change overview

See above.

Testing

Yaml, tests added. More can be added once we can commission two different fabrics in YAML.

@github-actions
Copy link

github-actions bot commented Feb 12, 2022

PR #15122: Size comparison from 6a291ca to c57fc1b

Increases (39 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 6a291ca c57fc1b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592342 592546 204 0.0
.app_xip_area 497820 498024 204 0.0
lock cyw930739m2evb_01 (read/write) 550398 550602 204 0.0
.app_xip_area 457444 457648 204 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569034 569230 196 0.0
.app_xip_area 466824 467020 196 0.0
efr32 lighting-app BRD4161A (read only) 908400 908816 416 0.0
.text 908392 908808 416 0.0
BRD4161A+rpc (read only) 937112 937528 416 0.0
.text 937104 937520 416 0.0
window-app BRD4161A (read only) 843620 844036 416 0.0
.text 843612 844028 416 0.0
esp32 all-clusters-app c3devkit (read only) 944546 944736 190 0.0
(read/write) 1398578 1398602 24 0.0
.flash.rodata 199000 199024 24 0.0
.flash.text 944546 944736 190 0.0
m5stack (read only) 994467 994663 196 0.0
(read/write) 463856 463888 32 0.0
.flash.rodata 226112 226144 32 0.0
.flash.text 989083 989279 196 0.0
k32w light k32w061+release (read/write) 682940 683144 204 0.0
.text 598580 598784 204 0.0
lock k32w061+release (read/write) 688380 688568 188 0.0
.text 603584 603772 188 0.0
linux all-clusters-app debug (read only) 2355369 2355801 432 0.0
.rodata 205765 205797 32 0.0
.text 1987330 1987730 400 0.0
bridge-app debug+rpc (read only) 1724453 1724901 448 0.0
.rodata 141644 141676 32 0.0
.text 1466261 1466677 416 0.0
chip-tool debug (read only) 8434093 8441365 7272 0.1
(read/write) 245696 245760 64 0.0
.data.rel.ro 206280 206328 48 0.0
.rodata 459573 459861 288 0.1
.text 7459125 7465989 6864 0.1
chip-tool-ipv6only arm64 (read only) 8237764 8244148 6384 0.1
(read/write) 353233 353345 112 0.0
.data.rel.ro 248720 248776 56 0.0
.got 49008 49064 56 0.1
.rodata 435740 435980 240 0.1
.text 7041124 7046980 5856 0.1
door-lock-app debug (read only) 1929609 1930057 448 0.0
.rodata 173042 173074 32 0.0
.text 1608050 1608466 416 0.0
lighting-app debug+rpc (read only) 2053257 2053705 448 0.0
.rodata 165361 165393 32 0.0
.text 1733154 1733570 416 0.0
ota-provider-app debug (read only) 1863097 1863529 432 0.0
.rodata 157451 157483 32 0.0
.text 1555058 1555458 400 0.0
ota-requestor-app debug (read only) 1858585 1859017 432 0.0
.rodata 151164 151196 32 0.0
.text 1558578 1558978 400 0.0
shell debug (read only) 2339729 2340161 432 0.0
.rodata 206642 206674 32 0.0
.text 1976306 1976706 400 0.0
thermostat-no-ble arm64 (read only) 2149292 2149708 416 0.0
.rodata 132892 132908 16 0.0
.text 1798208 1798608 400 0.0
tv-app debug (read only) 2527361 2527793 432 0.0
.rodata 197669 197701 32 0.0
.text 2156722 2157122 400 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2397696 2397912 216 0.0
.text 1360296 1360512 216 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2359984 2360144 160 0.0
.text 1322584 1322744 160 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2323520 2323736 216 0.0
.text 1286120 1286336 216 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2308668 2308828 160 0.0
.text 1271240 1271400 160 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1015291 1015495 204 0.0
rodata 120056 120084 28 0.0
text 694872 695044 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 984567 984771 204 0.0
rodata 111580 111608 28 0.0
text 674760 674936 176 0.0
nrf52840dongle_nrf52840 (read/write) 1031183 1031371 188 0.0
rodata 118936 118964 28 0.0
text 699508 699680 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 921950 922154 204 0.0
rodata 113296 113324 28 0.0
text 609896 610068 172 0.0
lock-app nrf52840dk_nrf52840 (read/write) 945051 945255 204 0.0
rodata 108816 108844 28 0.0
text 637920 638096 176 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852578 852782 204 0.0
rodata 101988 102016 28 0.0
text 553720 553892 172 0.0
pump-app nrf52840dk_nrf52840 (read/write) 943855 944059 204 0.0
rodata 107772 107800 28 0.0
text 637976 638152 176 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 939815 940019 204 0.0
rodata 107468 107496 28 0.0
text 634216 634392 176 0.0
p6 all-clusters-app default (read/write) 2482360 2482752 392 0.0
.text 1440624 1441016 392 0.0
light-app default (read/write) 2389192 2389592 400 0.0
.text 1347456 1347856 400 0.0
lock-app default (read/write) 2352672 2353064 392 0.0
.text 1310936 1311328 392 0.0
qpg lighting-app qpg6105+debug (read only) 594580 594784 204 0.0
.text 589260 589464 204 0.0
lock-app qpg6105+debug (read only) 560324 560512 188 0.0
.text 555004 555192 188 0.0
telink lighting-app tlsr9518adk80d (read/write) 874282 874502 220 0.0
text 614044 614236 192 0.0
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 6a291ca c57fc1b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592342 592546 204 0.0
.app_xip_area 497820 498024 204 0.0
.bss 77220 77220 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550398 550602 204 0.0
.app_xip_area 457444 457648 204 0.0
.bss 75692 75692 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569034 569230 196 0.0
.app_xip_area 466824 467020 196 0.0
.bss 84620 84620 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 908400 908816 416 0.0
(read/write) 127384 127384 0 0.0
.bss 125352 125352 0 0.0
.data 2032 2032 0 0.0
.text 908392 908808 416 0.0
BRD4161A+rpc (read only) 937112 937528 416 0.0
(read/write) 144304 144304 0 0.0
.bss 142128 142128 0 0.0
.data 2172 2172 0 0.0
.text 937104 937520 416 0.0
window-app BRD4161A (read only) 843620 844036 416 0.0
(read/write) 125444 125444 0 0.0
.bss 123544 123544 0 0.0
.data 1900 1900 0 0.0
.text 843612 844028 416 0.0
esp32 all-clusters-app c3devkit (read only) 944546 944736 190 0.0
(read/write) 1398578 1398602 24 0.0
.dram0.bss 66408 66408 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199000 199024 24 0.0
.flash.text 944546 944736 190 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 994467 994663 196 0.0
(read/write) 463856 463888 32 0.0
.dram0.bss 71552 71552 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226112 226144 32 0.0
.flash.text 989083 989279 196 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 682940 683144 204 0.0
.bss 76656 76656 0 0.0
.data 1904 1904 0 0.0
.text 598580 598784 204 0.0
lock k32w061+release (read/write) 688380 688568 188 0.0
.bss 77048 77048 0 0.0
.data 1948 1948 0 0.0
.text 603584 603772 188 0.0
linux all-clusters-app debug (read only) 2355369 2355801 432 0.0
(read/write) 140000 140000 0 0.0
.bss 54528 54528 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205765 205797 32 0.0
.text 1987330 1987730 400 0.0
bridge-app debug+rpc (read only) 1724453 1724901 448 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141644 141676 32 0.0
.text 1466261 1466677 416 0.0
chip-tool debug (read only) 8434093 8441365 7272 0.1
(read/write) 245696 245760 64 0.0
.bss 32200 32200 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206280 206328 48 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 459573 459861 288 0.1
.text 7459125 7465989 6864 0.1
chip-tool-ipv6only arm64 (read only) 8237764 8244148 6384 0.1
(read/write) 353233 353345 112 0.0
.bss 50497 50497 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 248720 248776 56 0.0
.dynamic 560 560 0 0.0
.got 49008 49064 56 0.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 435740 435980 240 0.1
.text 7041124 7046980 5856 0.1
door-lock-app debug (read only) 1929609 1930057 448 0.0
(read/write) 110488 110488 0 0.0
.bss 42000 42000 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62064 62064 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173042 173074 32 0.0
.text 1608050 1608466 416 0.0
lighting-app debug+rpc (read only) 2053257 2053705 448 0.0
(read/write) 115736 115736 0 0.0
.bss 43008 43008 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65816 65816 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165361 165393 32 0.0
.text 1733154 1733570 416 0.0
ota-provider-app debug (read only) 1863097 1863529 432 0.0
(read/write) 106200 106200 0 0.0
.bss 41856 41856 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157451 157483 32 0.0
.text 1555058 1555458 400 0.0
ota-requestor-app debug (read only) 1858585 1859017 432 0.0
(read/write) 107256 107256 0 0.0
.bss 42144 42144 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58520 58520 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151164 151196 32 0.0
.text 1558578 1558978 400 0.0
shell debug (read only) 2339729 2340161 432 0.0
(read/write) 141488 141488 0 0.0
.bss 61792 61792 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73184 73184 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206642 206674 32 0.0
.text 1976306 1976706 400 0.0
thermostat-no-ble arm64 (read only) 2149292 2149708 416 0.0
(read/write) 140657 140657 0 0.0
.bss 57521 57521 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75000 75000 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132892 132908 16 0.0
.text 1798208 1798608 400 0.0
tv-app debug (read only) 2527361 2527793 432 0.0
(read/write) 139424 139424 0 0.0
.bss 57184 57184 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197669 197701 32 0.0
.text 2156722 2157122 400 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2397696 2397912 216 0.0
.bss 188476 188476 0 0.0
.data 5320 5320 0 0.0
.text 1360296 1360512 216 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2359984 2360144 160 0.0
.bss 181088 181088 0 0.0
.data 5624 5624 0 0.0
.text 1322584 1322744 160 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323520 2323736 216 0.0
.bss 180976 180976 0 0.0
.data 5600 5600 0 0.0
.text 1286120 1286336 216 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308668 2308828 160 0.0
.bss 178228 178228 0 0.0
.data 5424 5424 0 0.0
.text 1271240 1271400 160 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1015291 1015495 204 0.0
bss 121412 121412 0 0.0
rodata 120056 120084 28 0.0
text 694872 695044 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 984567 984771 204 0.0
bss 118600 118600 0 0.0
rodata 111580 111608 28 0.0
text 674760 674936 176 0.0
nrf52840dongle_nrf52840 (read/write) 1031183 1031371 188 0.0
bss 122800 122800 0 0.0
rodata 118936 118964 28 0.0
text 699508 699680 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 921950 922154 204 0.0
bss 117976 117976 0 0.0
rodata 113296 113324 28 0.0
text 609896 610068 172 0.0
lock-app nrf52840dk_nrf52840 (read/write) 945051 945255 204 0.0
bss 119784 119784 0 0.0
rodata 108816 108844 28 0.0
text 637920 638096 176 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852578 852782 204 0.0
bss 116376 116376 0 0.0
rodata 101988 102016 28 0.0
text 553720 553892 172 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 943855 944059 204 0.0
bss 119504 119504 0 0.0
rodata 107772 107800 28 0.0
text 637976 638152 176 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 939815 940019 204 0.0
bss 119508 119508 0 0.0
rodata 107468 107496 28 0.0
text 634216 634392 176 0.0
shell nrf52840dk_nrf52840 (read/write) 806767 806767 0 0.0
bss 111216 111216 0 0.0
rodata 79092 79092 0 0.0
text 538872 538872 0 0.0
p6 all-clusters-app default (read/write) 2482360 2482752 392 0.0
.bss 117744 117744 0 0.0
.data 2672 2672 0 0.0
.text 1440624 1441016 392 0.0
light-app default (read/write) 2389192 2389592 400 0.0
.bss 107392 107392 0 0.0
.data 2520 2520 0 0.0
.text 1347456 1347856 400 0.0
lock-app default (read/write) 2352672 2353064 392 0.0
.bss 107112 107112 0 0.0
.data 2480 2480 0 0.0
.text 1310936 1311328 392 0.0
qpg lighting-app qpg6105+debug (read only) 594580 594784 204 0.0
(read/write) 146936 146936 0 0.0
.bss 88936 88936 0 0.0
.data 1108 1108 0 0.0
.text 589260 589464 204 0.0
lock-app qpg6105+debug (read only) 560324 560512 188 0.0
(read/write) 146936 146936 0 0.0
.bss 88920 88920 0 0.0
.data 1060 1060 0 0.0
.text 555004 555192 188 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 874282 874502 220 0.0
bss 88736 88736 0 0.0
noinit 37160 37160 0 0.0
text 614044 614236 192 0.0

1. Send a NOCResponse instead of a status response, like the spec says.
2. Implement the "check for fabric label collision" bit from the spec.
3. Update the name of the "Fabrics" attribute to match the spec.
4. Add a test for UpdateFabricLabel and reading the Fabrics attribute both
   before and after updating the label.

Fixes project-chip#15114
It looks like #each breaks the .parent chain that chip_tests_variables_has relies on.  Just
manually hook that up.
@github-actions
Copy link

github-actions bot commented Feb 12, 2022

PR #15122: Size comparison from 2e7d65b to bd92548

Increases (30 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 2e7d65b bd92548 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592390 592586 196 0.0
.app_xip_area 497868 498064 196 0.0
lock cyw930739m2evb_01 (read/write) 550446 550642 196 0.0
.app_xip_area 457492 457688 196 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569074 569278 204 0.0
.app_xip_area 466864 467068 204 0.0
efr32 lighting-app BRD4161A (read only) 908448 908864 416 0.0
.text 908440 908856 416 0.0
BRD4161A+rpc (read only) 937160 937576 416 0.0
.text 937152 937568 416 0.0
window-app BRD4161A (read only) 843668 844084 416 0.0
.text 843660 844076 416 0.0
esp32 all-clusters-app c3devkit (read only) 944592 944782 190 0.0
(read/write) 1398578 1398602 24 0.0
.flash.rodata 199000 199024 24 0.0
.flash.text 944592 944782 190 0.0
m5stack (read only) 994535 994739 204 0.0
(read/write) 463856 463888 32 0.0
.flash.rodata 226112 226144 32 0.0
.flash.text 989151 989355 204 0.0
k32w light k32w061+release (read/write) 682988 683176 188 0.0
.text 598628 598816 188 0.0
lock k32w061+release (read/write) 688412 688616 204 0.0
.text 603616 603820 204 0.0
linux chip-tool-ipv6only arm64 (read only) 8237764 8244148 6384 0.1
(read/write) 353233 353345 112 0.0
.data.rel.ro 248720 248776 56 0.0
.got 49008 49064 56 0.1
.rodata 435740 435980 240 0.1
.text 7041124 7046980 5856 0.1
thermostat-no-ble arm64 (read only) 2149468 2149884 416 0.0
.rodata 132892 132908 16 0.0
.text 1798384 1798784 400 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2397760 2397976 216 0.0
.text 1360360 1360576 216 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2359984 2360208 224 0.0
.text 1322584 1322808 224 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2323520 2323736 216 0.0
.text 1286120 1286336 216 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2308668 2308892 224 0.0
.text 1271240 1271464 224 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1015339 1015543 204 0.0
rodata 120056 120084 28 0.0
text 694920 695092 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 984615 984819 204 0.0
rodata 111580 111608 28 0.0
text 674808 674984 176 0.0
nrf52840dongle_nrf52840 (read/write) 1031231 1031419 188 0.0
rodata 118936 118964 28 0.0
text 699556 699728 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 921998 922202 204 0.0
rodata 113296 113324 28 0.0
text 609944 610116 172 0.0
lock-app nrf52840dk_nrf52840 (read/write) 945099 945303 204 0.0
rodata 108816 108844 28 0.0
text 637968 638144 176 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852626 852830 204 0.0
rodata 101988 102016 28 0.0
text 553768 553940 172 0.0
pump-app nrf52840dk_nrf52840 (read/write) 943903 944107 204 0.0
rodata 107772 107800 28 0.0
text 638024 638200 176 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 939863 940067 204 0.0
rodata 107468 107496 28 0.0
text 634264 634440 176 0.0
p6 all-clusters-app default (read/write) 2482408 2482800 392 0.0
.text 1440672 1441064 392 0.0
light-app default (read/write) 2389240 2389640 400 0.0
.text 1347504 1347904 400 0.0
lock-app default (read/write) 2352720 2353112 392 0.0
.text 1310984 1311376 392 0.0
qpg lighting-app qpg6105+debug (read only) 594628 594816 188 0.0
.text 589308 589496 188 0.0
lock-app qpg6105+debug (read only) 560356 560560 204 0.0
.text 555036 555240 204 0.0
telink lighting-app tlsr9518adk80d (read/write) 874330 874550 220 0.0
text 614094 614286 192 0.0
Full report (34 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 2e7d65b bd92548 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592390 592586 196 0.0
.app_xip_area 497868 498064 196 0.0
.bss 77220 77220 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550446 550642 196 0.0
.app_xip_area 457492 457688 196 0.0
.bss 75692 75692 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569074 569278 204 0.0
.app_xip_area 466864 467068 204 0.0
.bss 84620 84620 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 908448 908864 416 0.0
(read/write) 127384 127384 0 0.0
.bss 125352 125352 0 0.0
.data 2032 2032 0 0.0
.text 908440 908856 416 0.0
BRD4161A+rpc (read only) 937160 937576 416 0.0
(read/write) 144304 144304 0 0.0
.bss 142128 142128 0 0.0
.data 2172 2172 0 0.0
.text 937152 937568 416 0.0
window-app BRD4161A (read only) 843668 844084 416 0.0
(read/write) 125444 125444 0 0.0
.bss 123544 123544 0 0.0
.data 1900 1900 0 0.0
.text 843660 844076 416 0.0
esp32 all-clusters-app c3devkit (read only) 944592 944782 190 0.0
(read/write) 1398578 1398602 24 0.0
.dram0.bss 66408 66408 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199000 199024 24 0.0
.flash.text 944592 944782 190 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 994535 994739 204 0.0
(read/write) 463856 463888 32 0.0
.dram0.bss 71552 71552 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226112 226144 32 0.0
.flash.text 989151 989355 204 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 682988 683176 188 0.0
.bss 76656 76656 0 0.0
.data 1904 1904 0 0.0
.text 598628 598816 188 0.0
lock k32w061+release (read/write) 688412 688616 204 0.0
.bss 77048 77048 0 0.0
.data 1948 1948 0 0.0
.text 603616 603820 204 0.0
linux chip-tool-ipv6only arm64 (read only) 8237764 8244148 6384 0.1
(read/write) 353233 353345 112 0.0
.bss 50497 50497 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 248720 248776 56 0.0
.dynamic 560 560 0 0.0
.got 49008 49064 56 0.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 435740 435980 240 0.1
.text 7041124 7046980 5856 0.1
thermostat-no-ble arm64 (read only) 2149468 2149884 416 0.0
(read/write) 140657 140657 0 0.0
.bss 57521 57521 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75000 75000 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132892 132908 16 0.0
.text 1798384 1798784 400 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2397760 2397976 216 0.0
.bss 188476 188476 0 0.0
.data 5320 5320 0 0.0
.text 1360360 1360576 216 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2359984 2360208 224 0.0
.bss 181088 181088 0 0.0
.data 5624 5624 0 0.0
.text 1322584 1322808 224 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323520 2323736 216 0.0
.bss 180976 180976 0 0.0
.data 5600 5600 0 0.0
.text 1286120 1286336 216 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308668 2308892 224 0.0
.bss 178228 178228 0 0.0
.data 5424 5424 0 0.0
.text 1271240 1271464 224 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1015339 1015543 204 0.0
bss 121412 121412 0 0.0
rodata 120056 120084 28 0.0
text 694920 695092 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 984615 984819 204 0.0
bss 118600 118600 0 0.0
rodata 111580 111608 28 0.0
text 674808 674984 176 0.0
nrf52840dongle_nrf52840 (read/write) 1031231 1031419 188 0.0
bss 122800 122800 0 0.0
rodata 118936 118964 28 0.0
text 699556 699728 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 921998 922202 204 0.0
bss 117976 117976 0 0.0
rodata 113296 113324 28 0.0
text 609944 610116 172 0.0
lock-app nrf52840dk_nrf52840 (read/write) 945099 945303 204 0.0
bss 119784 119784 0 0.0
rodata 108816 108844 28 0.0
text 637968 638144 176 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852626 852830 204 0.0
bss 116376 116376 0 0.0
rodata 101988 102016 28 0.0
text 553768 553940 172 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 943903 944107 204 0.0
bss 119504 119504 0 0.0
rodata 107772 107800 28 0.0
text 638024 638200 176 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 939863 940067 204 0.0
bss 119508 119508 0 0.0
rodata 107468 107496 28 0.0
text 634264 634440 176 0.0
shell nrf52840dk_nrf52840 (read/write) 806767 806767 0 0.0
bss 111216 111216 0 0.0
rodata 79092 79092 0 0.0
text 538872 538872 0 0.0
p6 all-clusters-app default (read/write) 2482408 2482800 392 0.0
.bss 117744 117744 0 0.0
.data 2672 2672 0 0.0
.text 1440672 1441064 392 0.0
light-app default (read/write) 2389240 2389640 400 0.0
.bss 107392 107392 0 0.0
.data 2520 2520 0 0.0
.text 1347504 1347904 400 0.0
lock-app default (read/write) 2352720 2353112 392 0.0
.bss 107112 107112 0 0.0
.data 2480 2480 0 0.0
.text 1310984 1311376 392 0.0
qpg lighting-app qpg6105+debug (read only) 594628 594816 188 0.0
(read/write) 146936 146936 0 0.0
.bss 88936 88936 0 0.0
.data 1108 1108 0 0.0
.text 589308 589496 188 0.0
lock-app qpg6105+debug (read only) 560356 560560 204 0.0
(read/write) 146936 146936 0 0.0
.bss 88920 88920 0 0.0
.data 1060 1060 0 0.0
.text 555036 555240 204 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 874330 874550 220 0.0
bss 88736 88736 0 0.0
noinit 37160 37160 0 0.0
text 614094 614286 192 0.0

@vivien-apple vivien-apple merged commit 098e455 into project-chip:master Feb 12, 2022
@bzbarsky-apple bzbarsky-apple deleted the fix-fabric-label branch February 12, 2022 21:35
jamesluo11 pushed a commit to jamesluo11/connectedhomeip that referenced this pull request Apr 26, 2022
…15122)

* Fix responses for UpdateFabricLabel to match the spec.

1. Send a NOCResponse instead of a status response, like the spec says.
2. Implement the "check for fabric label collision" bit from the spec.
3. Update the name of the "Fabrics" attribute to match the spec.
4. Add a test for UpdateFabricLabel and reading the Fabrics attribute both
   before and after updating the label.

Fixes project-chip#15114

* Fix handling of chip_tests_variables_has inside #each.

It looks like #each breaks the .parent chain that chip_tests_variables_has relies on.  Just
manually hook that up.
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.

Updating the Fabric Label from iOS CHIPTool results in an error but updates the label correctly
3 participants