mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-30 10:47:15 +02:00
adds esp8266-style hostname setting (#4938)
a little step to make esp8266 code compile without changes under esp32
This commit is contained in:
@ -74,6 +74,7 @@ public:
|
|||||||
|
|
||||||
const char * getHostname();
|
const char * getHostname();
|
||||||
bool setHostname(const char * hostname);
|
bool setHostname(const char * hostname);
|
||||||
|
bool hostname(const String& aHostname) { return setHostname(aHostname.c_str()); }
|
||||||
|
|
||||||
// STA WiFi info
|
// STA WiFi info
|
||||||
static wl_status_t status();
|
static wl_status_t status();
|
||||||
|
Reference in New Issue
Block a user