Skip to content

Conversation

pidarped
Copy link
Contributor

Summary

This is to allow a successful wildcard read of all attributes on the AVSM cluster.

Testing

  • Start chip-camera-app
  • Use chip-tool to issue wildcard read of AVSM cluster
    ./chip-tool any read-by-id 0x551 0xFFFFFFFF 1 1

Readability checklist

The checklist below will help the reviewer finish PR review in time and keep the
code readable:

  • PR title is
    descriptive
  • Apply the
    “When in Rome…”
    rule (coding style)
  • PR size is short
  • Try to avoid "squashing" and "force-update" in commit history
  • CI time didn't increase

See: Pull Request Guidelines

@Copilot Copilot AI review requested due to automatic review settings August 14, 2025 19:25
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enables the hard privacy switch feature, which in turn enables the HardPrivacyModeOn optional attribute. The change is straightforward and correct. I've just pointed out a stale comment that should be updated to reflect the new behavior.

…ute HardPrivacyModeOn.

This is to allow a successful wildcard read of all attributes on the AVSM cluster.
@pidarped pidarped force-pushed the enableHardPrivacyMode branch from dcf3d7a to 4754b9d Compare August 14, 2025 19:29
Copy link

github-actions bot commented Aug 14, 2025

PR #40598: Size comparison from 3b50b2e to 4754b9d

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 3b50b2e 4754b9d change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106520 1106520 0 0.0
RAM 178986 178986 0 0.0
bl702 lighting-app bl702+eth FLASH 659154 659154 0 0.0
RAM 134897 134897 0 0.0
bl702+wifi FLASH 837248 837248 0 0.0
RAM 124485 124485 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068792 1068792 0 0.0
RAM 117325 117325 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898230 898230 0 0.0
RAM 105628 105628 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981944 981944 0 0.0
RAM 109820 109820 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768500 768500 0 0.0
RAM 103352 103352 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780096 780096 0 0.0
RAM 108520 108520 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725620 725620 0 0.0
RAM 96916 96916 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709984 709984 0 0.0
RAM 97132 97132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552454 552454 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 584890 584890 0 0.0
RAM 205320 205320 0 0.0
efr32 lock-app BRD4187C FLASH 959872 959872 0 0.0
RAM 122644 122644 0 0.0
BRD4338a FLASH 755184 755176 -8 -0.0
RAM 251892 251892 0 0.0
window-app BRD4187C FLASH 1053060 1053060 0 0.0
RAM 118840 118840 0 0.0
esp32 all-clusters-app c3devkit DRAM 102504 102504 0 0.0
FLASH 1770132 1770132 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121348 121348 0 0.0
FLASH 1717354 1717354 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2597524 2597524 0 0.0
RAM 116880 116880 0 0.0
all-clusters-app debug unknown 5696 5696 0 0.0
FLASH 6080074 6080074 0 0.0
RAM 537400 537400 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5214028 5214028 0 0.0
RAM 228336 228336 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4600382 4600382 0 0.0
RAM 208600 208600 0 0.0
camera-app debug unknown 9008 9008 0 0.0
FLASH 6894779 6894779 0 0.0
RAM 233712 233712 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13643547 13643547 0 0.0
RAM 668960 668960 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13693669 13693669 0 0.0
RAM 655864 655864 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12721239 12721239 0 0.0
RAM 690824 690824 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4582164 4582164 0 0.0
RAM 200464 200464 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12038144 12038144 0 0.0
RAM 654872 654872 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4399292 4399292 0 0.0
RAM 194248 194248 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5485669 5485669 0 0.0
RAM 493992 493992 0 0.0
lighting-app debug+rpc+ui unknown 6272 6272 0 0.0
FLASH 5470225 5470225 0 0.0
RAM 209784 209784 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4629064 4629064 0 0.0
RAM 196992 196992 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4257216 4257216 0 0.0
RAM 185688 185688 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4319842 4319842 0 0.0
RAM 188512 188512 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2943171 2943171 0 0.0
RAM 149128 149128 0 0.0
thermostat-no-ble arm64 unknown 9856 9856 0 0.0
FLASH 4237135 4237135 0 0.0
RAM 226760 226760 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5814373 5814373 0 0.0
RAM 618336 618336 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11841013 11841013 0 0.0
RAM 772648 772648 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 912124 912124 0 0.0
RAM 152860 152860 0 0.0
nxp contact mcxw71+release FLASH 631928 631928 0 0.0
RAM 64108 64108 0 0.0
lock mcxw71+release FLASH 742408 742408 0 0.0
RAM 65192 65192 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661332 1661332 0 0.0
RAM 211176 211176 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1582420 1582420 0 0.0
RAM 208440 208440 0 0.0
light cy8ckit_062s2_43012 FLASH 1453364 1453364 0 0.0
RAM 197168 197168 0 0.0
lock cy8ckit_062s2_43012 FLASH 1485692 1485692 0 0.0
RAM 224880 224880 0 0.0
qpg lighting-app qpg6200+debug FLASH 821176 821176 0 0.0
RAM 127636 127636 0 0.0
lock-app qpg6200+debug FLASH 758500 758500 0 0.0
RAM 118596 118596 0 0.0
stm32 light STM32WB5MM-DK FLASH 468220 468220 0 0.0
RAM 141360 141360 0 0.0
telink bridge-app tl7218x FLASH 709870 709870 0 0.0
RAM 93440 93440 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 798774 798774 0 0.0
RAM 44000 44000 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789988 789988 0 0.0
RAM 100744 100744 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 716142 716142 0 0.0
RAM 54224 54224 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749498 749498 0 0.0
RAM 77372 77372 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726288 726288 0 0.0
RAM 36972 36972 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606280 606280 0 0.0
RAM 112552 112552 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822708 822712 4 0.0
RAM 99140 99140 0 0.0
tizen all-clusters-app arm unknown 5124 5124 0 0.0
FLASH 1773876 1773876 0 0.0
RAM 92428 92428 0 0.0
chip-tool-ubsan arm unknown 20772 20772 0 0.0
FLASH 21108954 21108954 0 0.0
RAM 9183200 9183200 0 0.0

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.68%. Comparing base (b3764e8) to head (4754b9d).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #40598   +/-   ##
=======================================
  Coverage   50.68%   50.68%           
=======================================
  Files        1350     1350           
  Lines       99234    99236    +2     
  Branches    12910    12910           
=======================================
+ Hits        50295    50297    +2     
  Misses      48939    48939           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify mergify bot merged commit b8ad71b into project-chip:master Aug 14, 2025
72 checks passed
dsavitsky-dsr pushed a commit to dsavitsky-dsr/connectedhomeip that referenced this pull request Aug 19, 2025
…ute HardPrivacyModeOn. (project-chip#40598)

This is to allow a successful wildcard read of all attributes on the AVSM cluster.
@pidarped pidarped deleted the enableHardPrivacyMode branch August 21, 2025 22:06
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