Commit Graph

56 Commits

Author SHA1 Message Date
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
Shubham Patil 07c6617285 components/esp-matter: fix len check for long char and do check for
return value

Also, we should mark the values greater that the expected as invalid and
not the ones with equal to ones.
2025-04-23 19:10:54 +05:30
Shubham Patil f00fb9b6e6 components: use id based APIs to get endpoint, cluster, attribute handle 2025-01-17 11:30:52 +05:30
Rohit Jadhav dcbebd3ae4 components/esp-matter: Fix invalid type from MatterPre and PostAttributeChangeCallback. Fixes https://github.com/espressif/esp-matter/issues/1195 2024-12-16 11:04:17 +05:30
mahesh 8211f89ffe components/esp-matter: Replace conditionals and null checks with CHIP macros in attribute and attribute_utils. 2024-11-14 17:37:52 +05:30
chendejin 0277732d00 components/esp_matter: memory optimization for the attributes managed internally 2024-11-05 13:33:02 +08:00
Rohit Jadhav 7e80758817 CHIP-submodule: Update connectedhomeip submodule to commit 0460715589413cb32e32f1626e43ad8000b84f2d 2024-08-13 19:49:57 +08:00
Rohit Jadhav 29e7777d4a components/esp_matter: Fix size of string to print the value of char string attribute 2024-06-11 14:15:30 +05:30
Shubham Patil 8943861e30 handle setting empty strings
Fixes https://github.com/espressif/esp-matter/issues/802
2024-04-08 19:42:35 +05:30
Hrishikesh Dhayagude 434aa0b676 Merge branch 'pr_863' into 'main'
[GH_PR] support r/w floating(single) value type (CON-1077)

See merge request app-frameworks/esp-matter!674
2024-04-02 12:51:23 +08:00
Shubham Patil d80fc4d789 Fix the format specifier for int8 and uint8
Some compilers do not identify PRIx8 or PRIu8 and shows as hu in logs
and does not print the actual values. So lets use "%u" and "%i" instead.
2024-03-29 11:46:02 +05:30
SEUNGHEE LEE 810a9ca8bc - attribute: support r/w floating(single) value type
- concentration measurement clusters: change attr value type (float)
- remove 'add uncentainty attribute'
- add 'measurement medium' attribute
2024-03-12 21:39:33 +09:00
liyashuai 77d0c849d1 fix build error for submodule update to 1.3-sve 2024-02-27 12:21:28 +08:00
Li Ya Shuai 3c6600df3f fix node label read failure issue 2024-02-06 11:13:21 +08:00
Sayon Deep 30bfa5e470 fixed the override callback to pass priv data
Fixes https://github.com/espressif/esp-matter/issues/741
2024-01-22 13:51:01 +05:30
PSONALl aff8e2e774 Add ethernet network diagnostics cluster 2023-11-28 11:15:04 +05:30
Shubham Patil 71379cc963 Replace strtol with strtoul wherever required 2023-11-01 17:44:35 +05:30
WanqQixiang 23476b3a39 esp_matter: Make the attribute buffer largest configurable 2023-09-11 17:02:46 +08:00
Shu Chen 243a169fd5 Merge branch 'feature/long_char_str' into 'main'
esp-matter: Add support for long char string and long octet string

See merge request app-frameworks/esp-matter!441
2023-08-09 19:24:04 +08:00
WanqQixiang 2aacde317c esp-matter: Add support for long char string and long octet string 2023-08-03 17:38:33 +08:00
Shubham Patil d17fc82fcd Unlock chip stack before returning from attribute::report() API 2023-08-02 13:29:17 +05:30
Rohit Jadhav e965560480 Addressed review comments 2023-07-06 15:13:29 +05:30
Rohit Jadhav f5e80e7482 Added support of mode select 2023-07-06 11:47:53 +05:30
Roman Fortunatov 02fc93d61a Fix nullable float value type 2023-06-04 20:07:38 +10:00
Hrishikesh Dhayagude 99bd741a09 Merge branch 'pr_330' into 'main'
[GH_PR] Provision to add buttons to generic_switch example and typo fix for issue #326. (CON-422)

See merge request app-frameworks/esp-matter!382
2023-05-25 01:26:19 +08:00
Hrishikesh Dhayagude 48965d971a Merge branch 'pr_342' into 'main'
[GH_PR] Added missing conditional statement for ESP_MATTER_VAL_TYPE_INT8. (CON-437)

See merge request app-frameworks/esp-matter!381
2023-05-25 01:23:40 +08:00
shripad621git 9715f21461 Added missing conditional statement for ESP_MATTER_VAL_TYPE_INT8
Fixes https://github.com/espressif/esp-matter/issues/339.
2023-05-23 11:06:33 +05:30
shripad621git 702ac7e94e Fixed the typo mentioned in issue #326
Fixes https://github.com/espressif/esp-matter/issues/326.
2023-05-23 11:01:18 +05:30
Diego Rodríguez Royo f43dc67708 Added detailed information to logs at attribute utils 2023-05-21 11:27:57 +00:00
Hrishikesh Dhayagude 7cfe6c995f Merge branch 'pr_323' into 'main'
[GH_PR] [format_specifier] - Fixes ESP_LOG format specifier mismatches in components/esp_matter (CON-414)

See merge request app-frameworks/esp-matter!356
2023-04-27 00:00:49 +08:00
dhairyashah1 859ea8f023 Fixes format specifier mismatches in ESP_LOG prints & snprintf's using endpoint_id, cluster_id, attribute_id & command_id of components/esp_matter, examples/zigbee_bridge
[examples] Removes '-Wformat=0' flag from root CMakeLists.txt's from examples
Solves and fixes #296

Signed-off-by: dhairyashah1 <dhairya.shah@espressif.com>

[zigbee_bridge] Adds PRI format specifiers in zigbee_bridge.cpp

Signed-off-by: dhairyashah1 <dhairya.shah@espressif.com>
2023-04-19 23:25:11 +05:30
InfiniteYuan 8caa280e4b feature: add attribute report API 2023-04-19 12:05:37 +08:00
WanqQixiang 47e434e3d7 Update default IDF version to v5.0.1 2023-04-12 18:56:27 +08:00
shripad621git 146977123a Indicating Read or Write on Attribute
Fixes #236.
For better debuggig added 'R' or 'W' on the prints for attributes.
2023-04-03 12:46:37 +05:30
Shu Chen f2e77d239e Merge branch 'support-c6-h2' into 'main'
Add support for ESP32-C2, ESP32-C6 and ESP32-H2-MP

See merge request app-frameworks/esp-matter!319
2023-03-24 15:30:52 +08:00
WanqQixiang 7b2912a9e5 submodule: Update connectedhomeip submodule to bc8c9ece1 to support ESP32-C6 and ESP32-H2-MP
docs: Add details for esp32h2, esp32c2, and esp32c6
2023-03-23 21:10:37 +08:00
PSONALl c8babee85a Add support of dynamic memory allocation strategies 2023-03-15 17:54:44 +05:30
WanqQixiang 7cb3b306cb bugfix: Fix the errors for uint64 and bitmap32 value type in get_data_from_attr_val 2023-01-12 16:48:26 +08:00
WanqQixiang f705a89c80 Submodule: Update submodule to the new released tag v1.0.0.1
CI: Activate matter build env before building the examples

sdkconfig: update sdkconfig to disable BT connection reattempt
2022-12-23 17:03:57 +08:00
InfiniteYuan eaa60c345f bugfix: installed_closed_limit_lift is incorrect 2022-12-12 17:26:07 +08:00
WanqQixiang ba454ce389 esp_matter: Add support for nullable attribute setting and getting 2022-11-02 16:50:25 +08:00
WanqQixiang 47a93e6d10 console: refactor esp_matter_console 2022-09-27 10:36:42 +08:00
Rohit Jadhav 08f2f5de38 Support for int32 and int64 data types 2022-09-12 18:15:00 +05:30
Chirag Atal 7ab1b365e6 esp_matter: Data model fixes according to spec 2022-09-01 10:26:57 +05:30
Chirag Atal d719c97b88 endpoint: Added support for priv_data
This priv_data is returned to the application in the attribute_update and the identify callbacks.
2022-08-02 16:01:38 +05:30
WangQixiang ed13200ebf Bugfix: Add check for attribute::set_val 2022-07-27 10:27:55 +08:00
Chirag Atal 5fc57ad4c4 esp_matter_rainmaker: Fixing compilation
esp_matter_attribute: Minor additions
2022-07-11 10:55:03 -04:00
jerry b99169db24 submodule: update the matter SDK to the commit c38e915 2022-06-27 14:37:03 +08:00
Chirag Atal 743f5cd90e light: Change color_dimmable_light to color_temperature_light
Added support for temperature in app_driver.
Adding hue and saturation after the color_temperature_light endpoint has been created.
Similar changes in other light examples.
2022-05-28 07:43:20 +08:00
Chirag Atal 28b385d228 esp_matter: Change all IDs to their correct data types. 2022-05-28 07:42:00 +08:00