mdns_service_txt_item_set() function
Set/Add TXT item for service TXT record
Arguments
service_type
service type (_http, _ftp, etc)
proto
service protocol (_tcp, _udp)
key
the key that you want to add/update
value
the new value of the key
Return value
- ESP_OK success - ESP_ERR_INVALID_ARG Parameter error - ESP_ERR_NOT_FOUND Service not found - ESP_ERR_NO_MEM memory error
Notes
The value length will be automatically decided by strlen