Add WiFi.getHostname() call

parent 0b390d7d
......@@ -225,6 +225,9 @@ void WiFiClass::setDNS(IPAddress dns_server1, IPAddress dns_server2) {
void WiFiClass::setHostname(const char* name) {
_wifi.setHostname(name);
}
const char *WiFiClass::getHostname() {
return _wifi.getHostname();
}
/*
Disconnect from the network
......
......@@ -198,6 +198,7 @@ public:
*/
void setHostname(const char* name);
const char *getHostname();
/*
Disconnect from the network
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment