Chat freely about anything...

User avatar
By scargill
#59060 I am using C code - not Arduino - and of course the SDK (2.0) - and for the life of me - despite having a few ESPs who'se given names DO come up, I cannot get this to work

I've tried putting the line

wifi_station_set_hostname("Wheeeeee");

BEFORE connect, AFTER connect, BOTH - I just cannot get it to show up anything other than the default name...

wifi_station_connect();
wifi_station_dhcpc_start();
wifi_station_set_auto_connect(1);