feat(mdns): support zero item when update subtype

This commit is contained in:
zwx
2025-01-07 10:28:02 +08:00
parent b4cb8f8a66
commit 5bd82c01a5
2 changed files with 7 additions and 4 deletions
+2
View File
@@ -615,6 +615,8 @@ esp_err_t mdns_service_subtype_add_multiple_items_for_host(const char *instance_
* @param subtype the pointer of subtype array to add.
* @param num_items number of items in subtype array
*
* @note If `num_items` is 0, then remove all subtypes.
*
* @return
* - ESP_OK success
* - ESP_ERR_INVALID_ARG Parameter error