Commit Graph

27 Commits

Author SHA1 Message Date
WanqQixiang 9d7ff306f6 esp_matter: Add data model provider for esp_matter data model and remove upstream ember codes from esp_matter component 2025-09-02 10:16:06 +08:00
Rohit 640d5d8dc5 [led_driver] Add XY color control support and update app_driver of light example to handle CurrentX and CurrentY attributes 2025-06-05 10:53:59 +05:30
shripad621git 768163a9da examples: Update the button component to latest version.
- Driver specific changes for updated button component in examples.
- Updated the device_hal code for button component upgrade.
- Updated the idf_component.yml of examples to use latest version of espressif/cmake_utilities.
2025-04-11 11:43:03 +05:30
chendejin 3bd14ffb60 revert 41ec0e2943 2025-03-19 12:16:45 +08:00
mahesh 699d8d0f78 examples: simplified attribute retrieval api 2024-08-20 16:58:59 +05:30
Vilem Zavodny bed4aa92e3 fix: Fixed boot GPIO number on ESP32C6, ESP32H2 and ESP32C3. 2024-03-06 10:11:40 +01:00
Vilem Zavodny 41ec0e2943 Changed HAL to use BSP 2024-01-30 07:46:48 +01:00
WanqQixiang 0e8dcb9c60 Update connectedhomeip submodule to 8e3d98c039 2023-12-15 15:24:54 +08:00
Rohit Jadhav 54741bea51 Updated button idf_component to 2.3.0 2022-11-25 16:19:51 +05:30
WanqQixiang 8160c16dd7 Submodule: Update connectedhomeip repo to commit 4f7669b0 in v1.0 branch 2022-09-27 20:40:27 +08:00
Chirag Atal 70ffba8cc6 app_driver: Using app_driver_handle_t instead of void pointer. 2022-08-04 13:55:48 +05:30
Chirag Atal 09eba3f455 app_driver: Restructuring setting the driver to default value
led_driver: Removing the get() APIs
2022-08-03 19:45:56 +05:30
Chirag Atal 2cc98e1de2 led_driver: Add support for handle
app_main: Passing this handle to the endpoint as priv_data and using the handle in the driver on attribute_update.
2022-08-03 11:58:13 +05:30
WanqQixiang 660cb42c4c Bugfix: Avoid using 'using namspace' in headers 2022-06-17 16:14:23 +08:00
Chirag Atal 743f5cd90e light: Change color_dimmable_light to color_temperature_light
Added support for temperature in app_driver.
Adding hue and saturation after the color_temperature_light endpoint has been created.
Similar changes in other light examples.
2022-05-28 07:43:20 +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 96c6a92a40 app_reset: Add support for factory reset on button.
esp_matter: Supporting factory reset API.
app_driver: Enabling factory reset on button.
2022-05-04 10:43:44 +05:30
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 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 5a70c12bdb app_rainmaker: Remapping the param values
Also minor restructuring of files in the examples.
Also minor change to the default values to fix remapping.
2022-04-04 11:21:51 +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 1fc7c1485f esp_matter_core: Assigning the endpoint id internally
Also added support for endpoint's device_type_id
2022-02-02 11:53:54 +05:30
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