esp_matter: API documentation

Also some other minor restructurings.
This commit is contained in:
Chirag Atal
2022-04-06 11:20:48 +05:30
parent b4d240e4a1
commit dc92697de8
28 changed files with 1236 additions and 465 deletions
@@ -28,7 +28,7 @@ esp_matter_bridge_device_t *esp_matter_bridge_create_device(node_t *node)
esp_matter_bridge_device_t *dev = (esp_matter_bridge_device_t *)calloc(1, sizeof(esp_matter_bridge_device_t));
dev->node = node;
bridged_node::config_t bridged_node_config;
dev->endpoint = bridged_node::create(node, &bridged_node_config, ESP_MATTER_ENDPOINT_FLAG_DELETABLE);
dev->endpoint = bridged_node::create(node, &bridged_node_config, ENDPOINT_FLAG_DESTROYABLE);
if (!(dev->endpoint)) {
ESP_LOGE(TAG, "Could not create esp_matter endpoint for bridged device");
free(dev);