You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
### Release v1.3.0
1. Fix invalid "blank" Config Data treated as Valid.
2. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
3. Enforce WiFi PWD minimum length of 8 chars
4. Fix bug where EEPROM_SIZE truncated by DRD/MRD to 512, resulting lost and corrupted data.
5. Fix crashing bug in serverSendHeaders()
*[8. To use custom HTML Style](#8-to-use-custom-html-style)
55
56
*[9. To use custom Head Elements](#9-to-use-custom-head-elements)
56
57
*[10. To use CORS Header](#10-to-use-cors-header)
58
+
*[11. To use and input only one set of WiFi SSID and PWD](#11-to-use-and-input-only-one-set-of-wifi-ssid-and-pwd)
57
59
*[Examples](#examples)
58
60
*[ 1. ESP_WiFi](examples/ESP_WiFi)
59
61
*[ 2. ESP_WiFi_MQTT](examples/ESP_WiFi_MQTT)
@@ -141,6 +143,14 @@ This [**ESP_WiFiManager_Lite** library](https://github.com/khoih-prog/ESP_WiFiMa
141
143
142
144
## Changelog
143
145
146
+
### Release v1.3.0
147
+
148
+
1. Fix invalid "blank" Config Data treated as Valid.
149
+
2. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
150
+
3. Enforce WiFi PWD minimum length of 8 chars
151
+
4. Fix bug where EEPROM_SIZE truncated by DRD/MRD to 512, resulting lost and corrupted data.
152
+
5. Fix crashing bug in serverSendHeaders()
153
+
144
154
### Release v1.2.0
145
155
146
156
1. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header.
@@ -163,11 +173,11 @@ This [**ESP_WiFiManager_Lite** library](https://github.com/khoih-prog/ESP_WiFiMa
163
173
164
174
1.[`Arduino IDE 1.8.13+` for Arduino](https://www.arduino.cc/en/Main/Software)
165
175
2.[`ESP8266 Core 2.7.4+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [](https://github.com/esp8266/Arduino/releases/latest/)
166
-
3.[`ESP32 Core 1.0.4+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
176
+
3.[`ESP32 Core 1.0.6+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
167
177
4.[`ESP32S2 Core 1.0.4+`](https://github.com/espressif/arduino-esp32/tree/esp32s2) for ESP32S2-based boards.
168
178
5.[`ESP_DoubleResetDetector v1.1.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [](https://www.ardu-badge.com/ESP_DoubleResetDetector).
169
179
6.[`ESP_MultiResetDetector v1.1.1+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [](https://www.ardu-badge.com/ESP_MultiResetDetector).
170
-
7.[`LittleFS_esp32 v1.0.5+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [](https://www.ardu-badge.com/LittleFS_esp32).
180
+
7.[`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [](https://www.ardu-badge.com/LittleFS_esp32).
171
181
172
182
---
173
183
@@ -546,6 +556,26 @@ While in AP mode, connect to it using its `SSID` (ESP_ABCDEF) / `Password` ("MyE
546
556
547
557
Once Credentials / WiFi network information is saved in the host non-volatile memory, it will try to autoconnect to WiFi every time it is started, without requiring any function calls in the sketch.
548
558
559
+
560
+
#### 11. To use and input only one set of WiFi SSID and PWD
561
+
562
+
#### If you need to use and input only one set of WiFi SSID/PWD.
563
+
564
+
```
565
+
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
566
+
// Default is false (if not defined) => must input 2 sets of SSID/PWD
567
+
#define REQUIRE_ONE_SET_SSID_PW true
568
+
```
569
+
But it's always advisable to use and input both sets for reliability.
570
+
571
+
#### If you need to use both sets of WiFi SSID/PWD
572
+
573
+
```
574
+
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
575
+
// Default is false (if not defined) => must input 2 sets of SSID/PWD
576
+
#define REQUIRE_ONE_SET_SSID_PW false
577
+
```
578
+
549
579
---
550
580
---
551
581
@@ -589,7 +619,7 @@ If you're already connected to a listed WiFi AP and don't want to change anythin
589
619
590
620
1. Now you can use special chars such as **~, !, @, #, $, %, ^, &, _, -, space,etc.** thanks to [brondolin](https://github.com/brondolin) to provide the amazing fix in [**No save the char # at end of the wifi password**](https://github.com/khoih-prog/Blynk_WM/issues/3) to permit input special chars such as **%** and **#** into data fields.
591
621
2. The SSIDs, Passwords must be input (or to make them different from **blank**). Otherwise, the Config Portal will re-open until those fields have been changed. If you don't need any field, just input anything or use duplicated data from similar field.
592
-
3. WiFi password max length now is 63 chars according to WPA2 standard.
622
+
3. WiFi password min length now is 8, max length is 63 chars according to WPA2 standard.
593
623
594
624
---
595
625
@@ -998,16 +1028,28 @@ void loop()
998
1028
999
1029
/////////////////////////////////////////////
1000
1030
1031
+
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
1032
+
// Default is false (if not defined) => must input 2 sets of SSID/PWD
1033
+
#defineREQUIRE_ONE_SET_SSID_PW false
1034
+
1001
1035
// Force some params
1002
1036
#defineTIMEOUT_RECONNECT_WIFI 10000L
1037
+
1038
+
// Permit running CONFIG_TIMEOUT_RETRYTIMES_BEFORE_RESET times before reset hardware
1039
+
// to permit user another chance to config. Only if Config Data is valid.
1040
+
// If Config Data is invalid, this has no effect as Config Portal will persist
1003
1041
#defineRESET_IF_CONFIG_TIMEOUT true
1042
+
1043
+
// Permitted range of user-defined CONFIG_TIMEOUT_RETRYTIMES_BEFORE_RESET between 2-100
1004
1044
#defineCONFIG_TIMEOUT_RETRYTIMES_BEFORE_RESET5
1005
1045
1006
-
// Config Timeout 120s (default 60s)
1007
-
#defineCONFIG_TIMEOUT120000L
1046
+
// Config Timeout 120s (default 60s). Applicable only if Config Data is Valid
1047
+
#defineCONFIG_TIMEOUT 120000L
1008
1048
1009
1049
#defineUSE_DYNAMIC_PARAMETERS true
1010
1050
1051
+
/////////////////////////////////////////////
1052
+
1011
1053
#include<ESP_WiFiManager_Lite.h>
1012
1054
1013
1055
#if ESP8266
@@ -1200,7 +1242,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
1200
1242
1201
1243
```
1202
1244
Starting ESP_WiFi using LittleFS on ESP32_DEV
1203
-
ESP_WiFiManager_Lite v1.2.0
1245
+
ESP_WiFiManager_Lite v1.3.0
1204
1246
ESP_MultiResetDetector v1.1.1
1205
1247
LittleFS Flag read = 0xFFFC0003
1206
1248
multiResetDetectorFlag = 0xFFFC0003
@@ -1271,7 +1313,7 @@ FFFFFFFFF
1271
1313
1272
1314
```
1273
1315
Starting ESP_WiFi using LittleFS on ESP32_DEV
1274
-
ESP_WiFiManager_Lite v1.2.0
1316
+
ESP_WiFiManager_Lite v1.3.0
1275
1317
ESP_MultiResetDetector v1.1.1
1276
1318
LittleFS Flag read = 0xFFFE0001
1277
1319
multiResetDetectorFlag = 0xFFFE0001
@@ -1343,7 +1385,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
1343
1385
1344
1386
```
1345
1387
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1346
-
ESP_WiFiManager_Lite v1.2.0
1388
+
ESP_WiFiManager_Lite v1.3.0
1347
1389
ESP_MultiResetDetector v1.1.1
1348
1390
LittleFS Flag read = 0xFFFE0001
1349
1391
multiResetDetectorFlag = 0xFFFE0001
@@ -1418,7 +1460,7 @@ NNN
1418
1460
1419
1461
1420
1462
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1421
-
ESP_WiFiManager_Lite v1.2.0
1463
+
ESP_WiFiManager_Lite v1.3.0
1422
1464
ESP_MultiResetDetector v1.1.1
1423
1465
LittleFS Flag read = 0xFFFE0001
1424
1466
multiResetDetectorFlag = 0xFFFE0001
@@ -1511,7 +1553,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
1511
1553
1512
1554
```
1513
1555
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1514
-
ESP_WiFiManager_Lite v1.2.0
1556
+
ESP_WiFiManager_Lite v1.3.0
1515
1557
ESP_MultiResetDetector v1.1.1
1516
1558
LittleFS Flag read = 0xFFFE0001
1517
1559
multiResetDetectorFlag = 0xFFFE0001
@@ -1624,7 +1666,7 @@ entry 0x4004c190
1624
1666
1625
1667
1626
1668
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1627
-
ESP_WiFiManager_Lite v1.2.0
1669
+
ESP_WiFiManager_Lite v1.3.0
1628
1670
ESP_MultiResetDetector v1.1.1
1629
1671
LittleFS Flag read = 0xFFFE0001
1630
1672
multiResetDetectorFlag = 0xFFFE0001
@@ -1749,6 +1791,14 @@ If you get compilation errors, more often than not, you may need to install a ne
1749
1791
1750
1792
## Releases
1751
1793
1794
+
### Release v1.3.0
1795
+
1796
+
1. Fix invalid "blank" Config Data treated as Valid.
1797
+
2. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
1798
+
3. Enforce WiFi PWD minimum length of 8 chars
1799
+
4. Fix bug where EEPROM_SIZE truncated by DRD/MRD to 512, resulting lost and corrupted data.
1800
+
5. Fix crashing bug in serverSendHeaders()
1801
+
1752
1802
### Release v1.2.0
1753
1803
1754
1804
1. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header.
@@ -1800,6 +1850,8 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
1800
1850
16. Re-structure all examples to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device.
1801
1851
17. Add Table of Contents and Version String
1802
1852
18. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header
1853
+
19. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
"description": "Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2) and ESP8266 boards. You can also specify DHCP HostName, static AP and STA IP. Use much less memory compared to full-fledge WiFiManager. Config Portal will be auto-adjusted to match the number of dynamic custom parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Credentials are saved in LittleFS, SPIFFS or EEPROM. New powerful-yet-simple-to-use feature to enable adding dynamic custom parameters from sketch and input using the same Config Portal. Double or MultiDetectDetector as well as Virtual Switches feature permits entering Config Portal as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header.",
0 commit comments