From 37fc0b34c8e57dba42147b442e724c7c0584a7f2 Mon Sep 17 00:00:00 2001 From: Hrishikesh Dhayagude Date: Sun, 29 Oct 2023 18:36:28 +0530 Subject: [PATCH] Documentation updates - Update the supported device types list - Fix typo in the vacuum device type --- SUPPORTED_DEVICE_TYPES.md | 40 +++++++++++++------ components/esp_matter/esp_matter_endpoint.cpp | 4 +- components/esp_matter/esp_matter_endpoint.h | 4 +- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/SUPPORTED_DEVICE_TYPES.md b/SUPPORTED_DEVICE_TYPES.md index af2a4c6be..6f754ba38 100644 --- a/SUPPORTED_DEVICE_TYPES.md +++ b/SUPPORTED_DEVICE_TYPES.md @@ -2,6 +2,15 @@ Below are the device types supported by SDK +Utility Device Types +1. Root Node +2. Power Source +3. OTA Requestor +4. OTA Provider +5. Aggregator +6. Bridged Node + +Application Device Types 1. On/Off Light 2. Dimmable Light 3. Color Temperature Light @@ -14,15 +23,22 @@ Below are the device types supported by SDK 10. Dimmable Plugin Unit 11. Fan 12. Thermostat -13. Aggregator -14. Bridged Node -15. Door Lock -16. Window Covering Device -17. Temperature Sensor -18. Humidity Sensor -19. Occupancy Sensor -20. Contact Sensor -21. Light Sensor -22. Pressure Sensor -23. Flow Sensor -24. Pump +13. Air Quality Sensor +14. Air Purifier +15. Dishwasher +16. Laundry Washer +17. Door Lock +18. Window Covering +19. Temperature Sensor +20. Humidity Sensor +21. Occupancy Sensor +22. Contact Sensor +23. Light Sensor +24. Pressure Sensor +25. Flow Sensor +26. Pump +27. Mode Select +28. Room Air Conditioner +29. Temperature Controlled Cabinet +30. Refrigerator +31. Robotic Vacuum Cleaner diff --git a/components/esp_matter/esp_matter_endpoint.cpp b/components/esp_matter/esp_matter_endpoint.cpp index 1eebd2a02..c305e728d 100644 --- a/components/esp_matter/esp_matter_endpoint.cpp +++ b/components/esp_matter/esp_matter_endpoint.cpp @@ -1399,7 +1399,7 @@ esp_err_t add(endpoint_t *endpoint, config_t *config) } } /** refrigerator **/ -namespace robotic_vaccum_cleaner{ +namespace robotic_vacuum_cleaner{ uint32_t get_device_type_id() { @@ -1437,7 +1437,7 @@ esp_err_t add(endpoint_t *endpoint, config_t *config) return ESP_OK; } -} /** robotic_vaccum_cleaner **/ +} /** robotic_vacuum_cleaner **/ } /* endpoint */ diff --git a/components/esp_matter/esp_matter_endpoint.h b/components/esp_matter/esp_matter_endpoint.h index c7e86a0c3..420e85e8f 100644 --- a/components/esp_matter/esp_matter_endpoint.h +++ b/components/esp_matter/esp_matter_endpoint.h @@ -578,7 +578,7 @@ endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_dat esp_err_t add(endpoint_t *endpoint, config_t *config); } /** refrigerator **/ -namespace robotic_vaccum_cleaner{ +namespace robotic_vacuum_cleaner{ typedef struct config { cluster::descriptor::config_t descriptor; cluster::identify::config_t identify; @@ -590,7 +590,7 @@ uint32_t get_device_type_id(); uint8_t get_device_type_version(); endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_data); esp_err_t add(endpoint_t *endpoint, config_t *config); -} /** robotic_vaccum_cleaner **/ +} /** robotic_vacuum_cleaner **/ } /* endpoint */