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!