Shubham Patil
4551507f63
examples/unit_test_app: added an unit test app
2026-03-25 17:49:40 +05:30
Shubham Patil
08f53683ea
component/esp-matter: unit tests for get_val and get_val_type apis
2026-03-25 17:49:32 +05:30
Hrishikesh Dhayagude
864b07f505
Merge branch 'fix/cluster_pre_attribute_change_cb' into 'main'
...
esp_matter/data_model_provider: Add support to call ClusterPreAttributeChangeCallback from esp-matter data model provider.
See merge request app-frameworks/esp-matter!1420
2026-03-24 21:15:19 +08:00
Hrishikesh Dhayagude
7e54fc7251
Merge branch 'fix/device-energy-mgmt-mode-init' into 'main'
...
Fix Device Energy Management Mode Cluster Initialization
See merge request app-frameworks/esp-matter!1461
2026-03-24 21:14:24 +08:00
Hrishikesh Dhayagude
f63ee2a844
Merge branch 'fix/cluster-destroy-unlink' into 'main'
...
components/esp-matter: unlink cluster from endpoint on cluster::destroy
See merge request app-frameworks/esp-matter!1465
2026-03-24 21:13:46 +08:00
Hrishikesh Dhayagude
dc4b927aa2
Merge branch 'pr-sync-fix-ns' into 'main'
...
py-sync: pass namespace argument to the action
See merge request app-frameworks/esp-matter!1469
2026-03-24 16:25:15 +08:00
Shubham Patil
90090947f1
py-sync: pass namespace argument to the action
2026-03-24 12:48:17 +05:30
Hrishikesh Dhayagude
f553e3cb3e
Merge branch 'pr-sync' into 'main'
...
ci: add GitHub Action to sync approved PRs to internal GitLab
See merge request app-frameworks/esp-matter!1456
2026-03-23 18:58:13 +08:00
Shubham Patil
0c2cad07cb
ci: add GitHub Action to sync approved PRs to internal GitLab
...
Add workflow using espressif/sync-pr-to-gitlab action to automate
syncing approved GitHub PRs to internal GitLab MRs via label triggers
(PR-Sync-Merge, PR-Sync-Rebase, PR-Sync-Update).
2026-03-23 15:11:35 +05:30
Hrishikesh Dhayagude
0c0f025bf6
Merge branch 'fix/c2_static_numbers' into 'main'
...
Fix c2 and h2 static memory numbers.
See merge request app-frameworks/esp-matter!1460
2026-03-18 14:28:40 +08:00
Shubham Patil
daf12f3421
fix(data_model): unlink cluster from endpoint on cluster::destroy
...
cluster::destroy() freed the cluster memory and its children (attributes,
commands, events) but never removed the cluster from the parent endpoint's
linked list, leaving a dangling pointer. This caused use-after-free crashes
when creating a new cluster on the same endpoint after destroying one.
Fix: look up the parent endpoint via the endpoint_id stored in the cluster
struct and unlink before freeing, consistent with how attribute::destroy,
command::destroy and event::destroy handle their parent lists.
2026-03-18 09:03:28 +05:30
shripad621git
0ec2470726
tools/ci: Fix the static memory numbers failure to post on gitlab MRs for c2 and h2.
...
- The static memory analysis for c2 and h2 failed due to target job not found.
- The actual jobs were present but job failed due to pagination logic.
- Added the pagination logic to find the target jobs for static memory analysis.
2026-03-17 13:43:44 +05:30
Mahesh Pimpale
9a87312bd7
components/esp_matter: Fix device energy management mode cluster initialization
2026-03-16 16:28:47 +05:30
Rohit
a515c14327
esp_matter/data_model_provider: Add support to call ClusterPreAttributeChangeCallback from esp-matter data model provider.
2026-03-16 15:49:28 +05:30
Hrishikesh Dhayagude
9a0c63936c
Merge branch 'ci/resource_groups' into 'main'
...
.gitlab-ci.yml: Add resource group logic to avoid build failures
See merge request app-frameworks/esp-matter!1457
2026-03-13 20:25:30 +08:00
shripad621git
52b81f378d
gitlab-ci.yml: Added gitlab resource groups logic to avoid arbitary build failures.
2026-03-13 11:42:13 +05:30
Hrishikesh Dhayagude
94d54bc335
Merge branch 'feat/irrigation_system_device_type' into 'main'
...
Add irrigation system device type data model
See merge request app-frameworks/esp-matter!1445
2026-03-12 16:19:48 +08:00
Hrishikesh Dhayagude
8428176dcd
Merge branch 'pr_1690' into 'main'
...
[GH_PR] Improve 'subscribe_command` callbacks (CON-1960)
See merge request app-frameworks/esp-matter!1447
2026-03-11 18:11:53 +08:00
Hrishikesh Dhayagude
b40a9f6380
Merge branch 'fix/refactor-update-report-attribute-utils' into 'main'
...
components/esp-matter: propagate error code from attribute update/report and refactoring
See merge request app-frameworks/esp-matter!1441
2026-03-11 01:00:06 +08:00
Shubham Patil
a2926640e9
components/esp-matter: propogate error code from attribute update/report
...
and refactoring
attribute::update and attribute::report were eating up the error code
returned by set_val and returning ESP_OK. This hide all the errors
reported by set_val.
attribute::update and attribute::report are identical with a simple
delta of whether to call the attribute callback or not. So, refactored
it into as helper function.
2026-03-10 12:27:30 +05:30
Hrishikesh Dhayagude
e58304ed0d
Merge branch 'remove-duplicate-definition' into 'main'
...
Fix multiple definition of MatterCommodityMeteringPluginServerInitCallback
See merge request app-frameworks/esp-matter!1449
2026-03-10 13:27:26 +08:00
mahesh
b0f4ae1258
components/esp_matter: Remove duplicate MatterCommodityMeteringPluginServerInitCallback definition
2026-03-06 12:59:55 +05:30
Tomas McGuinness
d87aea1b84
Update subscription_command callbacks
2026-03-05 09:42:50 +00:00
Mahesh Pimpale
96ab773bbc
components/esp_matter: Add irrigation system device type data model
2026-03-05 11:19:24 +05:30
Hrishikesh Dhayagude
bd5fb3a500
Merge branch 'docs/add-dmvtool' into 'main'
...
Add data model validator tool in documentation
See merge request app-frameworks/esp-matter!1438
2026-03-04 16:42:22 +08:00
Mahesh Pimpale
4be77f4583
docs: add link to data model validator tool in documentation
...
also, use the badges from shields.io to make links accessible at the top
of the README
2026-03-03 16:40:17 +05:30
Hrishikesh Dhayagude
6e6b39721b
Merge branch 'mock_delegates_1' into 'main'
...
all-device-types-app: Add empty mock delegates for the clusters.
See merge request app-frameworks/esp-matter!1221
2026-03-03 13:57:02 +08:00
Hrishikesh Dhayagude
d1966151a2
Merge branch 'pr_1720' into 'main'
...
[GH_PR] fix(data_model): silence spurious "Cluster cannot be NULL" error during dynamic endpoint init (CON-1987)
See merge request app-frameworks/esp-matter!1439
2026-03-03 13:48:56 +08:00
Hrishikesh Dhayagude
81f0a4dc85
Merge branch 'pr_1726' into 'main'
...
[GH_PR] fix(cluster_select): gate Thread clusters on OPENTHREAD_ENABLED (CON-1993)
See merge request app-frameworks/esp-matter!1444
2026-03-03 13:47:59 +08:00
Hrishikesh Dhayagude
76dfe1924d
Merge branch 'fix-ret-val' into 'main'
...
components/esp_matter: handle meter identification cluster init's return
See merge request app-frameworks/esp-matter!1442
2026-03-03 13:46:42 +08:00
Shubham Patil
039026f8cf
components/esp_matter: handle meter identification cluster init's return
...
value
2026-02-25 17:13:27 +05:30
Chris Leishman
a0dfcbf85f
fix(cluster_select): gate Thread clusters on OPENTHREAD_ENABLED
...
The three Thread-related clusters (Thread Network Diagnostics, Thread
Border Router Management, Thread Network Directory) default to enabled
regardless of whether OpenThread is present. On WiFi-only devices this
causes the clusters to be registered on the root node endpoint, but
read requests fail with CHIP_ERROR_NOT_IMPLEMENTED because
CHIP_DEVICE_CONFIG_ENABLE_THREAD is disabled, producing noisy DMG
errors like:
E chip[DMG]: Fail to retrieve data ... clusterId: 0x0000_0035 err = 2d
Add `depends on OPENTHREAD_ENABLED` so these clusters are only
available when the Thread stack is actually present.
2026-02-24 23:22:39 -08:00
Chris Leishman
c718d9b504
fix(data_model): silence spurious "Cluster cannot be NULL" error during dynamic endpoint init
...
When using the esp_matter data model (CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=y),
attribute::get(endpoint_id, cluster_id, attribute_id) is called during endpoint
registration via emberAfExternalAttributeReadCallback. If the cluster doesn't
exist on the endpoint, the lookup returns NULL, which is then passed to the
two-argument get(cluster_t*, attribute_id) overload that logs at error level.
Add a NULL guard in the three-argument overload to return nullptr early,
consistent with how command::get(endpoint_id, cluster_id, command_id) already
handles this case.
Fixes #1692
2026-02-24 07:32:17 -08:00
Hrishikesh Dhayagude
7a3c60a1c4
Merge branch 'gh-pr-pre-commit-check' into 'main'
...
gh_action: add the pre-commit checks to PRs
See merge request app-frameworks/esp-matter!1440
2026-02-24 20:34:57 +08:00
Shubham Patil
4b73bb0481
gh_action: add the pre-commit checks to PRs
2026-02-20 20:54:05 +05:30
Hrishikesh Dhayagude
3333716403
Merge branch 'git-hook' into 'main'
...
git-hook: added keep-sorted and codespell pre-commit hooks
See merge request app-frameworks/esp-matter!1354
2026-02-20 19:33:28 +08:00
Shubham Patil
c697c6dedc
git-hook: added keep-sorted and codespell pre-commit hooks
...
- keep-sorted: for sorting the lists between start/stop marker
- codespell: to fix the spelling mistakes
2026-02-20 14:10:31 +05:30
Rohit
4a7b5034f9
all-device-type-app: Add mock delegates.
...
Generate mocks.
Set app delegates
2026-02-19 15:14:33 +05:30
Hrishikesh Dhayagude
599247e215
Merge branch 'pr_1719' into 'main'
...
[GH_PR] Fix: Correct MinSetpointDeadBand bounds to use int8_t (CON-1986)
See merge request app-frameworks/esp-matter!1433
2026-02-18 16:29:49 +08:00
Hrishikesh Dhayagude
4d6a9adf4c
Merge branch 'pr_1713' into 'main'
...
[GH_PR] fix(light_switch): adapt to updated Matter binding API (CON-1980)
See merge request app-frameworks/esp-matter!1432
2026-02-18 16:29:42 +08:00
Hrishikesh Dhayagude
bc7c3eb7f1
Merge branch 'fix/feature-validation-check' into 'main'
...
Update Feature Validation check for clusters
See merge request app-frameworks/esp-matter!1423
2026-02-18 12:44:46 +08:00
Szilveszter Szebeni
3a721c2541
Fix: Correct MinSetpointDeadBand bounds to use int8_t
...
MinSetpointDeadBand is defined as an int8_t, but the bounds were incorrectly created using int16_t. Updated bounds to use int8_t with the correct range (0–127).
2026-02-15 15:51:55 +01:00
Hrishikesh Dhayagude
c8db90878b
Merge branch 'update/return-type-chime-delegate' into 'main'
...
Fix Chime delegate return value for empty list attributes
See merge request app-frameworks/esp-matter!1426
2026-02-14 14:43:42 +08:00
mahesh
1cbdf2f8c7
components/esp_matter:Update the return type for the attribute read methods in mock chime delegate
2026-02-13 15:27:50 +05:30
Hrishikesh Dhayagude
67db90b84d
Merge branch 'feat/add-zone_management-cluster' into 'main'
...
Add zone_management cluster in esp_matter
See merge request app-frameworks/esp-matter!1397
2026-02-13 17:51:33 +08:00
WangHunZi
1b6eff3e3e
fix(light_switch): adapt to updated Matter binding API
2026-02-12 02:09:44 +08:00
Shu Chen
2884cf47cf
Merge branch 'cert-issue-template' into 'main'
...
.github: added an issue template for reporting certification issues
See merge request app-frameworks/esp-matter!1428
2026-02-10 11:24:09 +00:00
Shu Chen
77a7e01716
Merge branch 'fix_endpoint_report' into 'main'
...
components/esp_matter: report attribute change in endpoint::enable and disable
See merge request app-frameworks/esp-matter!1427
2026-02-10 11:06:19 +00:00
mahesh
8164d351b1
components/esp_matter:Add missing feature for device energy management cluster
...
Replace at most validation check with exact one for closure dimension
cluster
- removed at most validation macro
- add features for door lock, microwave oven, device energy management,
energy evse devices in all device type app to make them conformant
2026-02-09 12:23:21 +05:30
mahesh
11b6a1d113
components/esp_matter: add zone_management cluster in esp_matter
2026-02-09 12:04:22 +05:30