Commit Graph

69 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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 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
WanqQixiang 0898a37af7 Add CI for bridge_zigbee app and switch app 2022-03-01 15:49:11 +08:00
Shu Chen b0f606f504 Merge branch 'example/bridge-app-zigbee' into 'main'
Example: Add app_bridge component and bridge_zigbee example

See merge request app-frameworks/esp-matter!75
2022-03-01 09:57:12 +08:00
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
WanqQixiang 685a6c8a06 Add app_bridge component and bridge_zigbee app (support on_off light device) 2022-02-25 10:48:16 +08:00
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 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
Hrishikesh Dhayagude 79dfef9098 Merge branch 'feature/full-network-commissioning' into 'main'
Add full network commissioning support

See merge request app-frameworks/esp-matter!78
2022-02-21 18:08:15 +00:00
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 5d613627af esp_matter: Adding enums for flags instead of using the masks from submodule directly 2022-02-17 16:14:28 +05:30
WanqQixiang 782e64dac6 Add full network commissioning support 2022-02-17 14:57:10 +08:00
PSONALl 01cc113190 Add descriptor cluster on endpoint 1 in all device types 2022-02-16 17:14:28 +05:30
PSONALl 05191f74f8 Add platform support for on_off_light and dimmable_light device types 2022-02-14 11:32:34 +05:30
Shu Chen 92b356c557 Merge branch 'move_ota' into 'main'
Move app_ota to esp_matter_ota component

See merge request app-frameworks/esp-matter!74
2022-02-11 10:58:04 +00:00
WanqQixiang b75040657b Move app_ota to esp_matter_ota component 2022-02-10 15:10:09 +08:00
WanqQixiang 82de9551e1 Add bridged_node endpoint template 2022-02-10 13:58:19 +08:00
Hrishikesh Dhayagude 5709c98cb1 Merge branch 'feature/thermostat_support' into 'main'
esp_matter: Add support for thermostat device type

See merge request app-frameworks/esp-matter!71
2022-02-10 05:15:09 +00:00
Chirag Atal dfdc288621 esp_matter_event: Add support for events in esp_matter 2022-02-09 19:15:08 +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 925d598df0 esp_matter_cluster: Adding cluster functions support 2022-02-02 16:31:30 +05:30
Hrishikesh Dhayagude f8f8f0d5a2 Merge branch 'task/command_apis' into 'main'
esp_matter_command: Adding individual command_create APIs which makes customizing easier

See merge request app-frameworks/esp-matter!68
2022-02-02 10:26:54 +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 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
Hrishikesh Dhayagude 1c6e6fd96a Merge branch 'task/command_callback' into 'main'
matter_command: Add callback support for custom commands.

See merge request app-frameworks/esp-matter!62
2022-01-31 08:40:47 +00:00
Chirag Atal dec7e3cf7f matter_command: Add callback support for custom commands. 2022-01-28 18:42:58 +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
Chirag Atal 3f364de9af zap_common: Moving callback-stup to zap_common
Removing cluster specific weak functions from the file
2022-01-28 18:06:18 +05:30