Re: How do you REALLY change the host name?
Posted: Thu Aug 04, 2016 3:35 pm
BTW, to convert String to char * easily, there are methods provided :
I'm using the same method in my sketches, and it is working on my side.
So, maybe the problem is on the router side, maybe it have cache an kept the old name used before.
Try to power recycle the router to see if it help.
Code: Select all
String routername = "Testing123";
wifi_station_set_hostname(routername.c_str());
I'm using the same method in my sketches, and it is working on my side.
So, maybe the problem is on the router side, maybe it have cache an kept the old name used before.
Try to power recycle the router to see if it help.