How do you REALLY change the host name?
Posted: Wed Aug 03, 2016 8:13 pm
I have seen examples for changing the hostname like:
WiFi.hostname("MyESPName"); // change name for router detection
Although this compiles correctly, it doesn't work. I can put this in the Setup(), before any WiFi related command or after, and it makes no difference. No matter what I try, the router still sees the name as "ESP_xxxx".
If you know of a way to change this that works, please let me know! I can't be the only one that is having this issue with the Arduino IDE. Thanks!
WiFi.hostname("MyESPName"); // change name for router detection
Although this compiles correctly, it doesn't work. I can put this in the Setup(), before any WiFi related command or after, and it makes no difference. No matter what I try, the router still sees the name as "ESP_xxxx".
If you know of a way to change this that works, please let me know! I can't be the only one that is having this issue with the Arduino IDE. Thanks!