Commit Graph

47 Commits

Author SHA1 Message Date
liyashuai 4916723edc update attribute value in color light for v1.0 certified 2022-12-12 20:55:38 +08:00
WanqQixiang ba454ce389 esp_matter: Add support for nullable attribute setting and getting 2022-11-02 16:50:25 +08:00
WanqQixiang 47a93e6d10 console: refactor esp_matter_console 2022-09-27 10:36:42 +08:00
Shubham Patil 4d55e2f8d9 Remove app_qrcode component and do not print it in examples.
Added the default QR code to the docs and pointer to generate the new
factory partition and qr code.
2022-09-20 14:45:34 +05:30
WanqQixiang a26d07bd60 move dnssd-server-start and route-hook-init to device_callback_internal 2022-09-13 15:13:24 +08:00
Shubham Patil 64a44ba04d Handle the commissioning events in examples 2022-08-30 19:21:22 +05:30
liyashuai 7decda072b ota: make OTA clusters optional. 2022-08-30 15:33:57 +08:00
Hrishikesh Dhayagude 0e1a62d4ee Minor changes to the documentation 2022-08-25 14:23:31 +05:30
Chirag Atal 70ffba8cc6 app_driver: Using app_driver_handle_t instead of void pointer. 2022-08-04 13:55:48 +05:30
Chirag Atal 4b47bf9819 identification: Renaming esp_matter::identify to identification
This is to reduce confusions with esp_matter::cluster::identify.
2022-08-03 19:48:21 +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
Chirag Atal d719c97b88 endpoint: Added support for priv_data
This priv_data is returned to the application in the attribute_update and the identify callbacks.
2022-08-02 16:01:38 +05:30
Chirag Atal 0800f66c0e identify: Resturcturing identify to simplify application
Removed the separate identify component, and made it a part of esp_matter itself.
Added a common callback for the application.
2022-08-02 15:21:35 +05:30
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
Shubham Patil bc45bb3a66 Do not deinit BLE on Commissioning Complete and minor doc change 2022-06-09 18:56:50 +05:30
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 2e91ab095f docs: Minor docs changes
readme: Replacing the example rst files in the docs with the readme files in the example directories.
2022-05-28 07:43:20 +08:00
Chirag Atal 3cadeddde8 app_ble: Add support to disable BLE
examples: Disabled BLE once commissioning is complete.
2022-05-28 07:43:10 +08:00
Chirag Atal 58ede577ef esp-matter: Minor miscellaneous fixes
examples: Changes to events and comments.
switch: Rename to light_switch.
docs: Minor changes.
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
Shubham Patil 9ec2d301ac Remove esp-insights support for now 2022-05-27 15:51:30 +05:30
Shubham Patil ef93c9f5f4 Enable insights support in light app 2022-05-10 21:33:52 +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 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 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 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
PSONALl ee7a45f8f1 Add default configs for light 2022-03-09 13:21:03 +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 b75040657b Move app_ota to esp_matter_ota component 2022-02-10 15:10:09 +08:00
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 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
WanqQixiang 83dbaf5795 Fix ESP32H2 errors after refactor 2022-01-11 15:49:45 +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
WanqQixiang 26a49b27cb Add OTA Requestor for light app and fix on-off command bug 2021-12-17 19:00:22 +08:00
Hrishikesh Dhayagude 10139666e6 Merge branch 'task/diagnostics_console' into 'main'
esp_matter_console: Add diagnostcs commands support

See merge request app-frameworks/esp-matter!51
2021-12-01 11:01:40 +00:00
Chirag Atal 45fff75fcc esp_matter_console: Add console diagnostcs commands support 2021-11-26 19:29:33 +05:30
Jiacheng Guo ff861b03be ci: format current code 2021-10-25 17:41:34 +08:00
Chirag Atal 0411e34a9b esp_matter_console: Separating console/shell into another component
The removes the shell APIs from app_main and also adds provision for other components to add their own commands.
2021-10-13 14:43:28 +05:30
Chirag Atal 9fe6acd7d3 app_qrcode: Added qrcode to be displayed on the device console for commissioning.
qrcode: Using the qrcode component from esp-idf/examples/common_components.
2021-10-12 18:34:50 +05:30
Chirag Atal 1ba053c862 esp_matter_standard: Adding standard names for endpoints and attributes
Using these standard names in app_driver, app_matter and app_rainmaker files.
2021-10-12 12:24:44 +05:30
Chirag Atal e918dff76e esp_matter: Added support for common callbacks for all the attributes 2021-10-12 12:24:41 +05:30
Hrishikesh Dhayagude 9af0fae34e ESP Matter beta release 2021-08-11 20:19:49 +05:30