Skip to content

[Ameba] add support for ConfigurationVersion and Groupcast#71820

Open
pankore wants to merge 1 commit intoproject-chip:masterfrom
pankore:ameba_update_260428
Open

[Ameba] add support for ConfigurationVersion and Groupcast#71820
pankore wants to merge 1 commit intoproject-chip:masterfrom
pankore:ameba_update_260428

Conversation

@pankore
Copy link
Copy Markdown
Contributor

@pankore pankore commented Apr 28, 2026

Summary

  • added implementation for ConfigurationVersion.
  • added code to support and initialize groupcast cluster.

Related issues

N/A

Testing

Verified with v1.6 TH. Tested using CLI-PYTHON TC-BINFO-3.2 and all CLI-PYTHON TC-GC test cases; all results passed.

Copy link
Copy Markdown
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 adds groupcast support to the Ameba all-clusters, light-switch, and lighting applications and implements configuration versioning in the Ameba platform. The review identifies a critical issue where initParams.groupDataProvider is dereferenced before being initialized, which would lead to a crash. It also recommends including the missing GroupDataProviderImpl.h header to facilitate the necessary initialization.

Comment thread examples/all-clusters-app/ameba/main/chipinterface.cpp
Comment thread examples/light-switch-app/ameba/main/chipinterface.cpp
Comment thread examples/lighting-app/ameba/main/chipinterface.cpp
Comment thread examples/all-clusters-app/ameba/main/chipinterface.cpp
Comment thread examples/light-switch-app/ameba/main/chipinterface.cpp
Comment thread examples/lighting-app/ameba/main/chipinterface.cpp
@github-actions
Copy link
Copy Markdown

PR #71820: Size comparison from 6bf5656 to c30525c

Full report (6 builds for cc32xx, nrfconnect, realtek, stm32)
platform target config section 6bf5656 c30525c change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 562722 562722 0 0.0
RAM 205072 205072 0 0.0
lock CC3235SF_LAUNCHXL FLASH 594586 594586 0 0.0
RAM 205272 205272 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 866652 866652 0 0.0
RAM 162404 162404 0 0.0
realtek light-switch-app rtl8777g FLASH 684680 684680 0 0.0
RAM 101832 101832 0 0.0
lighting-app rtl8777g FLASH 728728 728728 0 0.0
RAM 102164 102164 0 0.0
stm32 light STM32WB5MM-DK FLASH 477348 477348 0 0.0
RAM 141604 141604 0 0.0

* added implementation for ConfigurationVersion.
* added code to support and initialize groupcast.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.52%. Comparing base (61e7cac) to head (4ba0078).
⚠️ Report is 21 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #71820   +/-   ##
=======================================
  Coverage   54.52%   54.52%           
=======================================
  Files        1588     1588           
  Lines      108569   108572    +3     
  Branches    13365    13365           
=======================================
+ Hits        59201    59204    +3     
  Misses      49368    49368           

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

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.

1 participant