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 door lock endpoint initialization. #34270

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

A few issues here:

  • DoorLockServer::InitServer was resetting endpoint state for all endpoints when initializing any endpoint.
  • We had two separate arrays of per-endpoint data, one for the endpoint context, one for the delegate.

The fix is to not touch the state of other endpoints when initializing an endpoint and to put all the per-endpoint state in one place.

A few issues here:

* DoorLockServer::InitServer was resetting endpoint state for all endpoints when
  initializing any endpoint.
* We had two separate arrays of per-endpoint data, one for the endpoint context,
  one for the delegate.

The fix is to not touch the state of other endpoints when initializing an
endpoint and to put all the per-endpoint state in one place.
Copy link

github-actions bot commented Jul 10, 2024

PR #34270: Size comparison from 8ebe19d to db06bd2

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 8ebe19d db06bd2 change % change
bl602 lighting-app bl602 FLASH 1271340 1271340 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285598 1285598 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310300 1310300 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092178 1092178 0 0.0
RAM 15265 15265 0 0.0
bl702+mfd FLASH 1102872 1102872 0 0.0
RAM 15417 15417 0 0.0
bl702+rpc FLASH 1181988 1181988 0 0.0
RAM 24285 24285 0 0.0
bl706-eth FLASH 875510 875510 0 0.0
RAM 27376 27376 0 0.0
bl706-wifi FLASH 1127608 1127608 0 0.0
RAM 14709 14709 0 0.0
bl702l lighting-app bl702l FLASH 1079060 1079060 0 0.0
RAM 21836 21836 0 0.0
bl702l+mfd FLASH 1090322 1090322 0 0.0
RAM 21996 21996 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798348 798348 0 0.0
RAM 109180 109180 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816320 816304 -16 -0.0
RAM 116956 116956 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807820 807820 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760692 760692 0 0.0
RAM 105336 105336 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746412 746412 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606074 606074 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651118 651134 16 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 667497 667497 0 0.0
RAM 77644 77644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687341 687341 0 0.0
RAM 80276 80276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687341 687341 0 0.0
RAM 80276 80276 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644277 644277 0 0.0
RAM 72712 72712 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609129 609129 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628765 628765 0 0.0
RAM 73348 73348 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628765 628765 0 0.0
RAM 73348 73348 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624633 624625 -8 -0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644349 644341 -8 -0.0
RAM 76364 76364 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644349 644341 -8 -0.0
RAM 76364 76364 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593221 593221 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613073 613073 0 0.0
RAM 70428 70428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613073 613073 0 0.0
RAM 70428 70428 0 0.0
efr32 lighting-app BRD4187C FLASH 924456 924456 0 0.0
RAM 137516 137516 0 0.0
lock-app BRD4338a FLASH 733228 733252 24 0.0
RAM 207900 207896 -4 -0.0
window-app BRD4187C FLASH 1012300 1012300 0 0.0
RAM 129620 129620 0 0.0
esp32 all-clusters-app c3devkit DRAM 90860 90860 0 0.0
FLASH 1469090 1469090 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117412 117412 0 0.0
FLASH 1538087 1538087 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529936 2529936 0 0.0
RAM 125072 125072 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5590606 5590606 0 0.0
RAM 492176 492176 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5061520 5062224 704 0.0
RAM 235488 235456 -32 -0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478256 4478256 0 0.0
RAM 212744 212744 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11769703 11769703 0 0.0
RAM 545946 545946 0 0.0
chip-tool-ipv6only arm64 unknown 20064 20064 0 0.0
FLASH 10882348 10882348 0 0.0
RAM 594728 594728 0 0.0
fabric-admin debug unknown 5616 5616 0 0.0
FLASH 10850375 10850375 0 0.0
RAM 542754 542754 0 0.0
fabric-bridge-app debug unknown 4528 4528 0 0.0
FLASH 4243776 4243776 0 0.0
RAM 198808 198808 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5382594 5382594 0 0.0
RAM 224096 224096 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541600 4542304 704 0.0
RAM 200240 200208 -32 -0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197648 4197648 0 0.0
RAM 194520 194520 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323200 4323200 0 0.0
RAM 199176 199176 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2804925 2804925 0 0.0
RAM 153000 153000 0 0.0
thermostat-no-ble arm64 unknown 9144 9144 0 0.0
FLASH 4167996 4167996 0 0.0
RAM 235640 235640 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605920 5605920 0 0.0
RAM 341760 341760 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9939582 9939582 0 0.0
RAM 402128 402128 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502500 1502500 0 0.0
RAM 226640 226632 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 882448 882448 0 0.0
RAM 142109 142109 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 952948 952948 0 0.0
RAM 140537 140537 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 827984 827972 -12 -0.0
RAM 141023 141019 -4 -0.0
nxp contact k32w0+release FLASH 576028 576028 0 0.0
RAM 70004 70004 0 0.0
k32w1+release FLASH 591368 591368 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610224 610224 0 0.0
RAM 69480 69480 0 0.0
k32w1+release FLASH 674968 674968 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1615252 1615252 0 0.0
RAM 209692 209692 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1536092 1536108 16 0.0
RAM 206580 206572 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1462724 1462724 0 0.0
RAM 199852 199852 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463236 1463252 16 0.0
RAM 224380 224380 0 0.0
qpg lighting-app qpg6105+debug FLASH 651244 651244 0 0.0
RAM 104560 104560 0 0.0
lock-app qpg6105+debug FLASH 611368 611552 184 0.0
RAM 99228 99228 0 0.0
stm32 light STM32WB5MM-DK FLASH 473576 473576 0 0.0
RAM 144204 144204 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632734 632734 0 0.0
RAM 50424 50424 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658574 658574 0 0.0
RAM 148296 148296 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 778900 778888 -12 -0.0
RAM 113116 113108 -8 -0.0
bridge-app tlsr9258a FLASH 675720 675720 0 0.0
RAM 95200 95200 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634318 634318 0 0.0
RAM 50468 50468 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720192 720192 0 0.0
RAM 77044 77044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613722 613722 0 0.0
RAM 144532 144532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801474 801474 0 0.0
RAM 102936 102936 0 0.0
lock-app-dfu tlsr9528a FLASH 665886 665874 -12 -0.0
RAM 69756 69748 -8 -0.0
ota-requestor-app tlsr9258a FLASH 695050 695050 0 0.0
RAM 94924 94924 0 0.0
pump-app tlsr9518adk80d FLASH 616582 616582 0 0.0
RAM 56848 56848 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606966 606966 0 0.0
RAM 56648 56648 0 0.0
shell tlsr9518adk80d FLASH 466316 466316 0 0.0
RAM 72460 72460 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640936 640936 0 0.0
RAM 52096 52096 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650792 650792 0 0.0
RAM 60284 60284 0 0.0
thermostat tlsr9518adk80d FLASH 625856 625856 0 0.0
RAM 56980 56980 0 0.0
window-covering tlsr9118bdk40d FLASH 519116 519116 0 0.0
RAM 97696 97696 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1638592 1638592 0 0.0
RAM 48540 48540 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16235438 16235438 0 0.0
RAM 7138096 7138096 0 0.0

Copy link

github-actions bot commented Jul 11, 2024

PR #34270: Size comparison from 8ebe19d to 837685a

Increases above 0.2%:

platform target config section 8ebe19d 837685a change % change
linux all-clusters-app debug RAM 492176 493240 1064 0.2
chip-tool debug FLASH 11769703 11798103 28400 0.2
RAM 545946 547618 1672 0.3
chip-tool-ipv6only arm64 unknown 20064 20128 64 0.3
RAM 594728 596616 1888 0.3
fabric-admin debug FLASH 10850375 10876999 26624 0.2
RAM 542754 544490 1736 0.3
thermostat-no-ble arm64 unknown 9144 9184 40 0.4
tv-casting-app debug FLASH 9939582 9968094 28512 0.3
RAM 402128 402936 808 0.2
telink air-quality-sensor-app tlsr9528a_retention RAM 50424 50528 104 0.2
contact-sensor-app tlsr9528a_retention RAM 50468 50572 104 0.2
tizen chip-tool-ubsan arm FLASH 16235438 16293430 57992 0.4
RAM 7138096 7156248 18152 0.3
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 8ebe19d 837685a change % change
bl602 lighting-app bl602 FLASH 1271340 1271402 62 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285598 1285916 318 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310300 1310618 318 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092178 1092492 314 0.0
RAM 15265 15161 -104 -0.7
bl702+mfd FLASH 1102872 1103186 314 0.0
RAM 15417 15313 -104 -0.7
bl702+rpc FLASH 1181988 1182302 314 0.0
RAM 24285 24181 -104 -0.4
bl706-eth FLASH 875510 875642 132 0.0
RAM 27376 27272 -104 -0.4
bl706-wifi FLASH 1127608 1128062 454 0.0
RAM 14709 14605 -104 -0.7
bl702l lighting-app bl702l FLASH 1079060 1079378 318 0.0
RAM 21836 21732 -104 -0.5
bl702l+mfd FLASH 1090322 1090640 318 0.0
RAM 21996 21892 -104 -0.5
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798348 798480 132 0.0
RAM 109180 109180 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816320 816420 100 0.0
RAM 116956 116948 -8 -0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807820 807944 124 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760692 760816 124 0.0
RAM 105336 105328 -8 -0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746412 746528 116 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606074 606406 332 0.1
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651118 651466 348 0.1
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 667497 667617 120 0.0
RAM 77644 77644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687341 687461 120 0.0
RAM 80276 80276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687341 687461 120 0.0
RAM 80276 80276 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644277 644397 120 0.0
RAM 72712 72712 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609129 609257 128 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628765 628893 128 0.0
RAM 73348 73356 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628765 628893 128 0.0
RAM 73348 73356 8 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624633 624753 120 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644349 644469 120 0.0
RAM 76364 76372 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644349 644469 120 0.0
RAM 76364 76372 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593221 593341 120 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613073 613201 128 0.0
RAM 70428 70420 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613073 613201 128 0.0
RAM 70428 70420 -8 -0.0
efr32 lighting-app BRD4187C FLASH 924456 924548 92 0.0
RAM 137516 137528 12 0.0
lock-app BRD4338a FLASH 733228 733572 344 0.0
RAM 207900 207892 -8 -0.0
window-app BRD4187C FLASH 1012300 1012620 320 0.0
RAM 129620 129632 12 0.0
esp32 all-clusters-app c3devkit DRAM 90860 90924 64 0.1
FLASH 1469090 1469428 338 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117412 117412 0 0.0
FLASH 1538087 1538395 308 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529936 2530624 688 0.0
RAM 125072 125112 40 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5590606 5591774 1168 0.0
RAM 492176 493240 1064 0.2
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5061520 5062864 1344 0.0
RAM 235488 235464 -24 -0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478256 4478992 736 0.0
RAM 212744 212832 88 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11769703 11798103 28400 0.2
RAM 545946 547618 1672 0.3
chip-tool-ipv6only arm64 unknown 20064 20128 64 0.3
FLASH 10882348 10907452 25104 0.2
RAM 594728 596616 1888 0.3
fabric-admin debug unknown 5616 5616 0 0.0
FLASH 10850375 10876999 26624 0.2
RAM 542754 544490 1736 0.3
fabric-bridge-app debug unknown 4528 4528 0 0.0
FLASH 4243776 4244512 736 0.0
RAM 198808 198832 24 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5382594 5383346 752 0.0
RAM 224096 224136 40 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541600 4543040 1440 0.0
RAM 200240 200216 -24 -0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197648 4198400 752 0.0
RAM 194520 194544 24 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323200 4323760 560 0.0
RAM 199176 199168 -8 -0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2804925 2805421 496 0.0
RAM 153000 153008 8 0.0
thermostat-no-ble arm64 unknown 9144 9184 40 0.4
FLASH 4167996 4168828 832 0.0
RAM 235640 235840 200 0.1
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605920 5606416 496 0.0
RAM 341760 341800 40 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9939582 9968094 28512 0.3
RAM 402128 402936 808 0.2
mbed lock-app-release cy8cproto_062_4343w FLASH 1502500 1502644 144 0.0
RAM 226640 226648 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 882448 882560 112 0.0
RAM 142109 142229 120 0.1
nrf7002dk_nrf5340_cpuapp FLASH 952948 953060 112 0.0
RAM 140537 140657 120 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 827984 828076 92 0.0
RAM 141023 141123 100 0.1
nxp contact k32w0+release FLASH 576028 576116 88 0.0
RAM 70004 70024 20 0.0
k32w1+release FLASH 591368 591472 104 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610224 610344 120 0.0
RAM 69480 69500 20 0.0
k32w1+release FLASH 674968 675080 112 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1615252 1615580 328 0.0
RAM 209692 209692 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1536092 1536436 344 0.0
RAM 206580 206588 8 0.0
light cy8ckit_062s2_43012 FLASH 1462724 1463028 304 0.0
RAM 199852 199876 24 0.0
lock cy8ckit_062s2_43012 FLASH 1463236 1463564 328 0.0
RAM 224380 224388 8 0.0
qpg lighting-app qpg6105+debug FLASH 651244 651348 104 0.0
RAM 104560 104564 4 0.0
lock-app qpg6105+debug FLASH 611368 611664 296 0.0
RAM 99228 99240 12 0.0
stm32 light STM32WB5MM-DK FLASH 473576 473688 112 0.0
RAM 144204 144196 -8 -0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632734 632886 152 0.0
RAM 50424 50528 104 0.2
all-clusters-app tlsr9118bdk40d FLASH 658574 658748 174 0.0
RAM 148296 148408 112 0.1
all-clusters-minimal-app tlsr9528a FLASH 778900 779050 150 0.0
RAM 113116 113212 96 0.1
bridge-app tlsr9258a FLASH 675720 675882 162 0.0
RAM 95200 95304 104 0.1
contact-sensor-app tlsr9528a_retention FLASH 634318 634470 152 0.0
RAM 50468 50572 104 0.2
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720192 720354 162 0.0
RAM 77044 77148 104 0.1
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613722 613884 162 0.0
RAM 144532 144636 104 0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801474 801636 162 0.0
RAM 102936 103040 104 0.1
lock-app-dfu tlsr9528a FLASH 665886 666036 150 0.0
RAM 69756 69852 96 0.1
ota-requestor-app tlsr9258a FLASH 695050 695212 162 0.0
RAM 94924 95028 104 0.1
pump-app tlsr9518adk80d FLASH 616582 616744 162 0.0
RAM 56848 56952 104 0.2
pump-controller-app tlsr9518adk80d FLASH 606966 607128 162 0.0
RAM 56648 56752 104 0.2
shell tlsr9518adk80d FLASH 466316 466380 64 0.0
RAM 72460 72484 24 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640936 641088 152 0.0
RAM 52096 52200 104 0.2
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650792 650954 162 0.0
RAM 60284 60388 104 0.2
thermostat tlsr9518adk80d FLASH 625856 626018 162 0.0
RAM 56980 57084 104 0.2
window-covering tlsr9118bdk40d FLASH 519116 519278 162 0.0
RAM 97696 97800 104 0.1
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1638592 1639156 564 0.0
RAM 48540 48548 8 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16235438 16293430 57992 0.4
RAM 7138096 7156248 18152 0.3

@mergify mergify bot merged commit 3df8a1e into project-chip:master Jul 11, 2024
68 checks passed
@bzbarsky-apple bzbarsky-apple deleted the lock-endpoint-initialization branch July 11, 2024 03:26
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 18, 2024
* Fix door lock endpoint initialization.

A few issues here:

* DoorLockServer::InitServer was resetting endpoint state for all endpoints when
  initializing any endpoint.
* We had two separate arrays of per-endpoint data, one for the endpoint context,
  one for the delegate.

The fix is to not touch the state of other endpoints when initializing an
endpoint and to put all the per-endpoint state in one place.

* Apply suggestions from code review

Co-authored-by: Nivi Sarkar <[email protected]>

---------

Co-authored-by: Nivi Sarkar <[email protected]>
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