Commit Graph

175 Commits

Author SHA1 Message Date
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
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
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
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
WanqQixiang 26a49b27cb Add OTA Requestor for light app and fix on-off command bug 2021-12-17 19:00:22 +08: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
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
Jiacheng Guo ff861b03be ci: format current code 2021-10-25 17:41:34 +08: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
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
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
Chirag Atal 9fe6acd7d3 app_qrcode: Added qrcode to be displayed on the device console for commissioning.
qrcode: Using the qrcode component from esp-idf/examples/common_components.
2021-10-12 18:34:50 +05:30
Chirag Atal 1ba053c862 esp_matter_standard: Adding standard names for endpoints and attributes
Using these standard names in app_driver, app_matter and app_rainmaker files.
2021-10-12 12:24:44 +05:30
Chirag Atal e918dff76e esp_matter: Added support for common callbacks for all the attributes 2021-10-12 12:24:41 +05:30
Chirag Atal e49e0d7d59 cmake: Selecting esp32 as default IDF_TARGET if it is not set explicitly.
This chooses esp32_devkit_c by default if no configuration for the ESP_MATTER_DEVICE_PATH or IDF_TARGET is done.
2021-09-28 13:37:45 +05:30
WanqQixiang 78195e39b6 bugfix: remove srp service register in on_device_event function 2021-09-23 10:43:32 +08:00
PSONALl 3fc15c1038 Add support of descriptor cluster in esp-matter examples 2021-09-22 14:22:59 +05:30
WanqQixiang d1a53e1cf1 example: add device esp32h2_devkit_c to example light 2021-09-16 10:21:28 +08:00
WanqQixiang b64b7f3d3e Matter: Update connectedhomeip submodule to test_event_5_esp branch
The test_event_5_esp branch is based on the upstream test_event_5 branch, and adds platform support for ESP32-H2.
2021-09-14 15:19:51 +08:00
WanqQixiang ce7d09035f drivers: Restructure boards and drivers into device_hal 2021-08-31 10:45:14 +08:00
Hrishikesh Dhayagude 9af0fae34e ESP Matter beta release 2021-08-11 20:19:49 +05:30