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
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
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
Chirag Atal
7a538e7cff
esp_matter: Adding all the clusters to cmake
2022-01-28 18:06:13 +05:30
Chirag Atal
83b9e28590
zap_common: Added common zap code here which overrides the zap-generated
...
Removed the generic files for light and rainmaker_light examples.
2022-01-28 18:05:22 +05:30
WanqQixiang
0708e5ba19
Update matter repo to 1a65c20ed9 base on origin 77ab003e5f
2022-01-27 18:41:46 +08:00
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
Hrishikesh Dhayagude
fca54535da
Merge branch 'fix-read-attributes-error' into 'main'
...
Bugfix: Fix attribute reading error
See merge request app-frameworks/esp-matter!61
2022-01-19 10:56:33 +00:00
WanqQixiang
91d55669dc
Bugfix: Fix attribute reading error
2022-01-19 17:29:36 +08:00
WanqQixiang
80909ccc20
Rename app_openthread to esp_matter_openthread
2022-01-14 19:39:07 +08:00
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
Jiacheng Guo
5f89fc352b
ci: add pre-commit
2021-10-25 17:41:36 +08:00
Jiacheng Guo
ff861b03be
ci: format current code
2021-10-25 17:41:34 +08:00
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