27 Commits

Author SHA1 Message Date
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 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 10437e4cbe Cluster: Add trigger effect for identify cluster 2022-06-20 20:42:19 +08:00
WanqQixiang 660cb42c4c Bugfix: Avoid using 'using namspace' in headers 2022-06-17 16:14:23 +08:00
Chirag Atal a14fb95d08 esp_matter_core: Check for already existing cluster while creating
If it exists, return the existing one.
Similar checks for attributes and commands.
esp_matter_cluster: Creating attributes only if the cluster is a server.
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 28b385d228 esp_matter: Change all IDs to their correct data types. 2022-05-28 07:42:00 +08:00
Chirag Atal 55e9c353f5 submodule: Update the submodule to 6109d1434
esp_matter_core: Some changes for device type id.
esp_matter_command: Corresponding changes for renaming of command flags.
esp_matter_ota: Corresponding changes from upstream examples.
zap-generated: Added a common access.h with all the clusters and other corresponding changes in endpoint_config.h.
zap_light: Regenerated zap-generated with the same light.zap file.
2022-04-25 19:55:53 +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 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
PSONALl 7284193cca Add support of door lock device type 2022-03-02 20:09:01 +05:30
Hrishikesh Dhayagude 7befdbad22 Merge branch 'task/flags_restructure' into 'main'
esp_matter: Using the flags enums instead of mask macros

See merge request app-frameworks/esp-matter!81
2022-02-24 13:13:26 +00:00
Chirag Atal e45092ea43 esp_matter_command: Sending response for custom commands
Earlier no response was being sent. Now sending the default response.
2022-02-24 15:05:29 +05:30
Chirag Atal ddf15359ea esp_matter: Using the flags enums instead of mask macros for endpoints, clusters, attributes, commands. 2022-02-17 16:42:36 +05:30
Chirag Atal 5b61445b77 esp_matter: Add support for thermostat device type 2022-02-08 18:21:09 +05:30
Sonali Patil 332b42322b Add switch example to control remote device (light) 2022-02-07 17:58:14 +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 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
Chirag Atal dec7e3cf7f matter_command: Add callback support for custom commands. 2022-01-28 18:42:58 +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