Commit Graph

2295 Commits

Author SHA1 Message Date
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
Shubham Patil d01148ac51 docs: a few enhancements like auto numbering and auto sorting
- Removed the manual numberings that we added to the sections headings
  and using the "sectnum" directive which auto assign the numbers to the
  sections. This makes writing the docs easy.

- Added support for auto-sorting the delegate list with help of githook
  keep-sorted
2026-03-11 13:54:23 +05:30
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
chendejin dd9d4d9c53 components/esp_matter: report attribute change in endpoint::enable and disable 2026-02-09 10:51:22 +08:00
Shubham Patil a9d921ef6f .github: added an issue template for reporting certification issues 2026-02-05 18:18:49 +05:30
Shu Chen 1f50e4e84c Merge branch 'ci/add_astyle' into 'main'
CI: add astyle pre-commit hook

See merge request app-frameworks/esp-matter!1403
2026-02-04 02:21:13 +00:00
WanqQixiang 968ff042a8 CI: add astyle pre-commit hook 2026-02-03 15:30:42 +08:00
Shu Chen cb27fe763d Merge branch 'fix_endpoint_enable' into 'main'
components/esp_matter: call init function in endpoint::enable

See merge request app-frameworks/esp-matter!1421
2026-02-03 07:20:20 +00:00
Shu Chen 4540c714a2 Merge branch 'fix_ble_mesh_example_not_start' into 'main'
examples/common: fix ble not start in blemesh_bridge exmaple

See merge request app-frameworks/esp-matter!1422
2026-02-03 07:19:36 +00:00
Shu Chen 6825f894d4 Merge branch 'controller/add_icd_callback' into 'main'
esp_matter_controller: Add API to register callbacks for ICD client

Closes CON-1925

See merge request app-frameworks/esp-matter!1410
2026-01-30 12:31:21 +00:00
chendejin f0c68e6e85 examples/common: fix ble not start in blemesh_bridge exmaple 2026-01-30 14:38:50 +08:00
chendejin f3a727930b components/esp_matter: call init function in endpoint::enable 2026-01-30 14:09:50 +08:00
Hrishikesh Dhayagude ccad0a93a8 Merge branch 'add_soil_sensor' into 'main'
esp_matter: add soil sensor device type

See merge request app-frameworks/esp-matter!1417
2026-01-28 16:33:37 +08:00
Hrishikesh Dhayagude 42db5fdb1e Merge branch 'ci/skip_tc_idm_10_3_main' into 'main'
CI: skip TC_IDM_10_3 for main branch

See merge request app-frameworks/esp-matter!1415
2026-01-28 13:35:41 +08:00
Hrishikesh Dhayagude df3d967249 Merge branch 'fix/build-image-ci-failure' into 'main'
Add missing weak definitions for Cluster Init and Shutdown callbacks

See merge request app-frameworks/esp-matter!1418
2026-01-27 18:58:27 +08:00
WanqQixiang 063f5c606d esp_matter: add soil sensor device type 2026-01-27 14:30:43 +08:00
mahesh f8f9049620 components/esp_matter: Add missing weak definition of ContextSensingClusterServerInitCallback and ContextSensingClusterServerShutdownCallback 2026-01-27 11:49:01 +05:30
Shu Chen 6456f3fbe2 Merge branch 'submodule/update_8f943388af' into 'main'
submodule: update connectedhomeip submodule to commit id 8f943388af

See merge request app-frameworks/esp-matter!1404
2026-01-26 07:45:05 +00:00