libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
bool ESP8266WiFiSTAClass::hostname(char* aHostname) {
    if(strlen(aHostname) > 32) {
        return false;
    }
    return wifi_station_set_hostname(aHostname);
}
/**
 * Set ESP8266 station DHCP hostname
 * @param aHostname max length:32
 * @return ok
 */
Set ESP8266 station DHCP hostname
@param aHostname max length:32
@return ok
Set ESP8266 station DHCP hostname @param aHostname max length : 32 @return ok
bool ESP8266WiFiSTAClass::hostname(char* aHostname) {
    if(strlen(aHostname) > 32) {
        return false;
    }
    return wifi_station_set_hostname(aHostname);
}
bool ESP8266WiFiSTAClass :: hostname ( char * aHostname ) { if ( strlen ( aHostname ) > 32 ) { return false ; } return wifi_station_set_hostname ( aHostname ) ; }
Set ESP8266 station DHCP hostname
 @param aHostname max length:32
 @return ok
Set ESP8266 station DHCP hostname @param aHostname max length : 32 @return ok