Commit Graph

2308 Commits

Author SHA1 Message Date
Hrishikesh Dhayagude 5324ccca48 Merge branch 'skip-codegen-impl-clusters' into 'main'
Skip Cluster Init/shutdown callbacks generation for clusters using codegen/ implementations

See merge request app-frameworks/esp-matter!1515
2026-04-24 13:16:52 +08:00
Mahesh Pimpale 4209c20359 data_model_gen: treat clusters with codegen implementation as non-SCI/non-migrated 2026-04-23 14:12:54 +05:30
Hrishikesh Dhayagude b898cb91fd Merge branch 'optimize-docker' into 'main'
tools/docker: optimize size of chip_idf Dockerfile

See merge request app-frameworks/esp-matter!1389
2026-04-22 13:47:24 +08:00
Shu Chen 30b0f6ea74 Merge branch 'fix/network-diag-cluster-guard' into 'main'
components/esp_matter: gate network diagnostics clusters on transport config

See merge request app-frameworks/esp-matter!1495
2026-04-20 10:02:31 +00:00
Shubham Patil 588322c892 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-17 13:57:27 +05:30
Hrishikesh Dhayagude 5ee367a862 Merge branch 'fix_controller_remove_keyset' into 'main'
components/esp_matter_controller: fix remove group keyset

See merge request app-frameworks/esp-matter!1505
2026-04-17 13:02:08 +08:00
Hrishikesh Dhayagude 8fc33cbef2 Merge branch 'data_model_gen' into 'main'
Add automated data model generation from Matter XML specifications

See merge request app-frameworks/esp-matter!1138
2026-04-16 19:16:06 +08:00
Shu Chen 51d2fdae22 Merge branch 'controller/cb_improve' into 'main'
Controller: callbacks improvement

See merge request app-frameworks/esp-matter!1501
2026-04-16 10:06:53 +00:00
chendejin 84275136b5 components/esp_matter_controller: fix remove group keyset 2026-04-16 17:20:16 +08:00
Hrishikesh Dhayagude 36b7e050b7 Merge branch 'add/webrtc-requestor-integration' into 'main'
Add webrtc transport requestor integration

See merge request app-frameworks/esp-matter!1425
2026-04-16 13:42:36 +08:00
Mahesh Pimpale 42075d5c75 components/esp_matter: generated data model using automated script
- data_model/legacy/: moved old data model to this folder
- data_model/generated/: contain the automatically generated data model
- tools/data_model_gen: contains the script to generate the data model
2026-04-15 17:05:50 +05:30
Mahesh Pimpale deca4d8f40 components/esp_matter: Add webrtc transport requestor integration 2026-04-15 16:27:32 +05:30
WanqQixiang 7fea24a7bc controller: callback improvements 2026-04-09 17:55:44 +08:00
Shu Chen da3910cec5 Merge branch 'components/update_device_type_revision_for_matter1_5' into 'main'
components: update device type revision base on matter1.5

See merge request app-frameworks/esp-matter!1450
2026-04-08 04:18:26 +00:00
Shu Chen 4f43d17262 Merge branch 'custom-network-config' into 'main'
components/esp_matter: add CustomNetworkConfig support

See merge request app-frameworks/esp-matter!1453
2026-04-08 04:17:58 +00:00
Hrishikesh Dhayagude b00ea13589 Merge branch 'fix/endpoint_hierarchy' into 'main'
[All-device-types-app] Fix endpoint hierarchy for composite devices

See merge request app-frameworks/esp-matter!1492
2026-04-07 16:43:20 +08:00
Hrishikesh Dhayagude 5513aefebc Merge branch 'add_resource_group/unit_test_app' into 'main'
.gitlab-ci.yml: Add resource group to unit test app

See merge request app-frameworks/esp-matter!1494
2026-04-07 16:42:23 +08:00
Shubham Patil dc665d179d tools/docker: optimize size of chip_idf Dockerfile 2026-04-07 12:42:00 +05:30
shripad621git afdd0bf61f .gitlab-ci.yml: Add resource group to unit test app 2026-04-07 10:52:42 +05:30
Shu Chen 2f6aa4bba5 Merge branch 'feat/decode_command_response_as_json' into 'main'
components/esp_matter_controller: use generic TLV to JSON for command responses decoding

See merge request app-frameworks/esp-matter!1488
2026-04-07 02:42:29 +00:00
Shubham Patil c466b7ce81 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-06 17:13:27 +05:30
Rohit ceca377d7d [All-device-types-app] Fix endpoint hierarchy for composite devices 2026-04-06 15:46:12 +05:30
Hrishikesh Dhayagude c6f767254f Merge branch 'bug/resource-monitoring' into 'main'
components/esp_matter: Fix resource_monitor integration

See merge request app-frameworks/esp-matter!1475
2026-04-02 13:09:55 +08:00
Zhibin (Ryan) Wen e48dc7139b components/esp_matter/test: add jsontlv roundtrip and validation tests
Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-01 14:55:27 +08:00
Zhibin (Ryan) Wen 95e523db22 components/esp_matter: improve integer validation in JSON to TLV conversion
- Add is_integral_json_number() helper to verify JSON numbers represent
  integral values before encoding.
- Add range validation for Int32 and UInt32 types to prevent overflow.
- Fix Int64 and UInt64 string parsing to properly validate input strings
  and detect conversion errors.

Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-01 14:55:26 +08:00
Zhibin (Ryan) Wen a33f7bff11 components/esp_matter_controller: use generic TLV to JSON for command responses decoding
Replace hardcoded cluster-specific decoders with a generic TLV-to-JSON
conversion approach in default_success_fcn.

Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-01 14:55:26 +08:00
Zhibin (Ryan) Wen 387a2f9e44 components/esp_matter: add TLV to JSON conversion utility
Add tlv_to_json.cpp/h which converts CHIP TLV data model payload
to cJSON format for debugging and interoperability.

Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-01 14:55:26 +08:00
Zhibin (Ryan) Wen a06ec909f9 components/esp_matter: move jsontlv utilities to dedicated subdirectory
Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-01 14:55:25 +08:00
Shu Chen d921bef8b5 Merge branch 'fix/relax-examples-expected-log' into 'main'
examples: relax expected log patterns for C2, C3 and H2 tests

See merge request app-frameworks/esp-matter!1489
2026-04-01 06:51:21 +00:00
Zhibin (Ryan) Wen d6ede56b81 examples: relax expected log patterns for C2, C3 and H2 tests
Follow-up of commit ac23b46bde

Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-01 12:18:03 +08:00
liyashuai ad78aadb95 components: update device type revision base on matter1.5 2026-03-31 05:51:51 +00:00
Shu Chen 7706cfbdd1 Merge branch 'ci/drop-idf-v4.4' into 'main'
cleanups: drop ESP-IDF v4.4 from ci and remove check_typos.sh

See merge request app-frameworks/esp-matter!1481
2026-03-31 05:51:38 +00:00
Shu Chen b5275f458b Merge branch 'fix_start_up_event' into 'main'
components/esp_matter: call init callbacks for endpoints created before esp_matter::start

See merge request app-frameworks/esp-matter!1478
2026-03-31 05:49:32 +00:00
Hrishikesh Dhayagude bb0ebb1773 Merge branch 'docs-auto-number' into 'main'
docs: a few enhancements like auto numbering and auto sorting

See merge request app-frameworks/esp-matter!1437
2026-03-31 13:03:03 +08:00
Shubham Patil fe39d7229b ci: remove redundant check_typos job, superseded by pre_commit_check 2026-03-31 09:28:36 +05:30
Shubham Patil a635162c2d ESP-IDF v4.4 is EOL, remove it from ci 2026-03-31 09:21:28 +05:30
Hrishikesh Dhayagude 437d81f785 Merge branch 'unit-test-app' into 'main'
unit tests framework with QEMU CI

See merge request app-frameworks/esp-matter!1321
2026-03-30 13:20:51 +08:00
Shu Chen 7bd359d502 Merge branch 'remove_path_check_in_eventinfo' into 'main'
esp_matter/data_model_provider: Remove path check from EventInfo

See merge request app-frameworks/esp-matter!1454
2026-03-30 01:44:16 +00:00
Rohit 9ba1ae939a components/esp_matter: Fix resource_monitor integration 2026-03-27 15:57:13 +05:30
Hrishikesh Dhayagude e7e58c0b3b Merge branch 'fix/attribute_api' into 'main'
components/esp-matter: Fix API name as per the spec.

See merge request app-frameworks/esp-matter!1474
2026-03-27 18:26:22 +08:00
chendejin cade5352c4 components/esp_matter: call init callbacks for endpoints created before esp_matter::start 2026-03-27 11:02:43 +08:00
Rohit cbd05e669d components/esp-matter: Fix API name as per the spec. 2026-03-26 11:29:01 +05:30
Shu Chen 5fdbda7880 Merge branch 'change_identify_type_flag_to_none' into 'main'
data model: change identify type attribute flag to ATTRIBUTE_FLAG_NONE to fix init failed

See merge request app-frameworks/esp-matter!1446
2026-03-26 04:05:47 +00:00
Shubham Patil fe57fa6cf1 ci: add QEMU target to uni-test-app to be able to run in ci
- Add pytest_unit_test_app.py with per-group test functions (each gets
  a fresh QEMU boot to handle the single esp_matter::start() constraint)
- Add build_unit_test_app_qemu and pytest_unit_test_app_qemu CI jobs
- Disable WiFi and use QEMU virtual Ethernet in sdkconfig.defaults
- Register host_test and qemu pytest markers
- Document local QEMU test setup in README
2026-03-25 17:49:40 +05:30
Shubham Patil 5f799b4f5a components/esp-matter: unit tests for attribute::{update,report} 2026-03-25 17:49:40 +05:30
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
liyashuai 341e5fbefc 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-03-25 19:07:33 +08:00
liyashuai 6ba9eb5de4 esp_matter/data_model_provider: Remove path check from EventInfo
fixes: 1731: https://github.com/espressif/esp-matter/issues/1731#issuecomment-4040543801
2026-03-25 12:25:51 +08:00
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