Commit Graph

204 Commits

Author SHA1 Message Date
WanqQixiang 968ff042a8 CI: add astyle pre-commit hook 2026-02-03 15:30:42 +08:00
WanqQixiang baf5959df1 submodule: update connectedhomeip submodule to commit id 8f943388af 2026-01-19 08:37:19 +08:00
Rohit 5e56b173d2 components/esp-matter: Fix the delegate initialization flow. Fixes:https://github.com/espressif/esp-matter/issues/1630 2026-01-13 17:12:18 +05:30
Rohit ba887f9f6a components/esp-matter: Fix the set_val call and add RAII lock. 2025-12-18 10:31:49 +05:30
WanqQixiang f29635598a esp_matter: fix duplicated add_bounds callback and remove add bounds callback for identify cluster 2025-12-01 15:14:01 +08:00
WanqQixiang d634e1ecc5 controller: Add dynamic server support for controller as an OTA provider 2025-10-31 14:06:03 +08:00
liyashuai 981459a228 components/esp-matter: Initialize CONFIG_ESP_MATTER_NVS_PART_NAME nvs partition before accessing 2025-09-24 10:26:16 +08:00
WanqQixiang 9d7ff306f6 esp_matter: Add data model provider for esp_matter data model and remove upstream ember codes from esp_matter component 2025-09-02 10:16:06 +08:00
Hrishikesh Dhayagude a3bcf6bde9 Merge branch 'esp_matter/revert_group_data_provider_resize' into 'main'
esp_matter: revert the group data provider resizing

See merge request app-frameworks/esp-matter!1233
2025-08-28 18:21:38 +08:00
WanqQixiang c0fe4b57bf revert commit c91d9d5a components/esp_matter: resize group data provider when ep count change 2025-08-28 11:00:26 +08:00
mahesh 8b753a86b3 esp_matter/component: Add api for setting server initialization parameters 2025-08-22 11:28:24 +05:30
shripad621git 250c2e8af6 components/esp_matter: esp-matter component changes for the submodule
- Added esp-matter codegen integration files for migrated clusters.
- Fixed the commissioning flow for wifi and thread due to migration of network commissioning instances from platform to example.
- Fixed the spell check issues for the modified files.
- Fixed the decode method syntax for fabric scoped commands.
- Modified the cluster revisions for few clusters as per spec.
2025-08-21 15:22:22 +05:30
WanqQixiang 13a15243cc esp_matter: create a data_model directory and move data_model related codes to it 2025-07-25 15:59:35 +08:00
Hrishikesh Dhayagude 6a77422d0c Merge branch 'thread-safety' into 'main'
components/esp-matter: Scheduled delegate initialisation on chip task.

See merge request app-frameworks/esp-matter!1185
2025-06-30 22:32:46 +08:00
Rohit dab1febe91 components/esp-matter: Scheduled delegate initialisation on chip task.
Fixes https://github.com/espressif/esp-matter/issues/1468
2025-06-26 21:40:19 +05:30
Hrishikesh Dhayagude e8601acc51 Merge branch 'features_configuration_in_endpoint' into 'main'
[components/esp-matter] Remove features parameter from cluster::creater() API.

See merge request app-frameworks/esp-matter!1146
2025-06-26 13:55:18 +08:00
Shubham Patil c91d9d5aa7 components/esp_matter: resize group data provider when ep count change
resize the group data provider when new endpoint is added to the node or
existing one is removed from the node. This is to ensure that endpoints
containing groups cluster that are added after esp_matter::start()
should have storage for groups.

Fixes https://github.com/espressif/esp-matter/issues/1467
2025-06-25 14:52:33 +05:30
Rohit 807abe17a4 components/esp-matter: Move feature creation from cluster to endpoint. 2025-06-16 15:26:01 +05:30
Shu Chen aada4ff458 Merge branch 'icd/dynamic_disable_enable' into 'main'
esp_matter: Add support for disabling/enabling ICD server dynamically

See merge request app-frameworks/esp-matter!1150
2025-06-03 03:43:00 +00:00
WanqQixiang a416a3ec44 esp_matter: Add support for disabling/enabling ICD server dynamically 2025-05-27 08:54:38 +08:00
Shu Chen f5100b4543 Merge branch 'esp_matter/fix_thread_unsafe_assert' into 'main'
esp_matter: Fix thread unsafe usage when rebooting a provisioned Thread device

See merge request app-frameworks/esp-matter!1136
2025-05-20 02:39:45 +00:00
mahesh 014126d148 component/esp_matter: Fix memory corruption caused by double free 2025-05-14 12:09:28 +05:30
WanqQixiang ae8ca4a264 esp_matter: Fix thread unsafe usage when rebooting a provisioned Thread device 2025-05-13 12:00:51 +08:00
Hrishikesh Dhayagude a85011535a Merge branch 'fix-groups-cluster-count' into 'main'
components/esp_matter: get the cluster count from the node details

See merge request app-frameworks/esp-matter!1074
2025-04-27 23:17:22 +08:00
Hrishikesh Dhayagude 5658ae930a Merge branch 'init_identify_when_enable_endpoint' into 'main'
components/esp_matter: init identify after chip::Platform::MemoryInit

See merge request app-frameworks/esp-matter!1101
2025-04-23 16:45:08 +08:00
chendejin e144cd66f2 components/esp_matter: init identify after chip::Platform::MemoryInit 2025-04-22 14:08:53 +08:00
Shu Chen f1f3fb79d1 Merge branch 'fix/not_include_platform_headers' into 'main'
esp_matter: not include platform headers when external platform is used

Closes CON-1607

See merge request app-frameworks/esp-matter!1081
2025-04-17 10:53:59 +08:00
WanqQixiang a68e73d7b4 esp-matter: move Thread stack initialization from esp_matter_chip_init_task() 2025-04-15 19:24:16 +08:00
WanqQixiang ce23eee891 esp_matter: include external platform headers when using external platform 2025-04-11 14:25:28 +08:00
shripad621git afdffde608 esp-matter component and example changes for the submdoule
- Fix the usage of CommissionerControlServer's constructor

- rename memeber variables usage of EmberAfDeviceType
  EmberAfDeviceType::deviceId is renamed to EmberAfDeviceType::deviceTypeId
  EmberAfDeviceType::deviceVersion is renamed to EmberAfDeviceType::deviceTypeRevision

- define actions server endpoint count in gen_config.h

- rename the CLUSTER_MASK_ and ATTRIBUTE_MASK_
  CLUSTER_MASK_x and ATTRIBUTE_MASK_x has been renamed to use
  MATTER_CLUSTER_FLAG_x and MATTER_ATTRIBUTE_FLAG_x

- Also removed the include of empty header file att-storage.h

- remove the command callbacks that are using CHI
  Commands removed:
    - emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback
    - emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback
    - emberAfAdministratorCommissioningClusterRevokeCommissioningCallback
    - emberAfWiFiNetworkDiagnosticsClusterResetCountsCallback
    - emberAfGeneralDiagnosticsClusterTestEventTriggerCallback
    - emberAfGeneralDiagnosticsClusterTimeSnapshotCallback

- Fixed the build for door-lock-app.
2025-04-11 11:43:22 +05:30
Shu Chen 210311d162 Merge branch 'esp_matter/test_event_trigger' into 'main'
esp_matter: Make Test Event Trigger Delegate configurable

See merge request app-frameworks/esp-matter!1086
2025-04-08 11:01:14 +08:00
Mahesh Pimpale af1c92db7d Fix Memory Leak in Endpoint Destroy 2025-04-08 10:57:15 +08:00
Shubham Patil d9c5c4e8f6 components/esp_matter: get the cluster count from the node details
We used to have a static variable to get the groups cluster, but if
people use low level APIs i.e. cluster::create(endpoint,cluster_id,flag)
then group data provider will be falsly initialized since it does not
have the correct group count.
2025-04-07 16:39:12 +05:30
WanqQixiang 0db4a89a92 esp_matter: Make Test Event Trigger Delegate configurable 2025-04-02 18:59:17 +08:00
Hrishikesh Dhayagude 215887f1c0 Merge branch 'factory-reset' into 'main'
components/esp_matter: call ScheduleFactoryReset from esp_matter::factory_reset

See merge request app-frameworks/esp-matter!1062
2025-04-01 17:59:38 +08:00
Hrishikesh Dhayagude 048c52005d Merge branch 'esp_matter/add_destroy_method' into 'main'
Added destroy method for node

See merge request app-frameworks/esp-matter!1054
2025-04-01 17:56:57 +08:00
Mahesh Pimpale df9ed50c79 Added destroy method for node 2025-04-01 17:56:57 +08:00
Shu Chen f5b0c25404 Merge branch 'icd/dynamic_configuration' into 'main'
esp-matter: Make ICD parameters dynamically configurable

See merge request app-frameworks/esp-matter!1055
2025-03-25 14:53:08 +08:00
mahesh 5de07151b0 fix: free attribute metadata memory in cluster destroy 2025-03-18 16:20:21 +05:30
Shubham Patil 8d79750697 components/esp_matter: call ScheduleFactoryReset from esp_matter::factory_reset
ScheduleFactoryReset() additionally removes the fabric data, sends the
server shutting down event and then calls InitiateFactoryReset()
2025-03-03 16:33:51 +05:30
WanqQixiang 773fe29355 esp-matter: Make ICD parameters dynamically configurable 2025-02-26 16:22:04 +08:00
Shubham Patil b4651a1c2f components/esp-matter: code size optimization when adding device types
device-type add() API calls add_device_type().

add_device_type() API already performs a null-check on endpoint, and
logs error when adding device type fails.

Removed the redundant null-check for endpoint and a redundant error log
when adding device-type fails.
2025-01-29 11:12:47 +05:30
Hrishikesh Dhayagude b92d52a8c6 Merge branch 'use-id-based-getter' into 'main'
Use id based getter APIs to get endpoint, cluster, and attribute handle

See merge request app-frameworks/esp-matter!1012
2025-01-29 12:53:18 +08:00
WanqQixiang 22f0648cb9 esp-matter: update connectedhomeip submodule to 9b8fffe0bb 2025-01-17 17:33:18 +08:00
Shubham Patil f00fb9b6e6 components: use id based APIs to get endpoint, cluster, attribute handle 2025-01-17 11:30:52 +05:30
Shubham Patil 33e1193c58 components/esp-matter: remove the unnecessary debug log
Fixes https://github.com/espressif/esp-matter/issues/1221
2024-12-30 12:27:46 +05:30
Shu Chen 8385f952ea Merge branch 'attribute_member_order' into 'main'
components/esp_matter: reorder member in _attribute_t struct for memory optimization

See merge request app-frameworks/esp-matter!954
2024-11-22 09:42:48 +08:00
chendejin 0e4cb28a9b components/esp_matter: reorder member in _attribute_t struct 2024-11-21 16:35:02 +08:00
Hrishikesh Dhayagude 950392866e Merge branch 'esp_matter/component_optimization' into 'main'
Added Singly Linked List with Common Utility Functions

See merge request app-frameworks/esp-matter!853
2024-11-21 13:50:11 +08:00
Shubham Patil 0f45214c96 components/esp-matter: use the macro defined for defining max groups per
fabric per endpoint
2024-11-18 13:26:44 +05:30