Shubham Patil
dc665d179d
tools/docker: optimize size of chip_idf Dockerfile
2026-04-07 12:42:00 +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
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
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
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
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