mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-18 17:42:23 +03:00
dynamic WiFi.hostname("newname") (#5652)
* dynamic WiFi.hostname("newname") * WiFi.hostname() back to String return type * no silent hostname fix but proceed with debug message and returning false
This commit is contained in:
@@ -70,9 +70,8 @@ class ESP8266WiFiSTAClass {
|
||||
IPAddress dnsIP(uint8_t dns_no = 0);
|
||||
|
||||
String hostname();
|
||||
bool hostname(char* aHostname);
|
||||
bool hostname(const String& aHostname) { return hostname(aHostname.c_str()); }
|
||||
bool hostname(const char* aHostname);
|
||||
bool hostname(const String& aHostname);
|
||||
|
||||
// STA WiFi info
|
||||
wl_status_t status();
|
||||
|
Reference in New Issue
Block a user