Commit Graph

40 Commits

Author SHA1 Message Date
WanqQixiang 30edd36b52 submodule-update: Update connectedhomeip submodule to 7e69c66bb for matter 1.1 TE1 2023-01-31 17:27:21 +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
Rohit Jadhav b6c90fbf8b Added support of attributes, commmands, features for thermostat cluster 2022-12-06 11:04:03 +05:30
WanqQixiang ba454ce389 esp_matter: Add support for nullable attribute setting and getting 2022-11-02 16:50:25 +08:00
WanqQixiang 8160c16dd7 Submodule: Update connectedhomeip repo to commit 4f7669b0 in v1.0 branch 2022-09-27 20:40:27 +08:00
WanqQixiang af5ac793d1 esp_matter_bridge: Add aggregator device type and add parent_endpoint_id for bridged_endpoint
example: Add aggregator endpoint for bridge examples
2022-09-09 14:11:53 +08:00
PSONALl 05d689c7a7 Add support of window covering device type 2022-09-06 12:01:49 +05:30
liyashuai 438ceb36b9 user-label: add-user-label-cluster 2022-09-01 19:53:48 +08:00
Chirag Atal 7ab1b365e6 esp_matter: Data model fixes according to spec 2022-09-01 10:26:57 +05:30
WanqQixiang ec0fdec8f3 Submodule: Update connectedhomeip submodule to current master(06457aea2d) 2022-08-17 19:12:24 +08:00
WangQixiang 0e26d72977 Bugfix: Make ota_requestor update_progress nullable and set the update_possible default to true 2022-07-27 10:28:00 +08:00
WangQixiang 68f7bd088b Bugfix:Change the defaults_ota_provider type from octstr to array 2022-07-27 10:28:00 +08:00
WangQixiang 4cfcf617c9 Feature: Add NumberOfPrimaries, PrimarynX, PrimarynY and PrimarynIntensity attributes in ColorControl cluster 2022-07-26 19:59:18 +08:00
WanqQixiang 825e9ad3c8 Feature: Add optional features & attributes in basic cluster and wifinetworkdiag cluster 2022-07-06 16:52:13 +08:00
WanqQixiang a19f555c90 Features: Add optional features APIs for LevelControl cluster.
Bugfix: Add NULLABLE flag for start_up_on_off attribute.
2022-07-05 11:57:16 +08:00
WanqQixiang 51c0032c50 bugfix: Add nonvolatile attribute initializing for on_off cluster 2022-07-01 11:27:35 +08:00
WanqQixiang c23555fcf7 Cluster: Add enhanced-hue and color-loop features to color-control cluster 2022-06-30 11:41:33 +08:00
liyashuai a0adf7f926 esp-matter: add some missing attributes 2022-06-29 15:13:46 +08:00
jerry b99169db24 submodule: update the matter SDK to the commit c38e915 2022-06-27 14:37:03 +08:00
WanqQixiang 660cb42c4c Bugfix: Avoid using 'using namspace' in headers 2022-06-17 16:14:23 +08:00
Chirag Atal 62c20badfc esp_matter_cluster: Add wifi and thread diagnostics clusters 2022-06-03 10:50:17 +05:30
Chirag Atal adc45fb552 esp_matter: Add support for more device types
Also other minor doc changes.
2022-05-28 07:43:20 +08:00
Chirag Atal 039589befc esp_matter_endpoint: Adding more device types 2022-05-28 07:42:00 +08:00
Chirag Atal 82ecf9fa05 device_hal: Restructuring to make the usage flexible.
button_driver: Add support for gpio and adc from esp-iot-solution.
led_driver: Renamed light_driver to led_driver.
app_driver: Using this restructured device_hal.
app_driver: Added toggle based on button_driver.
2022-05-04 10:38:24 +05:30
Chirag Atal 0685068c26 esp_matter: Using namespaces for IDs instead of using macros from submodule
examples: Similar changes
esp_matter_rainmaker: Adding rainmaker namespace and similar IDs instead of macros.
2022-04-07 15:45:07 +05:30
Chirag Atal dc92697de8 esp_matter: API documentation
Also some other minor restructurings.
2022-04-07 11:36:02 +05:30
Chirag Atal b4d240e4a1 esp_matter: Using namespaces everywhere
Adding constructors to structs for default values of the cluster configs.
esp_matter_command: Removing the support for custom command callbacks and instead using the standard command callback itself. Also some other minor changes to make it easier for the application to use the standard command callback.
2022-04-06 10:55:58 +05:30
Chirag Atal 8a14138e17 esp_matter_feature: Add support for cluster features
esp_matter_endpoint: Adding these features to the cluster based on the device types.
esp_matter_cluster: Calling the feature APIs based on the features selected.
2022-04-05 11:13:22 +05:30
Chirag Atal 6a28250523 esp_matter_core: Fix the default attribute value
The default value of the attribute being set when creating the submodule data model was incorrect.
Also adding support for attribute bounds.
2022-03-28 12:02:30 +05:30
Chirag Atal 205a25913a esp_matter_attribute: Adding wrappers for all attribute_create() APIs
esp_matter_cluster: Removing configs for attributes which are handled internally.
esp_matter_attribute_utils: Renamed the old esp_matter_attribute files.
2022-03-22 11:05:50 +05:30
Chirag Atal 11d0bb9733 app_rainmaker: Add support for custom rainmaker cluster
This also adds the custom attribute and custom command for required user node association.
sdkconfig.defauls: Setting self claim by default. This does not get set for esp32, since the config option is not valid for esp32.
2022-03-21 11:49:06 +05:30
Chirag Atal 2f41c1d7a1 submodule: Updating submodule to current master (commit id: 10b804696)
esp_matter_command: Removing the response commands support. This is now managed internally for each command separately.
esp_matter_command: Adding another flag for commands. This is used to generate the command lists.
esp_matter_core: Add support for client generated and server generated command lists in clusters.
esp_matter_core: Add support for data versions for endpoints and minor restructuring.
esp_matter_core: Add support to lock and unlock chip_stack. Using this lock in esp_matter_attribute for reading and writing attributes.
esp_matter_client: Binding changes.
esp_matter_cluster: Changing binding commands to binding attribute.
esp_matter_cluster: Adding the clusters/attributes/commands which were 'not implemented' before and are supported now.

esp_matter_cluster: Minor renames.
esp_matter_attribute: Minor changes.
esp_matter_ota: Minor changes.

zap-generated: Removing CHIPClusters.cpp and CHIPClientCallbacks.cpp and updating their corresponding header files.
zap-generated: Minor changes in gen_config.h, callback-stub.cpp and endpoint_config.h.
zap-generated: Added new empty files to prevent cmake warnings.
zap-generated: Updated zap_light's zap-generated.
2022-03-15 14:42:38 +05:30
Chirag Atal 01e00cbf7d esp_matter_attribute: Passing esp_matter_attr_val_t by reference instead of passing it as value everywhere. 2022-03-10 20:15:49 +05:30
Chirag Atal cc83b3db4b esp_matter_attribute: Moving the console commands for get/set attributes from the application to esp_matter
These commands support both zap data model and esp matter data model applications.
2022-03-10 19:09:54 +05:30
Chirag Atal ce9b734d56 esp_matter_attribute: Fix attribute values for uint16 and strings
This includes all the attributes other than uint8.
Using memcpy instead of just setting the pointers.
Also allocating and freeing the buffers for arrays and strings.
2022-03-10 19:09:48 +05:30
Chirag Atal b55cbf6661 esp_matter_client: Adding APIs to support connect and then sending commands from a client
zap_common: Adding all the client commands.
switch: Removing binding handler from the example since it is already handled in esp_matter.
switch/app_driver: Add support for sending commands.
2022-02-23 18:29:57 +05:30
Chirag Atal 5b61445b77 esp_matter: Add support for thermostat device type 2022-02-08 18:21:09 +05:30
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
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