mdns_hostname_set() function
Set the hostname for mDNS server required if you want to advertise services
Return value
- ESP_OK success - ESP_ERR_INVALID_ARG Parameter error - ESP_ERR_NO_MEM memory error
mdns_hostname_set() is called by 3 functions and calls 9 functions:
![]()
mdns_hostname_set()
mdns_hostname_set() reads 12 variables and writes 2 variables:
![]()
mdns_hostname_set()