how to set the station hostname? I tried to use the API function wifi_station_set_hostname("esp8266"); but nothing is changed.
My router displays the IP of ESP correctly, but the hostname is "UNKNOWN". Same thing using an IP scanner like Angry IP Scanner...no hostname is displayed.
There is a trick to use wifi_station_set_hostname() function?
Thanks