From d27fa7df618e7eaad7f54e26aec635e274dc2224 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Mon, 9 Apr 2018 19:16:12 -0500 Subject: [PATCH 1/9] hotfixing #425 this is a hotfix, there are numerous issues with this, development branch already addressed all of them. --- WiFiManager.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 1e6d805..ec235e8 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -197,9 +197,20 @@ boolean WiFiManager::startConfigPortal() { } boolean WiFiManager::startConfigPortal(char const *apName, char const *apPassword) { - //setup AP - WiFi.mode(WIFI_AP_STA); - DEBUG_WM(F("SET AP STA")); + + if(!WiFi.isConnected()){ + WiFi.persistent(false); + // disconnect sta, start ap + WiFi.disconnect(); // this alone is not enough to stop the autoconnecter + WiFi.mode(WIFI_AP); + WiFi.persistent(true); + } + else { + //setup AP + WiFi.mode(WIFI_AP_STA); + DEBUG_WM(F("SET AP STA")); + } + _apName = apName; _apPassword = apPassword; From 0f2ba754e2499e04c4d48d1ef00b488ae68f5778 Mon Sep 17 00:00:00 2001 From: vincentVDB Date: Tue, 10 Jul 2018 02:11:06 +0200 Subject: [PATCH 2/9] Update AutoConnectWithFSParameters.ino Close file ! --- .../AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino b/examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino index 1d58e5c..7e6c373 100644 --- a/examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino +++ b/examples/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino @@ -61,6 +61,7 @@ void setup() { } else { Serial.println("failed to load json config"); } + configFile.close(); } } } else { From 32495668d8ac691d72ec77b5e423c6f8d3d845b7 Mon Sep 17 00:00:00 2001 From: Shawn A Date: Sat, 14 Jul 2018 16:46:07 -0500 Subject: [PATCH 3/9] Update ISSUE_TEMPLATE.md --- .github/ISSUE_TEMPLATE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 2deb942..6fd55a7 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,5 +1,9 @@ ## PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed. ## +## POST SERIAL OUTPUT ! +## POST SERIAL OUTPUT ! +## POST SERIAL OUTPUT ! + Issues without basic info will be ignored or closed! Please fill the info fields, it helps to get you faster support ;) From 704a7ae393e8b8f820a73924d0480aae85781c26 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Sun, 22 Jul 2018 10:47:33 -0500 Subject: [PATCH 4/9] hotfix WPS NO_EXTRA_4K_HEAP --- WiFiManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index ec235e8..2e7884d 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -308,11 +308,13 @@ int WiFiManager::connectWifi(String ssid, String pass) { DEBUG_WM ("Connection result: "); DEBUG_WM ( connRes ); //not connected, WPS enabled, no pass - first attempt + #ifdef NO_EXTRA_4K_HEAP if (_tryWPS && connRes != WL_CONNECTED && pass == "") { startWPS(); //should be connected at the end of WPS connRes = waitForConnectResult(); } + #endif return connRes; } From 02de95c5293011f65c3b9f0f365ef5e7ef75d949 Mon Sep 17 00:00:00 2001 From: dontsovcmc Date: Sat, 4 Aug 2018 20:29:55 +0300 Subject: [PATCH 5/9] issuu #644 add utf-8 charset to head --- WiFiManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.h b/WiFiManager.h index 3da163e..64bb96e 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -22,7 +22,7 @@ extern "C" { #include "user_interface.h" } -const char HTTP_HEAD[] PROGMEM = "{v}"; +const char HTTP_HEAD[] PROGMEM = "{v}"; const char HTTP_STYLE[] PROGMEM = ""; const char HTTP_SCRIPT[] PROGMEM = ""; const char HTTP_HEAD_END[] PROGMEM = "
"; From 6a139688f3876b3bdf90d0a09b58dec04ce4b516 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Sun, 5 Aug 2018 11:03:39 -0500 Subject: [PATCH 6/9] ver .13 --- library.json | 2 +- library.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.json b/library.json index 44400f6..27c6385 100644 --- a/library.json +++ b/library.json @@ -9,5 +9,5 @@ }, "frameworks": "arduino", "platforms": "espressif8266", - "version": "0.12" + "version": "0.13" } diff --git a/library.properties b/library.properties index 2466f0d..0fc964a 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=WiFiManager -version=0.12 +version=0.13 author=tzapu maintainer=tzapu sentence=ESP8266 WiFi Connection manager with fallback web configuration portal From 440f312575fc92ed7fe6eec9f81f33b1c011fbbe Mon Sep 17 00:00:00 2001 From: tablatronix Date: Sun, 5 Aug 2018 11:06:15 -0500 Subject: [PATCH 7/9] v 0.14 --- library.json | 2 +- library.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.json b/library.json index 27c6385..8f0830a 100644 --- a/library.json +++ b/library.json @@ -9,5 +9,5 @@ }, "frameworks": "arduino", "platforms": "espressif8266", - "version": "0.13" + "version": "0.14" } diff --git a/library.properties b/library.properties index 0fc964a..e0420ad 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=WiFiManager -version=0.13 +version=0.14 author=tzapu maintainer=tzapu sentence=ESP8266 WiFi Connection manager with fallback web configuration portal From 805072c4c4d354e00c8bf15abbfe33f26b198a2b Mon Sep 17 00:00:00 2001 From: Shawn A Date: Wed, 29 Aug 2018 10:37:28 -0500 Subject: [PATCH 8/9] adds checkboxes --- .github/ISSUE_TEMPLATE.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 6fd55a7..499d50e 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -19,13 +19,24 @@ https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst ### Basic Infos #### Hardware -WiFimanager Branch/Release: Development +WiFimanager Branch/Release: +- [ ] Master +- [ ] Development -Esp8266/Esp32: +Esp8266/Esp32: +- [ ] ESP8266 +- [ ] ESP32 Hardware: ESP-12e, esp01, esp25 +- [ ] ESP01 +- [ ] ESP12 E/F/S (nodemcu, wemos, feather) +- [ ] Other -Core Version: 2.4.0, staging + +ESP Core Version: 2.4.0, staging +- [ ] 2.3.0 +- [ ] 2.4.0 +- [ ] staging (master/dev) ### Description From b2f6ff4a1fab22fe1800eea24a83d1d2c7add760 Mon Sep 17 00:00:00 2001 From: Shawn A Date: Wed, 29 Aug 2018 10:39:28 -0500 Subject: [PATCH 9/9] formatting --- .github/ISSUE_TEMPLATE.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 499d50e..b209e5e 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,7 +1,5 @@ ## PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed. ## -## POST SERIAL OUTPUT ! -## POST SERIAL OUTPUT ! ## POST SERIAL OUTPUT ! Issues without basic info will be ignored or closed! @@ -19,21 +17,21 @@ https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst ### Basic Infos #### Hardware -WiFimanager Branch/Release: +**WiFimanager Branch/Release:** - [ ] Master - [ ] Development -Esp8266/Esp32: +**Esp8266/Esp32:** - [ ] ESP8266 - [ ] ESP32 -Hardware: ESP-12e, esp01, esp25 +**Hardware: ESP-12e, esp01, esp25** - [ ] ESP01 - [ ] ESP12 E/F/S (nodemcu, wemos, feather) - [ ] Other -ESP Core Version: 2.4.0, staging +**ESP Core Version: 2.4.0, staging** - [ ] 2.3.0 - [ ] 2.4.0 - [ ] staging (master/dev)