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

Update ACL after content app is installed #34229

Merged
merged 18 commits into from
Jul 11, 2024

Conversation

lazarkov
Copy link
Contributor

@lazarkov lazarkov commented Jul 8, 2024

This PR is related to the PR #34141
It also covers certain part of the issue #34203

Problem

After app is installed the ACL is obsolete and sending commands to the app will fail

Change overview

  • Added methods to the ContentAppPlatform: GetNodeIdsForContentApp and StoreNodeIdForContentApp
    -- New methods are able to store node id for after each commissioning
  • Updated AddContentApp method to refresh ACL on each AddContentApp call

Tests - TV Android App - App Install and send Media Playback Command

  1. Build the Android TV app using command:
    scripts/examples/gn_build_example.sh examples/tv-app/linux out/debug/

  2. Build the TV casting app using command:
    scripts/examples/gn_build_example.sh examples/tv-casting-app/linux out/debug/

  3. Start TV Android App

  4. Start TV Casting App
    out/debug/chip-tv-casting-app

  5. Send Media Playback command
    cast cluster mediaplayback play 0 5

    You should get an error

  6. Install content app using adb install -r -t content-app-debug.apk

  7. Send Media Playback command again
    cast cluster mediaplayback play 0 5

    You should receive pending state:
    { status: 0, data: custom response from content app for media playback }

Tests - TV Linux App - App Install and send Media Playback Command

  1. Build the TV app using command:
    scripts/examples/gn_build_example.sh examples/tv-app/linux out/debug/

  2. Build the TV casting app using command:
    scripts/examples/gn_build_example.sh examples/tv-casting-app/linux out/debug/

  3. Start TV App
    out/debug/chip-tv-app

  4. Start TV Casting App
    out/debug/chip-tv-casting-app

  5. On TV App: Uninstall the app
    app uninstall 65521 32769

  6. On TV Casting App: Send casting request to the tv-app using
    cast request 0

  7. On TV App: Accepted the Cast request from the tv-casting app
    controller ux ok

  8. On TV App: Enter the PIN code (passcode)
    controller ux ok 20202021

  9. On TV Casting App: Send Media Playback command to the tv-app using
    cast cluster mediaplayback play 0 8
    It should fail

  10. On TV App: Install the app
    app install 65521 32769

  11. On TV Casting App: Send Media Playback command to the tv-app using
    cast cluster mediaplayback play 0 8

[1720459852.525] [53377:8513024] [TOO]   PlaybackResponse: {
[1720459852.525] [53377:8513024] [TOO]     status: 0
[1720459852.525] [53377:8513024] [TOO]     data: data response
[1720459852.525] [53377:8513024] [TOO]    }

@lazarkov lazarkov force-pushed the feature/refresh-content-app-acl branch from 0ae9d3c to 55f4288 Compare July 10, 2024 22:04
@lazarkov lazarkov closed this Jul 10, 2024
@lazarkov lazarkov deleted the feature/refresh-content-app-acl branch July 10, 2024 22:08
@lazarkov lazarkov restored the feature/refresh-content-app-acl branch July 10, 2024 22:08
@lazarkov lazarkov reopened this Jul 10, 2024
Copy link

github-actions bot commented Jul 10, 2024

PR #34229: Size comparison from f83d67b to 55f4288

Increases above 0.2%:

platform target config section f83d67b 55f4288 change % change
linux tv-app debug FLASH 5606416 5626928 20512 0.4
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 f83d67b 55f4288 change % change
bl602 lighting-app bl602 FLASH 1271402 1271402 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285916 1285916 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310618 1310618 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092492 1092492 0 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1103186 1103186 0 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1182302 1182302 0 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875642 875642 0 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1128062 1128062 0 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1079378 1079378 0 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090640 1090640 0 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798480 798480 0 0.0
RAM 109180 109180 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816436 816436 0 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807944 807944 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760816 760816 0 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746528 746528 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606406 606406 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651450 651450 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 667617 667617 0 0.0
RAM 77644 77644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687461 687461 0 0.0
RAM 80276 80276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687461 687461 0 0.0
RAM 80276 80276 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644397 644397 0 0.0
RAM 72712 72712 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609257 609257 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628893 628893 0 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628893 628893 0 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624761 624761 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644477 644477 0 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644477 644477 0 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593341 593341 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613201 613201 0 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613201 613201 0 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 924556 924548 -8 -0.0
RAM 137528 137528 0 0.0
lock-app BRD4338a FLASH 733564 733556 -8 -0.0
RAM 207896 207896 0 0.0
window-app BRD4187C FLASH 1012628 1012620 -8 -0.0
RAM 129632 129632 0 0.0
esp32 all-clusters-app c3devkit DRAM 90924 90924 0 0.0
FLASH 1469428 1469428 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117412 117412 0 0.0
FLASH 1538395 1538395 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2530624 2530624 0 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5591774 5591774 0 0.0
RAM 493240 493240 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5062160 5062160 0 0.0
RAM 235496 235496 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478992 4478992 0 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11798103 11798103 0 0.0
RAM 547618 547618 0 0.0
chip-tool-ipv6only arm64 unknown 20128 20128 0 0.0
FLASH 10907452 10907452 0 0.0
RAM 596616 596616 0 0.0
fabric-admin debug unknown 5616 5616 0 0.0
FLASH 10876999 10876999 0 0.0
RAM 544490 544490 0 0.0
fabric-bridge-app debug unknown 4528 4528 0 0.0
FLASH 4244512 4244512 0 0.0
RAM 198832 198832 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5383346 5383346 0 0.0
RAM 224136 224136 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4542336 4542336 0 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4198400 4198400 0 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323760 4323760 0 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2805421 2805421 0 0.0
RAM 153008 153008 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4168828 4168828 0 0.0
RAM 235840 235840 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5606416 5626928 20512 0.4
RAM 341800 342120 320 0.1
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9968094 9968094 0 0.0
RAM 402936 402936 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502644 1502644 0 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 882560 882560 0 0.0
RAM 142229 142229 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953060 953060 0 0.0
RAM 140657 140657 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 828088 828088 0 0.0
RAM 141127 141127 0 0.0
nxp contact k32w0+release FLASH 576116 576116 0 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591472 591472 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610344 610344 0 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 675080 675080 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1615580 1615580 0 0.0
RAM 209692 209692 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1536404 1536404 0 0.0
RAM 206596 206596 0 0.0
light cy8ckit_062s2_43012 FLASH 1463028 1463028 0 0.0
RAM 199876 199876 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463532 1463532 0 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651348 651348 0 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611464 611464 0 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 473688 473688 0 0.0
RAM 144196 144196 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632886 632886 0 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658748 658748 0 0.0
RAM 148408 148408 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 779062 779062 0 0.0
RAM 113220 113220 0 0.0
bridge-app tlsr9258a FLASH 675882 675882 0 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634470 634470 0 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720354 720354 0 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613884 613884 0 0.0
RAM 144636 144636 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801636 801636 0 0.0
RAM 103040 103040 0 0.0
lock-app-dfu tlsr9528a FLASH 666048 666048 0 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 695212 695212 0 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616744 616744 0 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607128 607128 0 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466380 466380 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641088 641088 0 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650954 650954 0 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 626018 626018 0 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 519278 519278 0 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1639156 1639156 0 0.0
RAM 48548 48548 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16293430 16293430 0 0.0
RAM 7156248 7156248 0 0.0

Copy link

github-actions bot commented Jul 11, 2024

PR #34229: Size comparison from c70a769 to e188180

Increases above 0.2%:

platform target config section c70a769 e188180 change % change
linux tv-app debug FLASH 5606416 5626928 20512 0.4
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 c70a769 e188180 change % change
bl602 lighting-app bl602 FLASH 1271402 1271402 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285916 1285916 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310618 1310618 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092492 1092492 0 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1103186 1103186 0 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1182302 1182302 0 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875642 875642 0 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1128062 1128062 0 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1079378 1079378 0 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090640 1090640 0 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798480 798480 0 0.0
RAM 109180 109180 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816420 816420 0 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807944 807944 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760816 760816 0 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746528 746528 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606406 606406 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651466 651466 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 667617 667617 0 0.0
RAM 77644 77644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687461 687461 0 0.0
RAM 80276 80276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687461 687461 0 0.0
RAM 80276 80276 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644397 644397 0 0.0
RAM 72712 72712 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609257 609257 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628893 628893 0 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628893 628893 0 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624753 624753 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644469 644469 0 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644469 644469 0 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593341 593341 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613201 613201 0 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613201 613201 0 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 924556 924548 -8 -0.0
RAM 137528 137528 0 0.0
lock-app BRD4338a FLASH 733580 733572 -8 -0.0
RAM 207892 207892 0 0.0
window-app BRD4187C FLASH 1012628 1012620 -8 -0.0
RAM 129632 129632 0 0.0
esp32 all-clusters-app c3devkit DRAM 90924 90924 0 0.0
FLASH 1469428 1469428 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117412 117412 0 0.0
FLASH 1538395 1538395 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2530624 2530624 0 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5591774 5591774 0 0.0
RAM 493240 493240 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5062864 5062864 0 0.0
RAM 235464 235464 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478992 4478992 0 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11798103 11798103 0 0.0
RAM 547618 547618 0 0.0
chip-tool-ipv6only arm64 unknown 20128 20128 0 0.0
FLASH 10907452 10907452 0 0.0
RAM 596616 596616 0 0.0
fabric-admin debug unknown 5616 5616 0 0.0
FLASH 10876999 10876999 0 0.0
RAM 544490 544490 0 0.0
fabric-bridge-app debug unknown 4528 4528 0 0.0
FLASH 4244512 4244512 0 0.0
RAM 198832 198832 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5383346 5383346 0 0.0
RAM 224136 224136 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4543040 4543040 0 0.0
RAM 200216 200216 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4198400 4198400 0 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323760 4323760 0 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2805421 2805421 0 0.0
RAM 153008 153008 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4168828 4168828 0 0.0
RAM 235840 235840 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5606416 5626928 20512 0.4
RAM 341800 342120 320 0.1
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9968094 9968094 0 0.0
RAM 402936 402936 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502644 1502644 0 0.0
RAM 226648 226648 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 882560 882560 0 0.0
RAM 142229 142229 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953060 953060 0 0.0
RAM 140657 140657 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 828076 828076 0 0.0
RAM 141123 141123 0 0.0
nxp contact k32w0+release FLASH 576116 576116 0 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591472 591472 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610344 610344 0 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 675080 675080 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1615580 1615580 0 0.0
RAM 209692 209692 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1536436 1536436 0 0.0
RAM 206588 206588 0 0.0
light cy8ckit_062s2_43012 FLASH 1463028 1463028 0 0.0
RAM 199876 199876 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463564 1463564 0 0.0
RAM 224388 224388 0 0.0
qpg lighting-app qpg6105+debug FLASH 651348 651348 0 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611664 611664 0 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 473688 473688 0 0.0
RAM 144196 144196 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632886 632886 0 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658748 658748 0 0.0
RAM 148408 148408 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 779050 779050 0 0.0
RAM 113212 113212 0 0.0
bridge-app tlsr9258a FLASH 675882 675882 0 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634470 634470 0 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720354 720354 0 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613884 613884 0 0.0
RAM 144636 144636 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801636 801636 0 0.0
RAM 103040 103040 0 0.0
lock-app-dfu tlsr9528a FLASH 666036 666036 0 0.0
RAM 69852 69852 0 0.0
ota-requestor-app tlsr9258a FLASH 695212 695212 0 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616744 616744 0 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607128 607128 0 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466380 466380 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641088 641088 0 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650954 650954 0 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 626018 626018 0 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 519278 519278 0 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1639156 1639156 0 0.0
RAM 48548 48548 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16293430 16293430 0 0.0
RAM 7156248 7156248 0 0.0

@lazarkov lazarkov enabled auto-merge (squash) July 11, 2024 05:34
Copy link

github-actions bot commented Jul 11, 2024

PR #34229: Size comparison from c70a769 to e8a4ada

Increases above 0.2%:

platform target config section c70a769 e8a4ada change % change
linux tv-app debug FLASH 5606416 5626928 20512 0.4
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 c70a769 e8a4ada change % change
bl602 lighting-app bl602 FLASH 1271402 1271402 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285916 1285916 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310618 1310618 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092492 1092492 0 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1103186 1103186 0 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1182302 1182302 0 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875642 875642 0 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1128062 1128062 0 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1079378 1079378 0 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090640 1090640 0 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798480 798480 0 0.0
RAM 109180 109180 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816420 816420 0 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807944 807944 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760816 760816 0 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746528 746528 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606406 606406 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651466 651466 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 667617 667617 0 0.0
RAM 77644 77644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687461 687461 0 0.0
RAM 80276 80276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687461 687461 0 0.0
RAM 80276 80276 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644397 644397 0 0.0
RAM 72712 72712 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609257 609257 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628893 628893 0 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628893 628893 0 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624753 624753 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644469 644469 0 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644469 644469 0 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593341 593341 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613201 613201 0 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613201 613201 0 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 924556 924548 -8 -0.0
RAM 137528 137528 0 0.0
lock-app BRD4338a FLASH 733580 733572 -8 -0.0
RAM 207892 207892 0 0.0
window-app BRD4187C FLASH 1012628 1012620 -8 -0.0
RAM 129632 129632 0 0.0
esp32 all-clusters-app c3devkit DRAM 90924 90924 0 0.0
FLASH 1469428 1469428 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117412 117412 0 0.0
FLASH 1538395 1538395 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2530624 2530624 0 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5591774 5591774 0 0.0
RAM 493240 493240 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5062864 5062864 0 0.0
RAM 235464 235464 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478992 4478992 0 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11798103 11798103 0 0.0
RAM 547618 547618 0 0.0
chip-tool-ipv6only arm64 unknown 20128 20128 0 0.0
FLASH 10907452 10907452 0 0.0
RAM 596616 596616 0 0.0
fabric-admin debug unknown 5616 5616 0 0.0
FLASH 10876999 10876999 0 0.0
RAM 544490 544490 0 0.0
fabric-bridge-app debug unknown 4528 4528 0 0.0
FLASH 4244512 4244512 0 0.0
RAM 198832 198832 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5383346 5383346 0 0.0
RAM 224136 224136 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4543040 4543040 0 0.0
RAM 200216 200216 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4198400 4198400 0 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323760 4323760 0 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2805421 2805421 0 0.0
RAM 153008 153008 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4168828 4168828 0 0.0
RAM 235840 235840 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5606416 5626928 20512 0.4
RAM 341800 342120 320 0.1
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9968094 9968094 0 0.0
RAM 402936 402936 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502644 1502644 0 0.0
RAM 226648 226648 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 882560 882560 0 0.0
RAM 142229 142229 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953060 953060 0 0.0
RAM 140657 140657 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 828076 828076 0 0.0
RAM 141123 141123 0 0.0
nxp contact k32w0+release FLASH 576116 576116 0 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591472 591472 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610344 610344 0 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 675080 675080 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1615580 1615580 0 0.0
RAM 209692 209692 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1536436 1536436 0 0.0
RAM 206588 206588 0 0.0
light cy8ckit_062s2_43012 FLASH 1463028 1463028 0 0.0
RAM 199876 199876 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463564 1463564 0 0.0
RAM 224388 224388 0 0.0
qpg lighting-app qpg6105+debug FLASH 651348 651348 0 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611664 611664 0 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 473688 473688 0 0.0
RAM 144196 144196 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632886 632886 0 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658748 658748 0 0.0
RAM 148408 148408 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 779050 779050 0 0.0
RAM 113212 113212 0 0.0
bridge-app tlsr9258a FLASH 675882 675882 0 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634470 634470 0 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720354 720354 0 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613884 613884 0 0.0
RAM 144636 144636 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801636 801636 0 0.0
RAM 103040 103040 0 0.0
lock-app-dfu tlsr9528a FLASH 666036 666036 0 0.0
RAM 69852 69852 0 0.0
ota-requestor-app tlsr9258a FLASH 695212 695212 0 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616744 616744 0 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607128 607128 0 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466380 466380 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641088 641088 0 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650954 650954 0 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 626018 626018 0 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 519278 519278 0 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1639156 1639156 0 0.0
RAM 48548 48548 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16293430 16293430 0 0.0
RAM 7156248 7156248 0 0.0

@lazarkov lazarkov merged commit e3cab4d into project-chip:master Jul 11, 2024
68 checks passed
@lazarkov lazarkov deleted the feature/refresh-content-app-acl branch July 11, 2024 08:38
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 18, 2024
* Add code to update ACL after app is installed

* Restyled by whitespace

* Restyled by clang-format

* Update code per comments

* Restyled by whitespace

* Restyled by clang-format

* Minor code updates

* Restyled by clang-format

* Update description

* Update logic to support extern DeviceCommissioner & CommissionerDiscoveryController

* Restyled by clang-format

* Test the change to see if it will fix the tests

* Update AppTv.cpp

* Update code as it failed tests

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[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