2310 Commits

Author SHA1 Message Date
Chirag Atal c3421f528b app_rainmaker: Set power as the primary param. 2022-05-04 10:43:53 +05:30
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 b7a380e556 attribute: Add nvs support 2022-05-04 10:38:24 +05:30
Shu Chen 0fe97e5ae0 Merge branch 'feature/external-platform-example' into 'main'
example: add example for adding external platform

See merge request app-frameworks/esp-matter!100
2022-05-03 10:20:06 +08:00
Jiacheng Guo 82c5c7b686 example: add example for adding external platform 2022-04-29 21:11:35 +08:00
Shu Chen d1be1d898a Merge branch 'fix-errors-esp32h2-bridge' into 'main'
bugfix: Fix lighting app on esp32h2 and bridge-zigbee app errors

See merge request app-frameworks/esp-matter!112
2022-04-29 10:16:51 +08:00
WangQixiang 860ab38e86 Fix lighting app of esp32h2 and bridge-zigbee app errors 2022-04-28 20:40:03 +08:00
Hrishikesh Dhayagude 7e8c6da7bc Merge branch 'task/submodule_update_6109d1434' into 'main'
submodule: Update the submodule to 6109d14

See merge request app-frameworks/esp-matter!109
2022-04-28 14:54:54 +08:00
Hrishikesh Dhayagude b81a5dc907 Merge branch 'bugfix/rainmaker_command' into 'main'
esp_matter_rainmaker: Fix incorrect secret key

See merge request app-frameworks/esp-matter!111
2022-04-28 13:27:04 +08:00
WangQixiang 8b38f49292 Fix CI failure of bridge app 2022-04-27 09:39:21 +05:30
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 2d03b733b5 esp_matter_rainmaker: Fix incorrect secret key
strrchr() was being used with a non-null terminated string. This caused the secret key to be outside of the range of the actual data. Fixed it by using a different logic.
2022-04-25 11:19:24 +05:30
Hrishikesh Dhayagude 87b32ae579 Merge branch 'task/api_documentation' into 'main'
esp_matter: API documentation

See merge request app-frameworks/esp-matter!104
2022-04-21 17:31:36 +08:00
Hrishikesh Dhayagude 270dcc9dbe Merge branch 'task/attribute_override' into 'task/api_documentation'
attribute: Add support for overriding attribute read and write

See merge request app-frameworks/esp-matter!106
2022-04-13 19:55:35 +08:00
Chirag Atal 62a4fbbd3d attribute: Add support for overriding attribute read and write
This can also be used for an attribute whose value is dynamic and needs to be fetched from the application.
2022-04-13 16:50:00 +05:30
Hrishikesh Dhayagude 4342f0718f Merge branch 'task/id_namespaces' into 'task/api_documentation'
esp_matter: Using namespaces for IDs instead of using macros from submodule

See merge request app-frameworks/esp-matter!105
2022-04-13 14:25:30 +08:00
Hrishikesh Dhayagude 7484ec2b03 Merge branch 'task/namespaces' into 'main'
esp_matter: Using namespaces everywhere

See merge request app-frameworks/esp-matter!103
2022-04-13 14:07:20 +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
Hrishikesh Dhayagude f8d24f762b Merge branch 'task/cluster_features' into 'main'
esp_matter_feature: Add support for cluster features

See merge request app-frameworks/esp-matter!102
2022-04-07 13:20:41 +08:00
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
Hrishikesh Dhayagude fc05a39652 Merge branch 'task/rainmaker_restructure' into 'main'
app_rainmaker: Restructure

See merge request app-frameworks/esp-matter!101
2022-04-05 12:16:02 +08:00
Chirag Atal 4eae357b74 esp_matter_rainmaker: Add another attribute for node_id to the custom cluster 2022-04-04 11:21:51 +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 09cfb92bd4 esp_matter_rainmaker: Moving the custom rainmaker cluster from the application to this component
app_rainmaker: Minor restructuring for easier maintainability.
2022-04-04 11:21:44 +05:30
Hrishikesh Dhayagude 5757056f9c Merge branch 'task/endpoint_config' into 'main'
examples/app_main: Making the endpoint_configs local instead of global

See merge request app-frameworks/esp-matter!98
2022-03-29 22:28:06 +08:00
Chirag Atal c4adabf075 examples/app_main: Making the endpoint_configs local instead of global
The attributes values are now allocated and copied internally. So not using the endpoint_config as the storage for the attributes.
app_main: Adding default for hue. Also adding defaults for zap_light.
2022-03-29 11:05:21 +05:30
Hrishikesh Dhayagude f491dbf960 Merge branch 'task/attribute_wrapper' into 'main'
esp_matter_attribute: Restructuring and fixing the default value

See merge request app-frameworks/esp-matter!95
2022-03-29 00:30:30 +08:00
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
Hrishikesh Dhayagude 2eb945f281 Merge branch 'bugfix/enable_dynamic_endpoint' into 'main'
esp_matter_attribute: Fix enable/disable dynamic endpoint without chip stack lock

See merge request app-frameworks/esp-matter!99
2022-03-25 02:00:45 +08:00
InfiniteYuan b1d8f44f40 esp_matter_attribute: Fix enable dynamic endpoint without chip stack lock 2022-03-22 21:58:31 +08:00
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
Hrishikesh Dhayagude e4ce659fd2 Merge branch 'task/rainmaker_cluster' into 'main'
app_rainmaker: Add support for custom rainmaker cluster

See merge request app-frameworks/esp-matter!94
2022-03-21 20:55:50 +08:00
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
Hrishikesh Dhayagude e1d328e109 Merge branch 'task/submodule_update' into 'main'
submodule: Updating submodule to current master (commit id: 10b804696)

See merge request app-frameworks/esp-matter!86
2022-03-15 19:32:54 +08:00
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
Hrishikesh Dhayagude 9322d4168b Merge branch 'task/dac_in_factory' into 'main'
ESP Matter DAC Provider

See merge request app-frameworks/esp-matter!55
2022-03-15 12:47:15 +08:00
Shubham Patil 7d86056771 Script to generate the DACs and matter factory partition 2022-03-14 17:23:32 +05:30
Shubham Patil 025f04c93c Added esp_matter_dac and using it in esp_matter_core 2022-03-14 17:23:26 +05:30
Shubham Patil 7a80a295de esp_matter_factory: Helpers to read values from factory partition 2022-03-14 17:21:49 +05:30
Hrishikesh Dhayagude 771e4c41fd Merge branch 'bugfix/attribute_values' into 'main'
esp_matter_attribute: Fix attribute values for uint16 and strings

See merge request app-frameworks/esp-matter!92
2022-03-14 17:32:17 +08:00
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
Hrishikesh Dhayagude f728458c91 Merge branch 'readme-change' into 'main'
Update switch readme

See merge request app-frameworks/esp-matter!91
2022-03-10 18:35:07 +08:00
PSONALl 13755cb263 Update switch readme 2022-03-10 15:18:17 +05:30
Hrishikesh Dhayagude a2360d9d77 Merge branch 'default_config' into 'main'
Add default configs for light

See merge request app-frameworks/esp-matter!93
2022-03-10 13:21:18 +08:00
PSONALl ee7a45f8f1 Add default configs for light 2022-03-09 13:21:03 +05:30