Commit Graph

2173 Commits

Author SHA1 Message Date
Shu Chen 497a734f41 Merge branch 'fix_controller_remove_keyset_v1_5' into 'release/v1.5'
components/esp_matter_controller: fix remove group keyset (1.5)

See merge request app-frameworks/esp-matter!1510
2026-04-22 11:17:59 +00:00
chendejin 47c4fc7ae3 components/esp_matter_controller: fix remove group keyset 2026-04-22 14:01:07 +08:00
Hrishikesh Dhayagude 41bb4a7db4 Merge branch 'backport/v1.5/fix-network-diag-cluster-guard' into 'release/v1.5'
[v1.5]: components/esp_matter: gate network diagnostics clusters on transport config

See merge request app-frameworks/esp-matter!1511
2026-04-22 13:52:21 +08:00
Shubham Patil 20d07b0917 components/esp_matter: gate network diagnostics clusters on transport config
WiFi and Thread network diagnostics clusters were unconditionally
created on the root node when their Kconfig flags were enabled,
regardless of the actual transport. A Thread-only device would
incorrectly include the WiFi Network Diagnostics cluster.

Gate cluster creation on transport-level defines so that WiFi
diagnostics are only added when WiFi is enabled, and Thread
diagnostics only when Thread is enabled.

Fixes https://github.com/espressif/esp-matter/issues/1649
2026-04-20 15:57:09 +05:30
Shu Chen c869d69423 Merge branch 'backport/custom-network-config-v1.5' into 'release/v1.5'
[v1.5]: components/esp_matter: add CustomNetworkConfig support

See merge request app-frameworks/esp-matter!1496
2026-04-09 02:51:37 +00:00
Shubham Patil fc9ee091d5 components/esp_matter: add CustomNetworkConfig support
Skip the Network Commissioning cluster on the root node when
CONFIG_CUSTOM_NETWORK_CONFIG is enabled, per Matter spec condition
(!CustomNetworkConfig). This allows devices with out-of-band network
configuration (rich UI, manufacturer-specific means) to omit the
cluster as the spec permits.

- Add CONFIG_CUSTOM_NETWORK_CONFIG Kconfig option
- Conditionally skip network_commissioning in root_node config/add
- Exclude integration.cpp from build when custom config enabled
- Add weak stubs for Plugin callbacks as fallback
- Also guarded secondary network device type and all the
  attributes and commands that are part of network commissioning
  cluster
2026-04-08 14:45:14 +05:30
Hrishikesh Dhayagude 9bee32b05c Merge branch 'code/add_symbol' into 'release/v1.5'
code: add semicolon

See merge request app-frameworks/esp-matter!1448
2026-04-07 16:41:27 +08:00
Hrishikesh Dhayagude 6d3de3adf3 Merge branch 'backport_1_5_change_identify_type_flag_to_none' into 'release/v1.5'
[v1.5]data_model/change identify type attribute flag to ATTRIBUTE_FLAG_NONE to fix init failed

See merge request app-frameworks/esp-matter!1493
2026-04-07 16:41:07 +08:00
YuanMingFu ccdf2f5991 components/esp_matter: Add missing semicolon 2026-04-07 11:46:32 +08:00
liyashuai 13ffa74ff5 data_model/change identify type attribute flag to ATTRIBUTE_FLAG_NONE to fix init failed
fixes: issue:https://github.com/espressif/esp-matter/issues/1612
2026-04-07 10:23:03 +08:00
Hrishikesh Dhayagude 6d5886d4b6 Merge branch 'backport_remove_path_check_in_eventinfo_to_1_5' into 'release/v1.5'
backport to v1.5 esp_matter/data_model_provider: Remove path check from EventInfo Fixes #1731

See merge request app-frameworks/esp-matter!1490
2026-04-06 22:26:17 +08:00
liyashuai 2c4e8b6738 backport to v1.5 esp_matter/data_model_provider: Remove path check from EventInfo Fixes #1731 2026-04-03 19:31:08 +08:00
Shu Chen e5257b67bb Merge branch 'fix_start_up_event_v1_5' into 'release/v1.5'
components/esp_matter: call init callbacks for endpoints created before esp_matter::start (v1.5)

See merge request app-frameworks/esp-matter!1483
2026-04-02 09:50:20 +00:00
Shu Chen 7f142e3f77 Merge branch 'fix_ble_mesh_example_v1_5' into 'release/v1.5'
examples/common: fix ble not start in blemesh_bridge exmaple (v1.5)

See merge request app-frameworks/esp-matter!1485
2026-03-31 10:59:32 +00:00
chendejin 69f6deb2e7 examples/common: fix ble not start in blemesh_bridge exmaple 2026-03-31 17:01:30 +08:00
chendejin 3c06e5e097 components/esp_matter: call init callbacks for endpoints created before esp_matter::start 2026-03-31 16:23:54 +08:00
Shu Chen 53c1d87542 Merge branch 'backport/v1.5/cluster-pre-attr-change-cb' into 'release/v1.5'
[v1.5]: esp_matter/data_model_provider: Add support to call ClusterPreAttributeChangeCallback from esp-matter data model provider.

See merge request app-frameworks/esp-matter!1476
2026-03-26 04:03:53 +00:00
Rohit 9399a885ff esp_matter/data_model_provider: Add support to call ClusterPreAttributeChangeCallback from esp-matter data model provider. 2026-03-25 17:18:35 +05:30
Shu Chen 6e451d615c Merge branch 'backport/v1.5/cluster-destroy-unlink' into 'release/v1.5'
[v1.5] components/esp-matter: unlink cluster from endpoint on cluster::destroy

See merge request app-frameworks/esp-matter!1471
2026-03-25 03:10:20 +00:00
Shubham Patil b770a819fe 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-24 23:01:03 +05:30
Hrishikesh Dhayagude 69a25af083 Merge branch 'fix/refactor-update-report-attribute-utils-1-5' into 'release/v1.5'
[v1.5] propagate error code from attribute update/report

See merge request app-frameworks/esp-matter!1458
2026-03-23 17:53:57 +08:00
Hrishikesh Dhayagude 7722fb6b23 Merge branch 'cherry_pick/resource_group_fix' into 'release/v1.5'
[v1.5] gitlab-ci.yml: Added gitlab resource groups logic to avoid arbitary build failures.

See merge request app-frameworks/esp-matter!1463
2026-03-18 14:46:08 +08:00
shripad621git 422636028e [v1.5] gitlab-ci.yml: Added gitlab resource groups logic to avoid arbitary build failures. 2026-03-17 13:35:52 +05:30
Shubham Patil 799f5ca39e 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-12 17:20:51 +05:30
Shu Chen a43f9bf1bb Merge branch 'fix_endpoint_enable_v1_5' into 'release/v1.5'
components/esp_matter: call init function and report attribute change (v1.5)

See merge request app-frameworks/esp-matter!1430
2026-03-12 09:15:42 +00:00
Hrishikesh Dhayagude d42e9d6f2e Merge branch 'backport/update-delegate-list' into 'release/v1.5'
[v1.5]: docs: update delegate list

See merge request app-frameworks/esp-matter!1435
2026-02-19 17:22:13 +08:00
mahesh 108d0c513d docs: update delegate list 2026-02-19 14:11:05 +05:30
Hrishikesh Dhayagude 54699a10ed Merge branch 'backport/1.5/software_diagnostic_integration_fix' into 'release/v1.5'
[v1.5]: Fix incorrect cluster ID used in Software Diagnostics init callback

See merge request app-frameworks/esp-matter!1431
2026-02-16 15:56:16 +08:00
mahesh d29b76f390 Fix: Incorrect Software Diagnostic cluster id while checking attribute enable
Fixes: https://github.com/espressif/esp-matter/issues/1702
2026-02-13 13:00:12 +05:30
chendejin 36d743cc1d components/esp_matter: report attribute change in endpoint::enable and disable 2026-02-10 19:50:59 +08:00
chendejin 143ba84212 components/esp_matter: call init function during enabling endpoint 2026-01-30 11:30:02 +08:00
Hrishikesh Dhayagude 62e8875195 Merge branch 'basic_info/fix_optional_attr_v1_5' into 'release/v1.5'
data-mode-provider: Set optional attributes set for basic information cluster(v1.5)

See merge request app-frameworks/esp-matter!1412
2026-01-27 17:31:39 +08:00
Hrishikesh Dhayagude d177e838d7 Merge branch 'esp_matter/fix_wifi_diag' into 'release/v1.5'
fix: Correct misplaced server init callback in WiFi Network Diagnostics cluster(v1.5)

See merge request app-frameworks/esp-matter!1411
2026-01-27 13:41:11 +08:00
Hrishikesh Dhayagude 3b6fc73507 Merge branch 'backport/1.5/electrical_utility_clusters_and_devices' into 'release/v1.5'
[v1.5]: electrical grid condition, meter identification, electrical utility devices

See merge request app-frameworks/esp-matter!1409
2026-01-27 13:38:54 +08:00
Hrishikesh Dhayagude 32565f5923 Merge branch 'backport/1.5/commodity_clusters' into 'release/v1.5'
[v1.5]: commodity tariff, commodity price, commodity metering clusters

See merge request app-frameworks/esp-matter!1408
2026-01-27 13:38:28 +08:00
Hrishikesh Dhayagude 1fa8842182 Merge branch 'backport/1.5/camera_av_and_push_av_cluster' into 'release/v1.5'
[v1.5]: camera av setting user level management and push av stream transport cluster

See merge request app-frameworks/esp-matter!1407
2026-01-27 13:38:05 +08:00
Hrishikesh Dhayagude a0df04bc48 Merge branch 'backport/1.5/chime-device' into 'release/v1.5'
[v1.5]: chime device

See merge request app-frameworks/esp-matter!1406
2026-01-27 13:37:36 +08:00
Hrishikesh Dhayagude b9b974e7a3 Merge branch 'backport/1.5/closure-device' into 'release/v1.5'
[v1.5] Add closure device types

See merge request app-frameworks/esp-matter!1405
2026-01-27 13:36:58 +08:00
mahesh 7ff6cafec2 fix: correct misplaced server init callback in wifi-network-diagnostics-cluster
Fixes https://github.com/espressif/esp-matter/issues/1623
2026-01-23 09:35:22 +08:00
WanqQixiang ed58a74873 data-mode-provider: Set optional attributes set for basic information cluster
Fixes CON-1891
2026-01-22 16:48:17 +08:00
mahesh 7103c33545 components/esp_matter: Add new electrical device types 2026-01-20 11:17:29 +05:30
mahesh be23174ecb components/esp_matter: add meter_identification cluster in esp_matter 2026-01-20 11:17:18 +05:30
mahesh 7062551e5c components/esp_matter: add electrical_grid_conditions cluster in esp_matter 2026-01-20 11:17:18 +05:30
mahesh 4ad5cd8945 components/esp_matter: add commodity_metering cluster in esp_matter 2026-01-20 11:17:01 +05:30
mahesh 0293116894 components/esp_matter: add commodity_price cluster in esp_matter 2026-01-20 11:17:01 +05:30
mahesh d9ccd7177d components/esp_matter: add commodity_tariff cluster in esp_matter 2026-01-20 11:17:01 +05:30
mahesh f2ec4ae3e0 components/esp_matter: add push_av_stream_transport cluster in esp_matter 2026-01-20 11:16:41 +05:30
mahesh 750e45fb83 components/esp_matter: add camera_av_settings_user_level_management cluster in esp_matter 2026-01-20 11:16:41 +05:30
mahesh 4c21742533 components/esp_matter: Add chime device type 2026-01-20 11:15:29 +05:30
mahesh d1f7b1d3b7 components/esp_matter: Add closure device types 2026-01-20 10:53:45 +05:30