Commit Graph

41 Commits

Author SHA1 Message Date
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 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 880195c7bd readme: Memory numbers update
Also docs link update
blemesh_bridge: Readme fixes
esp_matter_cluster: Add missing cluster_revision attributes
2022-06-16 18:30:28 +05:30
Chirag Atal 62c20badfc esp_matter_cluster: Add wifi and thread diagnostics clusters 2022-06-03 10:50:17 +05:30
Chirag Atal 533ab129ee esp_matter: Data model fixes
- Removed color_dimmable_light
- Fixed identify cluster for switch
- Fixed basic cluster on all endpoints
- Passing NULL config for client clusters
2022-06-03 10:50:10 +05:30
Chirag Atal 196ed4b579 esp_matter_cluster: Creating binding attribute by default if another client cluster is created 2022-05-28 07:43:20 +08:00
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 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 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 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 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
Hrishikesh Dhayagude e2ea96ee14 Merge branch 'temperature_sensor_app' into 'main'
Add temerature sensor device in esp-matter

See merge request app-frameworks/esp-matter!73
2022-03-03 12:24:19 +08:00
Hrishikesh Dhayagude 6f8acdeb83 Merge branch 'task/client_clusters' into 'main'
esp_matter_client: Adding APIs to support connect and then sending commands from a client

See merge request app-frameworks/esp-matter!72
2022-03-03 12:12:38 +08:00
PSONALl 25b3414971 Add temerature sensor device in esp-matter 2022-03-02 22:36:40 +05:30
PSONALl 7284193cca Add support of door lock device type 2022-03-02 20:09:01 +05:30
PSONALl bc45912d0e Add fan device type to esp-matter 2022-03-02 10:01:40 +05:30
Chirag Atal 33ae626960 esp_matter_cluster: Compilation fixes after the masks was changed to flags. 2022-02-25 17:41:52 +05:30
Hrishikesh Dhayagude 7410b091eb Merge branch 'task/switch_server' into 'main'
esp_matter_cluster: Add support for switch cluster

See merge request app-frameworks/esp-matter!83
2022-02-25 07:23:03 +00:00
Chirag Atal ab94a54194 esp_matter_cluster: Add support for switch cluster
esp_matter_events: Renaming to APIs to match with the new client command APIs.
2022-02-23 19:47:07 +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 ddf15359ea esp_matter: Using the flags enums instead of mask macros for endpoints, clusters, attributes, commands. 2022-02-17 16:42:36 +05:30
WanqQixiang 82de9551e1 Add bridged_node endpoint template 2022-02-10 13:58:19 +08:00
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 925d598df0 esp_matter_cluster: Adding cluster functions support 2022-02-02 16:31:30 +05:30
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 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
WanqQixiang 0708e5ba19 Update matter repo to 1a65c20ed9 base on origin 77ab003e5f 2022-01-27 18:41:46 +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