Show local IP address in STA mode

This commit is contained in:
zaporylie
2015-11-01 21:02:05 +01:00
parent ce8c9fea61
commit 57d9d1f33e
+2
View File
@@ -73,6 +73,8 @@ boolean WiFiManager::autoConnect(char const *apName) {
connectWifi(ssid, pass);
int s = WiFi.status();
if (s == WL_CONNECTED) {
DEBUG_PRINT("IP Address:");
DEBUG_PRINT(WiFi.localIP());
//connected
return true;
}