Просмотр исходного кода

Merge pull request #22 from JorgeChagui/master

fixed: connection with saved credentials
Alan Steremberg 7 лет назад
Родитель
Сommit
6d7fed9c06
3 измененных файлов с 7 добавлено и 3 удалено
  1. 2 1
      ESPAsyncWiFiManager.cpp
  2. 4 1
      README.md
  3. 1 1
      library.properties

+ 2 - 1
ESPAsyncWiFiManager.cpp

@@ -529,7 +529,8 @@ int AsyncWiFiManager::connectWifi(String ssid, String pass) {
 
       WiFi.begin();
     } else {
-      DEBUG_WM("No saved credentials");
+      DEBUG_WM("Try to connect with saved credentials");
+      WiFi.begin();
     }
   }
 

+ 4 - 1
README.md

@@ -273,7 +273,10 @@ If you connect to the created configuration Access Point but the configuration p
 If trying to connect ends up in an endless loop, try to add `setConnectTimeout(60)` before `autoConnect();`. The parameter is timeout to try connecting in seconds.
 
 ## Releases
-#### 0.12
+##### 0.15
+- fixed: connection with saved credentials
+
+##### 0.12
 - removed 204 header response
 - fixed incompatibility with other libs using isnan and other std:: functions without namespace
 

+ 1 - 1
library.properties

@@ -1,5 +1,5 @@
 name=ESP Async WiFi Manager
-version=0.14
+version=0.15
 author=alanswx
 maintainer=alanswx
 sentence=ESP8266 and ESP32 Async WiFi Connection manager with fallback web configuration portal