We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dc70e0 commit 35643bdCopy full SHA for 35643bd
libraries/WiFi/src/WiFiSTA.h
@@ -74,6 +74,7 @@ class WiFiSTAClass
74
75
const char * getHostname();
76
bool setHostname(const char * hostname);
77
+ bool hostname(const String& aHostname) { return setHostname(aHostname.c_str()); }
78
79
// STA WiFi info
80
static wl_status_t status();
0 commit comments