mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-15 07:31:21 +10:00
Show local IP address in STA mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user