kopia lustrzana https://github.com/sh123/esp32_loraprs
Use wifi when KISS TCP/IP is needed
rodzic
89ef736c93
commit
cb3960e963
|
@ -63,7 +63,6 @@ void Service::setup(const Config &conf)
|
|||
|
||||
void Service::setupWifi(const String &wifiName, const String &wifiKey)
|
||||
{
|
||||
if (!config_.IsClientMode) {
|
||||
Serial.print("WIFI connecting to " + wifiName);
|
||||
|
||||
WiFi.setHostname("loraprs");
|
||||
|
@ -81,7 +80,7 @@ void Service::setupWifi(const String &wifiName, const String &wifiKey)
|
|||
}
|
||||
Serial.println("ok");
|
||||
Serial.println(WiFi.localIP());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Service::reconnectWifi() const
|
||||
|
|
Ładowanie…
Reference in New Issue