Commit Graph

2294 Commits

Author SHA1 Message Date
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
Hrishikesh Dhayagude cb33c40774 Merge branch 'task/qrcode' into 'main'
app_qrcode: Added qrcode to be displayed on the device console for commissioning.

See merge request app-frameworks/esp-matter!34
2021-10-12 14:05:24 +00:00
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
Hrishikesh Dhayagude de57299718 Merge branch 'task/common_callback' into 'main'
esp_matter: Added support for common callbacks for all the attributes

See merge request app-frameworks/esp-matter!31
2021-10-12 11:42:33 +00:00
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
Shu Chen 256582bf0c Merge branch 'bugfix/remove-srp-service-register' into 'main'
bugfix: remove srp service register in on_device_event function

See merge request app-frameworks/esp-matter!41
2021-09-23 11:56:30 +00:00
WanqQixiang 78195e39b6 bugfix: remove srp service register in on_device_event function 2021-09-23 10:43:32 +08:00
Hrishikesh Dhayagude 652df0ac6a Merge branch 'feature/descriptor' into 'main'
Add support of descriptor cluster in esp-matter examples

See merge request app-frameworks/esp-matter!37
2021-09-22 10:25:42 +00:00
PSONALl 3fc15c1038 Add support of descriptor cluster in esp-matter examples 2021-09-22 14:22:59 +05:30
Shu Chen dc7ca0515a Merge branch 'add_esp32h2_example' into 'main'
example: add device esp32h2_devkit_c for example light

See merge request app-frameworks/esp-matter!40
2021-09-16 08:14:11 +00:00
WanqQixiang d1a53e1cf1 example: add device esp32h2_devkit_c to example light 2021-09-16 10:21:28 +08:00
Shu Chen 3499262ef4 Merge branch 'update_chip_repo_to_te5' into 'main'
Matter: Update connectedhomeip submodule to test_event_5 branch

See merge request app-frameworks/esp-matter!39
2021-09-14 09:04:38 +00: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
Hrishikesh Dhayagude 010f0c0399 Merge branch 'feature/move_drivers_components_to_examples_common' into 'main'
Move drivers components to device_hal

See merge request app-frameworks/esp-matter!29
2021-08-31 03:39:32 +00:00
WanqQixiang ce7d09035f drivers: Restructure boards and drivers into device_hal 2021-08-31 10:45:14 +08:00
Hrishikesh Dhayagude 8dd9e78e36 Merge branch 'task/update_ci_setup' into 'main'
ci: Remove depth condition from CI .yml file

See merge request app-frameworks/esp-matter!30
2021-08-26 06:43:25 +00:00
Shivani Tipnis 66efc9287e ci: Remove depth condition from CI .yml file 2021-08-17 12:14:33 +05:30
Hrishikesh Dhayagude 9af0fae34e ESP Matter beta release 2021-08-11 20:19:49 +05:30