esp wifi modes code example Example: esp wifi name #include <ESP8266WiFi.h> WiFi.hostname("Name"); set before WiFi.begin();