Skip to content

Disable All Groupcast Functionality by Default#72047

Merged
mergify[bot] merged 13 commits into
project-chip:masterfrom
zaid-google:groupcast_provisional_disable
May 14, 2026
Merged

Disable All Groupcast Functionality by Default#72047
mergify[bot] merged 13 commits into
project-chip:masterfrom
zaid-google:groupcast_provisional_disable

Conversation

@zaid-google

@zaid-google zaid-google commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Groupcast is provisional and should for now, be disabled by default on all apps. Legacy groups functionality should remain intact. This PR makes the following changes:

  • Disables groupcast in zap files where it was previously enabled

  • Zap regen

  • Make chip_config_enable_groupcast false by default for all apps

  • Add a -groupcast app argument to all devices app to ensure there's a way to still test groupcast functionality with this app. Groupcast will be disabled by default but this will enable it.

  • Make GroupDataProviderImpl() default constructor use CHIP_CONFIG_MAX_GROUPS_PER_FABRIC instead of kMaxMembershipPerFabric for maxGroupsPerFabric. This reverts the value back to what it was for legacy groups

    • This meant updates were needed for GetMaxGroupsPerFabric(), to return either getMaxMembershipCount() / 2 if groupcast is enabled, or mMaxGroupsPerFabric otherwise. This is needed because groupcast can still be enabled at runtime for all devices app (like it is now doing in some tests for CI). getMaxMembershipCount() returns kMaxMembershipCount, so this retains the functionality that was introduced for groupcast in [Groupcast] Align GroupDataProvider limits with membership count #43167

Testing

  • Updated groupcast related tests to use all devices app with -groupcast app argument to ensure it still is tested properly
  • CI should still pass

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

Copy link
Copy Markdown
Contributor

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 disables Groupcast by default across various example applications and build configurations, transitioning it to an opt-in feature via a new --groupcast command-line argument in the POSIX all-devices-app. Corresponding updates were made to the CI test scripts to include this flag. A review comment identifies a regression in GroupsCluster.cpp, where the removal of conditional logic for the cluster revision causes the device to incorrectly report support for Groupcast-related features even when the functionality is disabled.

Comment thread src/app/clusters/groups-server/GroupsCluster.cpp
@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.89%. Comparing base (06fce34) to head (dbce0d0).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #72047   +/-   ##
=======================================
  Coverage   54.89%   54.89%           
=======================================
  Files        1619     1619           
  Lines      110379   110380    +1     
  Branches    13486    13486           
=======================================
+ Hits        60593    60594    +1     
  Misses      49786    49786           

☔ 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.

@github-actions

github-actions Bot commented May 14, 2026

Copy link
Copy Markdown

PR #72047: Size comparison from 69d8d7c to 07eadbb

Full report (33 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 69d8d7c 07eadbb change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1092884 1092884 0 0.0
RAM 144866 144866 0 0.0
bl616 lighting-app bl616+thread FLASH 1104380 1104380 0 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1591896 1591896 0 0.0
RAM 98144 98144 0 0.0
bl702 lighting-app bl702+eth FLASH 1055824 1055824 0 0.0
RAM 108493 108493 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894764 894764 0 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776436 775824 -612 -0.1
RAM 103460 103364 -96 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 788912 788912 0 0.0
RAM 108652 108652 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 737932 737932 0 0.0
RAM 97564 97564 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718120 718120 0 0.0
RAM 97612 97612 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 567694 567694 0 0.0
RAM 205024 205024 0 0.0
lock CC3235SF_LAUNCHXL FLASH 595118 595118 0 0.0
RAM 205224 205224 0 0.0
efr32 lock-app BRD4187C FLASH 993672 993672 0 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798657 798649 -8 -0.0
RAM 243400 243400 0 0.0
window-app BRD4187C FLASH 1100052 1100044 -8 -0.0
RAM 130328 130328 0 0.0
esp32 all-clusters-app c3devkit DRAM 99612 99612 0 0.0
FLASH 1614656 1614656 0 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 829104 829084 -20 -0.0
RAM 157441 157441 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1726428 1726428 0 0.0
RAM 215156 215156 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1621820 1621804 -16 -0.0
RAM 211524 211524 0 0.0
light cy8ckit_062s2_43012 FLASH 1469980 1469332 -648 -0.0
RAM 197500 197404 -96 -0.0
lock cy8ckit_062s2_43012 FLASH 1502932 1502932 0 0.0
RAM 225228 225228 0 0.0
qpg lighting-app qpg6200+debug FLASH 843500 843500 0 0.0
RAM 127924 127924 0 0.0
lock-app qpg6200+debug FLASH 782120 782120 0 0.0
RAM 118872 118872 0 0.0
realtek light-switch-app rtl8777g FLASH 684560 684560 0 0.0
RAM 101660 101660 0 0.0
lighting-app rtl8777g FLASH 729216 728616 -600 -0.1
RAM 102092 102000 -92 -0.1
stm32 light STM32WB5MM-DK FLASH 477828 477412 -416 -0.1
RAM 141532 141436 -96 -0.1
telink bridge-app tl7218x FLASH 731116 731116 0 0.0
RAM 95860 95860 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850968 850750 -218 -0.0
RAM 44396 44312 -84 -0.2
tl7218x FLASH 842298 842080 -218 -0.0
RAM 99724 99640 -84 -0.1
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730738 730738 0 0.0
RAM 55964 55964 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793964 793964 0 0.0
RAM 75148 75148 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730658 730658 0 0.0
RAM 33448 33448 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613766 613566 -200 -0.0
RAM 118560 118476 -84 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 840412 840198 -214 -0.0
RAM 97432 97348 -84 -0.1

@github-actions

github-actions Bot commented May 14, 2026

Copy link
Copy Markdown

PR #72047: Size comparison from 06fce34 to 19e7fab

Full report (30 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 06fce34 19e7fab change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1092884 1092884 0 0.0
RAM 144866 144866 0 0.0
bl616 lighting-app bl616+thread FLASH 1104380 1104380 0 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1591896 1591896 0 0.0
RAM 98144 98144 0 0.0
bl702 lighting-app bl702+eth FLASH 1055824 1055824 0 0.0
RAM 108493 108493 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894764 894764 0 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776436 775824 -612 -0.1
RAM 103460 103364 -96 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 788912 788912 0 0.0
RAM 108652 108652 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 737932 737932 0 0.0
RAM 97564 97564 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718120 718120 0 0.0
RAM 97612 97612 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 567694 567694 0 0.0
RAM 205024 205024 0 0.0
lock CC3235SF_LAUNCHXL FLASH 595118 595118 0 0.0
RAM 205224 205224 0 0.0
esp32 all-clusters-app c3devkit DRAM 99612 99612 0 0.0
FLASH 1614656 1614656 0 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 829104 829084 -20 -0.0
RAM 157441 157441 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1726428 1726428 0 0.0
RAM 215156 215156 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1621820 1621804 -16 -0.0
RAM 211524 211524 0 0.0
light cy8ckit_062s2_43012 FLASH 1469980 1469332 -648 -0.0
RAM 197500 197404 -96 -0.0
lock cy8ckit_062s2_43012 FLASH 1502932 1502932 0 0.0
RAM 225228 225228 0 0.0
qpg lighting-app qpg6200+debug FLASH 843500 843500 0 0.0
RAM 127924 127924 0 0.0
lock-app qpg6200+debug FLASH 782120 782120 0 0.0
RAM 118872 118872 0 0.0
realtek light-switch-app rtl8777g FLASH 684560 684560 0 0.0
RAM 101660 101660 0 0.0
lighting-app rtl8777g FLASH 729216 728616 -600 -0.1
RAM 102092 102000 -92 -0.1
stm32 light STM32WB5MM-DK FLASH 477828 477412 -416 -0.1
RAM 141532 141436 -96 -0.1
telink bridge-app tl7218x FLASH 731116 731116 0 0.0
RAM 95860 95860 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850968 850750 -218 -0.0
RAM 44396 44312 -84 -0.2
tl7218x FLASH 842298 842080 -218 -0.0
RAM 99724 99640 -84 -0.1
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730738 730738 0 0.0
RAM 55964 55964 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793964 793964 0 0.0
RAM 75148 75148 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730658 730658 0 0.0
RAM 33448 33448 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613766 613566 -200 -0.0
RAM 118560 118476 -84 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 840412 840198 -214 -0.0
RAM 97432 97348 -84 -0.1

Comment thread examples/all-devices-app/posix/app_options/AppOptions.cpp Outdated
@github-actions

github-actions Bot commented May 14, 2026

Copy link
Copy Markdown

PR #72047: Size comparison from 06fce34 to eed46aa

Full report (16 builds for cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section 06fce34 eed46aa0 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776436 775896 -540 -0.1
RAM 103460 103364 -96 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 788912 788992 80 0.0
RAM 108652 108652 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 737932 738012 80 0.0
RAM 97564 97564 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718120 718208 88 0.0
RAM 97612 97612 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 567694 567774 80 0.0
RAM 205024 205024 0 0.0
lock CC3235SF_LAUNCHXL FLASH 595118 595198 80 0.0
RAM 205224 205224 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 829104 829132 28 0.0
RAM 157441 157441 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1726428 1726460 32 0.0
RAM 215156 215156 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1621820 1621836 16 0.0
RAM 211524 211524 0 0.0
light cy8ckit_062s2_43012 FLASH 1469980 1469380 -600 -0.0
RAM 197500 197404 -96 -0.0
lock cy8ckit_062s2_43012 FLASH 1502932 1502948 16 0.0
RAM 225228 225228 0 0.0
qpg lighting-app qpg6200+debug FLASH 843500 843580 80 0.0
RAM 127924 127924 0 0.0
lock-app qpg6200+debug FLASH 782120 782200 80 0.0
RAM 118872 118872 0 0.0
realtek light-switch-app rtl8777g FLASH 684560 684640 80 0.0
RAM 101660 101660 0 0.0
lighting-app rtl8777g FLASH 729216 728696 -520 -0.1
RAM 102092 102000 -92 -0.1
stm32 light STM32WB5MM-DK FLASH 477828 477484 -344 -0.1
RAM 141532 141436 -96 -0.1

Comment thread src/credentials/GroupDataProviderImpl.h
@github-actions

github-actions Bot commented May 14, 2026

Copy link
Copy Markdown

PR #72047: Size comparison from 06fce34 to 07ccd7b

Full report (21 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section 06fce34 07ccd7b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1092884 1092966 82 0.0
RAM 144866 144866 0 0.0
bl616 lighting-app bl616+thread FLASH 1104380 1104452 72 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1591896 1591976 80 0.0
RAM 98144 98144 0 0.0
bl702 lighting-app bl702+eth FLASH 1055824 1055906 82 0.0
RAM 108493 108493 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894764 894846 82 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776436 775896 -540 -0.1
RAM 103460 103364 -96 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 788912 788992 80 0.0
RAM 108652 108652 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 737932 738012 80 0.0
RAM 97564 97564 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718120 718208 88 0.0
RAM 97612 97612 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 567694 567774 80 0.0
RAM 205024 205024 0 0.0
lock CC3235SF_LAUNCHXL FLASH 595118 595198 80 0.0
RAM 205224 205224 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 829104 829132 28 0.0
RAM 157441 157441 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1726428 1726460 32 0.0
RAM 215156 215156 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1621820 1621836 16 0.0
RAM 211524 211524 0 0.0
light cy8ckit_062s2_43012 FLASH 1469980 1469380 -600 -0.0
RAM 197500 197404 -96 -0.0
lock cy8ckit_062s2_43012 FLASH 1502932 1502948 16 0.0
RAM 225228 225228 0 0.0
qpg lighting-app qpg6200+debug FLASH 843500 843580 80 0.0
RAM 127924 127924 0 0.0
lock-app qpg6200+debug FLASH 782120 782200 80 0.0
RAM 118872 118872 0 0.0
realtek light-switch-app rtl8777g FLASH 684560 684640 80 0.0
RAM 101660 101660 0 0.0
lighting-app rtl8777g FLASH 729216 728696 -520 -0.1
RAM 102092 102000 -92 -0.1
stm32 light STM32WB5MM-DK FLASH 477828 477484 -344 -0.1
RAM 141532 141436 -96 -0.1

@github-actions

github-actions Bot commented May 14, 2026

Copy link
Copy Markdown

PR #72047: Size comparison from 06fce34 to dbce0d0

Full report (33 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 06fce34 dbce0d0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1092884 1092966 82 0.0
RAM 144866 144866 0 0.0
bl616 lighting-app bl616+thread FLASH 1104380 1104452 72 0.0
RAM 104280 104280 0 0.0
bl616+wifi+shell FLASH 1591896 1591976 80 0.0
RAM 98144 98144 0 0.0
bl702 lighting-app bl702+eth FLASH 1055824 1055906 82 0.0
RAM 108493 108493 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894764 894846 82 0.0
RAM 105884 105884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 776436 775896 -540 -0.1
RAM 103460 103364 -96 -0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 788912 788992 80 0.0
RAM 108652 108652 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 737932 738012 80 0.0
RAM 97564 97564 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 718120 718208 88 0.0
RAM 97612 97612 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 567694 567774 80 0.0
RAM 205024 205024 0 0.0
lock CC3235SF_LAUNCHXL FLASH 595118 595198 80 0.0
RAM 205224 205224 0 0.0
efr32 lock-app BRD4187C FLASH 993672 993672 0 0.0
RAM 131288 131288 0 0.0
BRD4338a FLASH 798657 798585 -72 -0.0
RAM 243400 243400 0 0.0
window-app BRD4187C FLASH 1100052 1099996 -56 -0.0
RAM 130328 130328 0 0.0
esp32 all-clusters-app c3devkit DRAM 99612 99612 0 0.0
FLASH 1614656 1614742 86 0.0
IRAM 94776 94776 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 829104 829132 28 0.0
RAM 157441 157441 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1726428 1726460 32 0.0
RAM 215156 215156 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1621820 1621836 16 0.0
RAM 211524 211524 0 0.0
light cy8ckit_062s2_43012 FLASH 1469980 1469380 -600 -0.0
RAM 197500 197404 -96 -0.0
lock cy8ckit_062s2_43012 FLASH 1502932 1502948 16 0.0
RAM 225228 225228 0 0.0
qpg lighting-app qpg6200+debug FLASH 843500 843580 80 0.0
RAM 127924 127924 0 0.0
lock-app qpg6200+debug FLASH 782120 782200 80 0.0
RAM 118872 118872 0 0.0
realtek light-switch-app rtl8777g FLASH 684560 684640 80 0.0
RAM 101660 101660 0 0.0
lighting-app rtl8777g FLASH 729216 728696 -520 -0.1
RAM 102092 102000 -92 -0.1
stm32 light STM32WB5MM-DK FLASH 477828 477484 -344 -0.1
RAM 141532 141436 -96 -0.1
telink bridge-app tl7218x FLASH 731116 731198 82 0.0
RAM 95860 95860 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 850968 850832 -136 -0.0
RAM 44396 44312 -84 -0.2
tl7218x FLASH 842298 842162 -136 -0.0
RAM 99724 99640 -84 -0.1
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 730738 730820 82 0.0
RAM 55964 55964 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 793964 794046 82 0.0
RAM 75148 75148 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 730658 730740 82 0.0
RAM 33448 33448 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613766 613648 -118 -0.0
RAM 118560 118476 -84 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 840412 840280 -132 -0.0
RAM 97432 97348 -84 -0.1

@mergify mergify Bot merged commit 4350eea into project-chip:master May 14, 2026
78 checks passed
@zaid-google zaid-google added the request-backport-sve Ask Mergify to backport this PR (cherrypick) to the latest (i.e. current) SVE branch. label May 14, 2026
mergify Bot pushed a commit that referenced this pull request May 15, 2026
* Add README.md to all-devices-app (#71734)

* Add README.md to all-devices-app

* Restyled by prettier-markdown

* Fix spelling in README.md

* Update firewall instructions in README.md for security

* Update examples/all-devices-app/README.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Restyled by prettier-markdown

* Add README to toctree in all_devices.md

* Clarify generic nature of firewall troubleshooting in README.md

* Move generic firewall instructions to dedicated file and link from README

* Remove firewall instructions and dedicated file from README

* Update examples/all-devices-app/README.md

Co-authored-by: Andrei Litvin <andy314@gmail.com>

* Simplify Chime examples and remove bash script from README

* Manually apply restyling for long line in README.md

* restyle

* Correct platform directory list in README.md

* Restyled by prettier-markdown

* Use in-project link for chip-tool documentation in README

* Restyled by prettier-markdown

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Andrei Litvin <andy314@gmail.com>

* [all-devices-app] Support parent/child endpoint relationships via command line (#71756)

* Support parent/child endpoint relationships via command line in all-devices-app

* Restyled by whitespace

* Restyled by clang-format

* Document parent/child endpoint relationship feature in README.md

* Restyled by prettier-markdown

* Fix logging format for endpoint IDs in main.cpp

* Simplify logging format in main.cpp to save flash

* Apply restyling to main.cpp

* Refactor device type parsing in all-devices-app

- Extracted parsing logic to a reusable DeviceTypeParser component in all-devices-common.
- Updated CLI syntax to use comma-separated options (e.g., type:endpoint,parent=parentId).
- Removed redundant --endpoint option.
- Removed Singleton pattern from DeviceTypeParser and used dependency injection/facade pattern.
- Moved default device policy to application code in main.cpp.
- Added unit tests for the parser.
- Updated help text and README.md with new syntax.

* Restyle files after refactor

* Revert spurious flags.gni change

* Move default device fallback to AppOptions

* Fix duplicate test target in device-type-parser/BUILD.gn

* Restyle fixes for BUILD.gn

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [all-devices-app] Add cmd line options "--KVS, --discriminator, --vendor-id, --product-id --interface-id" and remove dependency on global LinuxDeviceOptions (#71735)

* Refactor all-devices-app to remove reliance on global options and add KVS support

* Fix compilation errors in main.cpp after AppOptions refactor

* Add support for --vendor-id and --product-id options in all-devices-app

* Address review comments: make GetConfig() const and restore default device fallback

* Rename deviceConfigs to deviceTypeEntries for consistency

* Update DeviceTypeParser: rename member variable and fix doc comment

* Add validation for discriminator option

* Move AppDeviceInstanceInfoProvider to a separate header file

* Separate AppDeviceInstanceInfoProvider into .h and .cpp files

* Apply restyling and style fixes

* Move provider files to all-devices-common (rename only)

* Implement full DeviceInfoProviderImpl and update build files

* Apply restyling fixes

* Rename DeviceInstanceInfoProviderImpl to OverrideDeviceInstanceInfoProvider and add safe fallbacks

* Support setting port dynamically via --port option

* Support --interface-id option in all-devices-app

* Split providers into separate source sets and fix includes

* Use short include paths for files in all-devices-common

* Move providers to a separate sub-directory in all-devices-common

* Remove singleton from DeviceInfoProviderImpl and move instance to local static in Initialize

* Rename DeviceInfoProviderImpl to TestDeviceInfoProviderImpl

* Implement Friend Pattern for iterators in TestDeviceInfoProviderImpl

* Use VerifyOrReturnError pattern in OverrideDeviceInstanceInfoProvider.cpp

* Fully switch to std::optional in AppOptions and OverrideDeviceInstanceInfoProvider

* Use value_or for port in main.cpp and always log the port used

* Rename TestDeviceInfoProviderImpl back to AllDevicesExampleDeviceInfoProviderImpl

* Rename OverrideDeviceInstanceInfoProvider to AllDevicesExampleDeviceInstanceInfoProviderImpl and apply restyling

* Use value_or for discriminator in main.cpp

* Disable All Groupcast Functionality by Default (#72047)

* Initial updates to zap, gni, all devices args, python tests

* Remove args.gni file that wasnt needed

* Fix compile issues

* Update python tests all devices app args

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Zap regen

* Remove unimplemented app arg

* max groups per fabric revert to legacy unless for constructor

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Cast to uint16_t and make hex value lowercase

* add todo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Fix build issues w/ GROUPS CLUSTER and temp sensor gn

* Restyled by clang-format

* remove unused ble arg (this works wasnt cherry-picked)

* zap regen

---------

Co-authored-by: Sergio Soares <sergiosoares@google.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Andrei Litvin <andy314@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pankore pushed a commit to pankore/connectedhomeip that referenced this pull request May 22, 2026
* Initial updates to zap, gni, all devices args, python tests

* Remove args.gni file that wasnt needed

* Fix compile issues

* Update python tests all devices app args

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Zap regen

* Remove unimplemented app arg

* max groups per fabric revert to legacy unless for constructor

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Cast to uint16_t and make hex value lowercase

* add todo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app examples request-backport-sve Ask Mergify to backport this PR (cherrypick) to the latest (i.e. current) SVE branch. review - approved tests

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants