Commit Graph

1836 Commits

Author SHA1 Message Date
Shu Chen 1c000422e9 Merge branch 'fix_controller_remove_keyset_v1_4' into 'release/v1.4'
components/esp_matter_controller: fix remove group keyset (1.4)

See merge request app-frameworks/esp-matter!1508
2026-04-22 11:14:00 +00:00
Hrishikesh Dhayagude d53e123bed Merge branch 'backport/v1.4/fix-network-diag-cluster-guard' into 'release/v1.4'
[v1.4]: components/esp_matter: gate network diagnostics clusters on transport config

See merge request app-frameworks/esp-matter!1513
2026-04-22 13:53:04 +08:00
Hrishikesh Dhayagude 7e1ba25698 Merge branch 'backport/custom-network-config-v1.4' into 'release/v1.4'
[v1.4]: components/esp_matter: add CustomNetworkConfig support

See merge request app-frameworks/esp-matter!1498
2026-04-22 13:52:58 +08:00
Shubham Patil f7db32fa84 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:59:57 +05:30
chendejin 7407589b26 components/esp_matter_controller: fix remove group keyset 2026-04-17 14:26:46 +08:00
Shubham Patil 6e999033d4 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:57:03 +05:30
Shu Chen 11da6ed9b1 Merge branch 'fix_ble_mesh_example_v1_4' into 'release/v1.4'
examples/common: fix ble not start in blemesh_bridge exmaple (v1.4)

See merge request app-frameworks/esp-matter!1487
2026-03-31 11:10:23 +00:00
Hrishikesh Dhayagude ae7d63a9ba Merge branch 'update_submodule/v1.4' into 'release/v1.4'
[v1.4] Update the chip submodule to latest v1.4-branch.

See merge request app-frameworks/esp-matter!1482
2026-03-31 17:58:05 +08:00
chendejin b61942d600 examples/common: fix ble not start in blemesh_bridge exmaple 2026-03-31 17:14:08 +08:00
shripad621git db4097f872 [v1.4] Update the chip submodule to latest v1.4-branch 2026-03-31 11:07:35 +05:30
Shu Chen c41e1bb807 Merge branch 'backport/v1.4/cluster-destroy-unlink' into 'release/v1.4'
[v1.4] components/esp-matter: unlink cluster from endpoint on cluster::destroy

See merge request app-frameworks/esp-matter!1473
2026-03-25 03:10:29 +00:00
Shubham Patil a4f0b098bc 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:18:11 +05:30
Hrishikesh Dhayagude 3bcc8495ed Merge branch 'fix/refactor-update-report-attribute-utils-1-4' into 'release/v1.4'
[v1.4] propagate error code from attribute update/report

See merge request app-frameworks/esp-matter!1468
2026-03-24 21:12:48 +08:00
Shubham Patil fb80d15634 components/esp_matter: propagate error code from attribute report on v1.4
attribute::report() was ignoring the return value from set_val() and
always returning ESP_OK. This hid errors like ESP_ERR_NOT_SUPPORTED
for internally managed attributes (e.g., BooleanState::StateValue).

This fix:
- Propagates the error from set_val() back to the caller
- Checks return value of get_val() in report()
- Adds void cast to intentionally unchecked get_data_from_attr_val()
  call in update()

Related: https://github.com/espressif/esp-matter/issues/1724
Backport of !1441 (main), !1458 (v1.5)
2026-03-23 16:10:28 +05:30
Shu Chen c3bdde6567 Merge branch 'add_network_diag_clusters_v1_4' into 'release/v1.4'
esp_matter: Add WiFiNetworkDiagnotics and ThreadNetworkDiagnostics clusters by default(v1.4)

See merge request app-frameworks/esp-matter!1383
2026-01-15 11:10:16 +00:00
WanqQixiang 90c0e72595 esp_matter: add missing attributes and features for Thread network diagnostics and software diagnostics clusters
Closes CON-1619
Closes CON-1621
2026-01-15 11:16:28 +08:00
WanqQixiang 626c24de0b esp_matter: Add WiFiNetworkDiagnotics and ThreadNetworkDiagnostics cluster by default 2026-01-04 11:32:20 +08:00
Hrishikesh Dhayagude f8da987aac Merge branch 'fix-attribute-types-1-4' into 'release/v1.4'
[v1.4] components/esp-matter: fix types for on_time and off_wait_time

See merge request app-frameworks/esp-matter!1346
2025-12-18 14:44:52 +08:00
Shubham Patil eabd582c0a components/esp-matter: fix types for on_time and off_wait_time
These are non-nullable uint16's, so removed the nullable type
2025-12-16 14:38:25 +05:30
Hrishikesh Dhayagude 7b6cf277a0 Merge branch 'backport/v1.4/null_check' into 'release/v1.4'
[v1.4]: Add null check for config before pointer dereference

See merge request app-frameworks/esp-matter!1298
2025-11-12 22:54:21 +08:00
mahesh 0b07cf2982 components/esp_matter:Add null check for config before pointer dereference 2025-10-31 14:30:22 +05:30
Hrishikesh Dhayagude c19a319727 Merge branch 'submodule-update-1-4' into 'release/v1.4'
[v1.4]: Update submodule to latest v1.4 branch

See merge request app-frameworks/esp-matter!1273
2025-10-21 15:15:33 +08:00
mahesh 88cdc085f9 connectedhomeip: update submodule to use version independent insights api fix 2025-10-17 14:25:55 +05:30
Hrishikesh Dhayagude c40c03ebc1 Merge branch 'ci/c3_pytest_idf_v5_1_v14' into 'release/v1.4'
CI: run all the pytest example builds with the same IDF version and fix managed component example build

See merge request app-frameworks/esp-matter!1284
2025-10-15 18:26:23 +08:00
WanqQixiang b02eb3ecde example: fix the build for the manage component build 2025-10-15 14:53:12 +08:00
WanqQixiang 76f319aa0e CI: run all the pytest example builds with the same IDF version 2025-10-14 15:56:40 +08:00
Hrishikesh Dhayagude bd72fe6597 Merge branch 'docs-release-versions-1-4' into 'release/v1.4'
[v1.4] docs: use the version file from the main branch

See merge request app-frameworks/esp-matter!1262
2025-09-27 09:15:15 +08:00
Shubham Patil 1a9ac67f9d docs: use the version file from the main branch
As we are using the static file for showing versions in the drop-down
this would be outdated with each new release, so use it from the main
branch, with the assumption that it would always be up-to-date.
2025-09-25 20:27:27 +05:30
Shu Chen de9164fbfd Merge branch 'fix-ci-1-4' into 'release/v1.4'
[v1.4] ci: disable installing esp-matter-mfg-tool on esp-idf v4.4 builds

See merge request app-frameworks/esp-matter!1255
2025-09-15 01:33:44 +00:00
Shubham Patil 43eb364b17 ci: hackishly install construct to work with idf-v4.4 and Python-3.12
construct==2.10.54 import imp which is not present in the Python3.12 so
download the package source, patch it and install
2025-09-11 12:57:13 +05:30
Shubham Patil 67035a2be2 ci: disable installing esp-matter-mfg-tool on esp-idf v4.4 builds
esp-idf v4.4 requires construct==2.10.56, but latest changes in
esp-secure-cert-tool changed it to construct>=2.10.76.
install.sh script installs the esp-matter-mfg-tool which depends on
esp-secure-cert-tool which depends on construct>=2.10.76
2025-09-11 12:57:08 +05:30
Hrishikesh Dhayagude 0e5df1e3f7 Merge branch 'feat/v1.4/discovery_timeout' into 'release/v1.4'
Add new API to configure ServerInitParams

See merge request app-frameworks/esp-matter!1218
2025-08-20 16:06:42 +08:00
Shu Chen 0d06804c06 Merge branch 'fix_group_certify_issue_1_4' into 'release/v1.4'
[1.4]components/esp_matter: Fix certify issue with no groups cluster

See merge request app-frameworks/esp-matter!1225
2025-08-14 06:31:04 +00:00
liyashuai 312aa64987 components/esp_matter: Fix certify issue with no groups cluster 2025-08-13 11:47:12 +08:00
mahesh 0602d32fb4 components/esp_matter: Introduced set_server_init_params() api to allow setting custom ServerInitParams
Submodule update for release-v1.4
2025-08-06 11:50:04 +05:30
Shu Chen 40dfb9b9cd Merge branch 'example/add-ota-function-for-thread-br' into 'release/v1.4'
[v1.4]example/thread_border_router: add ota function for otbr example

See merge request app-frameworks/esp-matter!1184
2025-08-01 06:08:50 +00:00
liyashuai a3613e8e97 [v1.4]example/thread_border_router: add ota function for otbr example 2025-07-29 12:34:16 +08:00
Shu Chen 40ca7ea9c3 Merge branch 'component_v1_4_0_1' into 'release/v1.4'
esp_matter managed component: v1.4.0~1

See merge request app-frameworks/esp-matter!1212
2025-07-24 09:36:24 +00:00
chendejin 06940e3cfe esp_matter managed component: v1.4.0~1 2025-07-22 16:34:02 +08:00
Shu Chen bea837ee55 Merge branch 'submodule_87cf8e5030' into 'release/v1.4'
[v1.4] submodule: update connectedhomeip to 87cf8e5030

See merge request app-frameworks/esp-matter!1211
2025-07-21 11:02:23 +00:00
chendejin fcdaabfcab submodule: update connectedhomeip to 87cf8e5030 2025-07-21 10:26:20 +08:00
Shu Chen 26f4e4d3f4 Merge branch 'backport_1_4_add_missing_flags_of_attributes' into 'release/v1.4'
[backport1.4][components] Add missing writeable flag for some attributes

See merge request app-frameworks/esp-matter!1192
2025-07-02 09:21:28 +00:00
liyashuai 99a7d89396 [backport1.4][components] Add missing writeable flag for some attributes 2025-06-27 10:38:49 +08:00
Hrishikesh Dhayagude c6e2b3d969 Merge branch 'fix/esp_matter_docker_v1.4' into 'release/v1.4'
[v1.4]tools/docker: Fixed the docker build for idf path export issue

See merge request app-frameworks/esp-matter!1181
2025-06-24 01:38:07 +08:00
Hrishikesh Dhayagude 0a73dcc68d Merge branch 'backport/color_temp_min_mireds' into 'release/v1.4'
[v1.4] components/esp_matter: Fixed the default value for color temperature physical min mireds attribute.

See merge request app-frameworks/esp-matter!1183
2025-06-23 23:49:23 +08:00
shripad621git f48f7f5f0b [v1.4] components/esp_matter: Fixed the default value for color temperature physical min mireds attribute 2025-06-23 15:21:59 +05:30
shripad621git 7cb303b377 [v1.4]tools/docker: Fixed the docker build for idf path export issue 2025-06-23 14:18:19 +05:30
Hrishikesh Dhayagude 82db370b4e Merge branch 'fix/docker_build_v1.4' into 'release/v1.4'
[v1.4] tools/docker: Fixed the esp-matter docker image for the idf path export.

See merge request app-frameworks/esp-matter!1180
2025-06-20 18:24:20 +08:00
shripad621git 7cf279bd5c [v1.4] tools/docker: Fixed the esp-matter docker image for the idf path export
- The latest esp-matter docker image for failing on
  the esp-idf path export.
- Fixed the export path issue as per latest changes
  in esp-idf export script.
2025-06-20 14:37:57 +05:30
Shu Chen 41e8499b7a Merge branch 'icd/dynamic_disable_enable_v1_4' into 'release/v1.4'
[backport release/v1.4] esp_matter: Add support for disabling/enabling ICD server dynamically

See merge request app-frameworks/esp-matter!1176
2025-06-18 08:01:40 +00:00