Commit Graph

819 Commits

Author SHA1 Message Date
Hrishikesh Dhayagude f8f8f0d5a2 Merge branch 'task/command_apis' into 'main'
esp_matter_command: Adding individual command_create APIs which makes customizing easier

See merge request app-frameworks/esp-matter!68
2022-02-02 10:26:54 +00:00
Hrishikesh Dhayagude 42c0cf63dd Merge branch 'task/endpoint_id_fix' into 'main'
esp_matter_core: Assigning the endpoint id internally

See merge request app-frameworks/esp-matter!67
2022-02-02 07:44:27 +00:00
Chirag Atal 973fdb389c esp_matter_command: Adding individual command_create APIs which makes customizing easier 2022-02-02 13:02:25 +05:30
Chirag Atal 1fc7c1485f esp_matter_core: Assigning the endpoint id internally
Also added support for endpoint's device_type_id
2022-02-02 11:53:54 +05:30
Hrishikesh Dhayagude 03f064c76e Merge branch 'task/endpoint_delete' into 'main'
esp_matter: Add support for endpoint_delete() API

See merge request app-frameworks/esp-matter!63
2022-02-01 13:30:26 +00:00
Chirag Atal 169feb9e16 esp_matter: Add support for endpoint_delete() API
Also added some additional checks for the data model APIs.
2022-01-31 14:27:18 +05:30
Hrishikesh Dhayagude 1c6e6fd96a Merge branch 'task/command_callback' into 'main'
matter_command: Add callback support for custom commands.

See merge request app-frameworks/esp-matter!62
2022-01-31 08:40:47 +00:00
Hrishikesh Dhayagude d7fd50a1b8 Merge branch 'task/zap_common' into 'main'
zap_common: Added common zap code here which overrides the zap-generated

See merge request app-frameworks/esp-matter!58
2022-01-31 06:45:24 +00:00
Chirag Atal dec7e3cf7f matter_command: Add callback support for custom commands. 2022-01-28 18:42:58 +05:30
Chirag Atal 1e265d93bc zap-generated: Making the plugin init callbacks generic by using a common callback instead
esp_matter_cluster: Setting cluster plugin init callback dynamically. The callbacks are then called from the common callback.
2022-01-28 18:26:46 +05:30
Chirag Atal 3f364de9af zap_common: Moving callback-stup to zap_common
Removing cluster specific weak functions from the file
2022-01-28 18:06:18 +05:30
Chirag Atal 7a538e7cff esp_matter: Adding all the clusters to cmake 2022-01-28 18:06:13 +05:30
Chirag Atal 83b9e28590 zap_common: Added common zap code here which overrides the zap-generated
Removed the generic files for light and rainmaker_light examples.
2022-01-28 18:05:22 +05:30
Hrishikesh Dhayagude bb1e9aa101 Merge branch 'update_matter_repo' into 'main'
Matter: Update Matter repo to 1a65c20ed9 based on upstream commit 77ab003e5f

See merge request app-frameworks/esp-matter!64
2022-01-27 17:10:46 +00:00
Hrishikesh Dhayagude 0f964ee2d3 Merge branch 'add-esp32s3-target' into 'main'
Device: Add ESP32-S3 Target in device_hal

See merge request app-frameworks/esp-matter!65
2022-01-27 17:06:53 +00:00
WanqQixiang 9c16cbf318 Add ESP32-S3 Target in device_hal 2022-01-27 18:55:59 +08:00
WanqQixiang 0708e5ba19 Update matter repo to 1a65c20ed9 base on origin 77ab003e5f 2022-01-27 18:41:46 +08:00
Hrishikesh Dhayagude 0113aca55b Merge branch 'bugfix/attribute_defaults' into 'main'
app_driver: Setting the default attribute values for the driver

See merge request app-frameworks/esp-matter!60
2022-01-19 14:00:07 +00:00
Chirag Atal e20183a04e app_driver: Setting the default attribute values for the driver
Getting the default values from the data model and updating the driver with those values.
2022-01-19 16:40:24 +05:30
Hrishikesh Dhayagude fca54535da Merge branch 'fix-read-attributes-error' into 'main'
Bugfix: Fix attribute reading error

See merge request app-frameworks/esp-matter!61
2022-01-19 10:56:33 +00:00
WanqQixiang 91d55669dc Bugfix: Fix attribute reading error 2022-01-19 17:29:36 +08:00
Hrishikesh Dhayagude 9a6df794f9 Merge branch 'fix_esp32h2_errors' into 'main'
Bugfix: Fix ESP32H2 errors after refactor

See merge request app-frameworks/esp-matter!56
2022-01-17 08:47:24 +00:00
WanqQixiang 80909ccc20 Rename app_openthread to esp_matter_openthread 2022-01-14 19:39:07 +08:00
WanqQixiang 83dbaf5795 Fix ESP32H2 errors after refactor 2022-01-11 15:49:45 +08:00
Hrishikesh Dhayagude 735d8af3c5 Merge branch 'task/matter_data_model' into 'main'
esp_matter: Adding data model APIs for endpoints, clusters, attributes and commands

See merge request app-frameworks/esp-matter!48
2022-01-10 12:32:21 +00:00
Chirag Atal a270477e16 esp_matter: Adding data model APIs for endpoints, clusters, attributes and commands.
This is a middle layer between application and chip submodule.
esp_matter_core: Data model APIs in the form of linked lists. It also has the APIs for initialisations for matter.
esp_matter_endpoint: APIs for endpoint. This adds the mandatory clusters for the endpoint.
esp_matter_cluster: APIs for cluster. This adds the mandatory attributes and commands for the cluster.
esp_matter_attribute: APIs for attribute value. It also manages the attribute related matter callbacks.
esp_matter_command: Callback APIs for commands.
esp_matter_attribute: Giving 2 callbacks to the application, pre_attribute and post_attribute.

app_main: Dynamically creating the data model using the top level APIs.
app_matter: Moved to esp_matter_start() in esp_matter. Also moved the post_attribute_callback to esp_matter_attribute and moved the event_callback to app_main.
app_driver: Moved with app_main. Using IDs instead of macros.
app_driver: Changing the console usage from names to IDs.
app_rainmaker: Dynamically creating the rainmaker data model from the matter data model. The endpoint_id, cluster_id, attribute_id need to be handled accordingly.

cmake: Moved the chip submodule sources and includes from app_main to esp_matter.
zap-generated: Using esp_matter_command instead of IMClusterCommandHandler. Dynamically creating the data model instead of using macros from endpoint_config.
zap-generated: Regenerated using the zap tool with matter_root_node and matter_color_dimmable_light device types. Also enabled wifi and thread for network commissioning cluster.
device_hal: Added support for esp32s2 with hollow drivers.

zap_light: Adding another example which uses the zap-generated data model instead of the esp_matter data model.
ci: Added zap_light example to ci.
2022-01-10 14:19:50 +05:30
Hrishikesh Dhayagude 8dd52cf5a7 Merge branch 'add-ota-requestor-for-light-app' into 'main'
Add OTA Requestor for light app and fix on-off command bug

See merge request app-frameworks/esp-matter!52
2021-12-28 04:16:32 +00:00
Shu Chen 879aa4417a Merge branch 'change-ble-log-level' into 'main'
Change ESP32-H2 default BLE_LOG_LEVEL to 1

See merge request app-frameworks/esp-matter!53
2021-12-23 12:43:20 +00:00
WanqQixiang a5d5a4a1a0 Change ESP32-H2 default BLE_LOG_LEVEL to 1 2021-12-23 16:36:15 +08:00
WanqQixiang 26a49b27cb Add OTA Requestor for light app and fix on-off command bug 2021-12-17 19:00:22 +08:00
Shu Chen 4688b10e0c Merge branch 'feature/rio-handling' into 'main'
examples: add route hook support for light APP

See merge request app-frameworks/esp-matter!47
2021-12-13 01:55:16 +00:00
Jiacheng Guo bb835d7baf Support ICMPv6 RIO handling
* Add support for ICMPv6 RIO handling for ESP32
* Update ESP-IDF release to v4.4 for route hook support
2021-12-09 12:15:15 +08:00
Hrishikesh Dhayagude cce565cb75 Merge branch 'feature/update-connectedhomeip-master' into 'main'
submodule: update connectedhomeip to version 2e85d48cf

See merge request app-frameworks/esp-matter!50
2021-12-03 07:01:44 +00:00
Jiacheng Guo 5b383fb9f9 submodule: update connectedhomeip to version 2e85d48cf
* Update ZAP file to include required clusters and commands
* Regenerate ZAP
* Fix build & pairing
* Move OpenThread launch to examples
2021-12-03 11:44:06 +08:00
Hrishikesh Dhayagude 10139666e6 Merge branch 'task/diagnostics_console' into 'main'
esp_matter_console: Add diagnostcs commands support

See merge request app-frameworks/esp-matter!51
2021-12-01 11:01:40 +00:00
Chirag Atal 45fff75fcc esp_matter_console: Add console diagnostcs commands support 2021-11-26 19:29:33 +05:30
Hrishikesh Dhayagude b24e526175 Merge branch 'fix/readme' into 'main'
readme: Minor change in the readme for using the chip-device-ctrl

See merge request app-frameworks/esp-matter!49
2021-11-24 07:36:24 +00:00
Chirag Atal 1ed5e62252 readme: Minor change in the readme for using the chip-device-ctrl 2021-11-24 12:22:12 +05:30
Hrishikesh Dhayagude 1462298481 Merge branch 'feature/ci-autoformat' into 'main'
ci: add clang-format

See merge request app-frameworks/esp-matter!46
2021-11-15 18:09:21 +00:00
Jiacheng Guo 5f89fc352b ci: add pre-commit 2021-10-25 17:41:36 +08:00
Jiacheng Guo ff861b03be ci: format current code 2021-10-25 17:41:34 +08:00
Jiacheng Guo 9576cdd055 ci: add auto format scripts 2021-10-25 17:40:18 +08:00
Shu Chen db2b57b032 Merge branch 'bugfix/matter-init' into 'main'
examples: post Matter initialization to the scheduler

See merge request app-frameworks/esp-matter!45
2021-10-25 01:56:50 +00:00
Jiacheng Guo c40bf209b4 examples: post Matter initialization to the scheduler
This MR moves Matter stack initialization to the scheduler to prevent
stack overflow on the main task.
2021-10-22 16:38:53 +08:00
Hrishikesh Dhayagude 70c0da34d9 Merge branch 'task/optimise_ci' into 'main'
ci: Clone repos using references from local server

See merge request app-frameworks/esp-matter!44
2021-10-22 07:55:49 +00:00
Shivani Tipnis cadec00be3 ci: Clone repos using references from local server
Update submodule from local reference
2021-10-22 11:17:28 +05:30
Shu Chen b72bc56ef3 Merge branch 'update_chip_submodule_to_TE6' into 'main'
Submodule: update connectedhomeip submodule to test_event_6_esp branch

See merge request app-frameworks/esp-matter!43
2021-10-18 02:35:57 +00:00
WanqQixiang a54b1e0f42 Submodule: update connectedhomeip submodule to test_event_6_esp branch
The test_event_6_esp branch fixes some errors for esp32h2 platform based on TE6 branch
2021-10-14 20:21:59 +08:00
Hrishikesh Dhayagude 48bdceefca Merge branch 'task/matter_console' into 'main'
esp_matter_console: Separating console/shell into another component

See merge request app-frameworks/esp-matter!33
2021-10-13 09:54:48 +00:00
Chirag Atal 0411e34a9b esp_matter_console: Separating console/shell into another component
The removes the shell APIs from app_main and also adds provision for other components to add their own commands.
2021-10-13 14:43:28 +05:30