Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit ea7f601

Browse files
authored
v1.5.0
### Releases v1.5.0 1. Fix bug. 2. Optimize and sync with [**Blynk_Async_WM library v1.5.0**](https://github.com/khoih-prog/Blynk_Async_WM)
1 parent 5ec3fc1 commit ea7f601

38 files changed

+262
-254
lines changed

README.md

Lines changed: 49 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
* [15. **ESP32WM_MRD_ForcedConfig**](examples/ESP32WM_MRD_ForcedConfig)
9797
* [16. **ESP8266WM_MRD_ForcedConfig**](examples/ESP8266WM_MRD_ForcedConfig)
9898
* [So, how it works?](#so-how-it-works)
99+
* [ 1. Without SCAN_WIFI_NETWORKS](#1-without-scan_wifi_networks)
100+
* [ 2. With SCAN_WIFI_NETWORKS]](#2-with-scan_wifi_networks)
99101
* [Example ESP32WM_MRD_ForcedConfig](#example-esp32wm_mrd_forcedconfig)
100102
* [1. File ESP32WM_MRD_ForcedConfig.ino](#1-file-esp32wm_mrd_forcedconfigino)
101103
* [2. File defines.h](#2-file-definesh)
@@ -188,7 +190,7 @@ With version `v1.0.5` or later, you can configure:
188190

189191
#### Currently supported Boards
190192

191-
This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_WF) currently supports these following boards:
193+
This [**Blynk_WM** library](https://github.com/khoih-prog/Blynk_WM) currently supports these following boards:
192194

193195
1. **ESP8266 and ESP32-based boards using EEPROM, SPIFFS or LittleFS**.
194196
2. **ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) using EEPROM, SPIFFS or LittleFS**.
@@ -200,6 +202,12 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_
200202

201203
## Changelog
202204

205+
### Releases v1.5.0
206+
207+
1. Fix bug.
208+
2. Optimize and sync with [**Blynk_Async_WM library v1.5.0**](https://github.com/khoih-prog/Blynk_Async_WM)
209+
210+
203211
### Major Releases v1.4.0
204212

205213
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-15)
@@ -1349,6 +1357,7 @@ void loop()
13491357
#else
13501358
#define BOARD_TYPE "ESP32"
13511359
#endif
1360+
13521361
#define BLYNK_PRINT Serial
13531362

13541363
#define BLYNK_WM_DEBUG 3
@@ -1398,7 +1407,7 @@ void loop()
13981407
#define USE_LITTLEFS false
13991408
#define USE_SPIFFS true
14001409
#else
1401-
#define USE_LITTLEFS true
1410+
#define USE_LITTLEFS false
14021411
#define USE_SPIFFS false
14031412
#endif
14041413

@@ -1428,6 +1437,21 @@ void loop()
14281437
#define CONFIG_TIMEOUT 120000L
14291438

14301439
#define USE_DYNAMIC_PARAMETERS true
1440+
1441+
/////////////////////////////////////////////
1442+
1443+
#define REQUIRE_ONE_SET_SSID_PW false
1444+
1445+
#define SCAN_WIFI_NETWORKS true
1446+
1447+
// To be able to manually input SSID, not from a scanned SSID lists
1448+
#define MANUAL_SSID_INPUT_ALLOWED true
1449+
1450+
// From 2-15
1451+
#define MAX_SSID_IN_LIST 8
1452+
1453+
/////////////////////////////////////////////
1454+
14311455
// Those above #define's must be placed before #include <BlynkSimpleEsp32_WM.h> and <BlynkSimpleEsp32_SSL_WM.h>
14321456
//////////////////////////////////////////
14331457

@@ -1619,7 +1643,7 @@ The following is the sample terminal output when running example [ESP8266WM_MRD_
16191643

16201644
```
16211645
Starting ESP8266WM_MRD_Config using LittleFS with SSL on ESP8266_NODEMCU
1622-
Blynk_WM SSL for ESP8266 v1.4.0
1646+
Blynk_WM SSL for ESP8266 v1.5.0
16231647
ESP_MultiResetDetector v1.1.1
16241648
LittleFS Flag read = 0xFFFD0002
16251649
multiResetDetectorFlag = 0xFFFD0002
@@ -1699,7 +1723,7 @@ BBBBBB
16991723

17001724
```
17011725
Starting ESP8266WM_MRD_Config using LittleFS with SSL on ESP8266_NODEMCU
1702-
Blynk_WM SSL for ESP8266 v1.4.0
1726+
Blynk_WM SSL for ESP8266 v1.5.0
17031727
ESP_MultiResetDetector v1.1.1
17041728
LittleFS Flag read = 0xFFFC0003
17051729
multiResetDetectorFlag = 0xFFFC0003
@@ -1761,7 +1785,7 @@ The following is the sample terminal output when running example [DHT11ESP8266_S
17611785

17621786
```
17631787
Starting DHT11ESP8266_SSL using LittleFS with SSL on ESP8266_NODEMCU
1764-
Blynk_WM SSL for ESP8266 v1.4.0
1788+
Blynk_WM SSL for ESP8266 v1.5.0
17651789
ESP_DoubleResetDetector v1.1.1
17661790
[293] Hostname=ESP8266-DHT11-SSL
17671791
[316] LoadCfgFile
@@ -1819,7 +1843,7 @@ The following is the sample terminal output when running example [ESP32WM_MRD_Co
18191843

18201844
```
18211845
Starting ESP32WM_MRD_Config using LITTLEFS without SSL on ESP32_DEV
1822-
Blynk_WM for ESP32 v1.4.0
1846+
Blynk_WM for ESP32 v1.5.0
18231847
ESP_MultiResetDetector v1.1.1
18241848
LittleFS Flag read = 0xFFFE0001
18251849
multiResetDetectorFlag = 0xFFFE0001
@@ -1896,7 +1920,7 @@ BBBBBB
18961920

18971921
```
18981922
Starting ESP32WM_MRD_Config using LITTLEFS without SSL on ESP32_DEV
1899-
Blynk_WM for ESP32 v1.4.0
1923+
Blynk_WM for ESP32 v1.5.0
19001924
ESP_MultiResetDetector v1.1.1
19011925
LittleFS Flag read = 0xFFFC0003
19021926
multiResetDetectorFlag = 0xFFFC0003
@@ -1954,7 +1978,7 @@ ets Jun 8 2016 00:22:57
19541978

19551979
```
19561980
Starting ESP32WM_MRD_Config using LITTLEFS without SSL on ESP32_DEV
1957-
Blynk_WM for ESP32 v1.4.0
1981+
Blynk_WM for ESP32 v1.5.0
19581982
ESP_MultiResetDetector v1.1.1
19591983
LittleFS Flag read = 0xFFFE0001
19601984
multiResetDetectorFlag = 0xFFFE0001
@@ -2078,7 +2102,7 @@ The following is the sample terminal output when running example [DHT11ESP8266_S
20782102

20792103
```
20802104
Starting DHT11ESP32_SSL using LITTLEFS with SSL on ESP32_DEV
2081-
Blynk_WM SSL for ESP32 v1.4.0
2105+
Blynk_WM SSL for ESP32 v1.5.0
20822106
ESP_DoubleResetDetector v1.1.1
20832107
[346] Hostname=ESP32-DHT11-SSL
20842108
[385] LoadCfgFile
@@ -2142,7 +2166,7 @@ Blynk.resetAndEnterConfigPortal();
21422166

21432167
```
21442168
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
2145-
Blynk_WM for ESP8266 v1.4.0
2169+
Blynk_WM for ESP8266 v1.5.0
21462170
ESP_MultiResetDetector v1.1.1
21472171
LittleFS Flag read = 0xFFFE0001
21482172
multiResetDetectorFlag = 0xFFFE0001
@@ -2228,7 +2252,7 @@ Non-Persistent CP will be removed after first reset, even you didn't enter the C
22282252

22292253
```
22302254
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
2231-
Blynk_WM for ESP8266 v1.4.0
2255+
Blynk_WM for ESP8266 v1.5.0
22322256
ESP_MultiResetDetector v1.1.1
22332257
LittleFS Flag read = 0xFFFE0001
22342258
multiResetDetectorFlag = 0xFFFE0001
@@ -2310,7 +2334,7 @@ Blynk.resetAndEnterConfigPortalPersistent();
23102334

23112335
```
23122336
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
2313-
Blynk_WM for ESP8266 v1.4.0
2337+
Blynk_WM for ESP8266 v1.5.0
23142338
ESP_MultiResetDetector v1.1.1
23152339
LittleFS Flag read = 0xFFFE0001
23162340
multiResetDetectorFlag = 0xFFFE0001
@@ -2397,7 +2421,7 @@ Persistent CP will remain after resets. The only way to get rid of Config Portal
23972421

23982422
```
23992423
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
2400-
Blynk_WM for ESP8266 v1.4.0
2424+
Blynk_WM for ESP8266 v1.5.0
24012425
ESP_MultiResetDetector v1.1.1
24022426
LittleFS Flag read = 0xFFFE0001
24032427
multiResetDetectorFlag = 0xFFFE0001
@@ -2465,7 +2489,7 @@ The following is the sample terminal output when running example [ESP8266WM_MRD_
24652489

24662490
```
24672491
Starting ESP8266WM_MRD_ForcedConfig using LittleFS with SSL on ESP8266_NODEMCU
2468-
Blynk_WM SSL for ESP8266 v1.4.0
2492+
Blynk_WM SSL for ESP8266 v1.5.0
24692493
ESP_MultiResetDetector v1.1.1
24702494
[267] Set CustomsStyle to : <style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>
24712495
[289] Set CustomsHeadElement to : <style>html{filter: invert(10%);}</style>
@@ -2553,7 +2577,7 @@ The following is the sample terminal output when running example [ESP32WM_MRD_Co
25532577

25542578
```
25552579
Starting ESP32WM_MRD_Config using LITTLEFS with SSL on ESP32S2_DEV
2556-
Blynk_WM SSL for ESP32 v1.4.0
2580+
Blynk_WM SSL for ESP32 v1.5.0
25572581
ESP_MultiResetDetector v1.1.1
25582582
[134394] Set CustomsStyle to : <style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>
25592583
[134417] Set CustomsHeadElement to : <style>html{filter: invert(10%);}</style>
@@ -2634,8 +2658,6 @@ Pubs Topics = default-mqtt-PubTopic
26342658

26352659
---
26362660

2637-
---
2638-
26392661
### 9. ESP32WM_MRD_ForcedConfig using LITTLEFS with SSL on ESP32_DEV to demo WiFi Scan
26402662

26412663
The following is the sample terminal output when running example [ESP32WM_MRD_ForcedConfig](examples/ESP32WM_MRD_ForcedConfig) on **ESP32_DEV** with WiFi Scan for selection in Configuration Portal.
@@ -2644,7 +2666,7 @@ The following is the sample terminal output when running example [ESP32WM_MRD_Fo
26442666

26452667
```
26462668
Starting ESP32WM_MRD_ForcedConfig using LITTLEFS with SSL on ESP32_DEV
2647-
Blynk_WM SSL for ESP32 v1.4.0
2669+
Blynk_WM SSL for ESP32 v1.5.0
26482670
ESP_MultiResetDetector v1.1.1
26492671
[228] Set CustomsStyle to : <style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>
26502672
[250] Set CustomsHeadElement to : <style>html{filter: invert(10%);}</style>
@@ -2767,7 +2789,7 @@ Pubs Topics = default-mqtt-PubTopic
27672789

27682790
```
27692791
Starting ESP32WM_MRD_ForcedConfig using LITTLEFS with SSL on ESP32_DEV
2770-
Blynk_WM SSL for ESP32 v1.4.0
2792+
Blynk_WM SSL for ESP32 v1.5.0
27712793
ESP_MultiResetDetector v1.1.1
27722794
[227] Set CustomsStyle to : <style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>
27732795
[249] Set CustomsHeadElement to : <style>html{filter: invert(10%);}</style>
@@ -2885,6 +2907,11 @@ Sometimes, the library will only work if you update the board core to the latest
28852907

28862908
## Releases
28872909

2910+
### Releases v1.5.0
2911+
2912+
1. Fix bug.
2913+
2. Optimize and sync with [**Blynk_Async_WM library v1.5.0**](https://github.com/khoih-prog/Blynk_Async_WM)
2914+
28882915
### Major Release v1.4.0
28892916

28902917
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-15)
@@ -3094,9 +3121,9 @@ Submit issues to: [Blynk_WM issues](https://github.com/khoih-prog/Blynk_WM/issue
30943121
28. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header
30953122
29. Add support to **ESP32-C3 using EEPROM and SPIFFS**
30963123
30. Fix SSL issue with Blynk Cloud Server by using SSL in unsecured mode.
3097-
30. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
3098-
31. Enforce WiFi PWD minimum length of 8 chars
3099-
32. Enable **scan of WiFi networks** for selection in Configuration Portal
3124+
31. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
3125+
32. Enforce WiFi PWD minimum length of 8 chars
3126+
33. Enable **scan of WiFi networks** for selection in Configuration Portal
31003127

31013128
---
31023129
---

examples/AM2315_ESP32_SSL/AM2315_ESP32_SSL.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
99
Licensed under MIT license
10-
Version: 1.4.0
10+
Version: 1.5.0
1111
1212
Version Modified By Date Comments
1313
------- ----------- ---------- -----------
@@ -37,6 +37,7 @@
3737
Fix SSL issue with Blynk Cloud Server
3838
1.3.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3939
1.4.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
40+
1.5.0 K Hoang 25/04/2021 Fix bug. Optimize and sync with Blynk_Async_WM library v1.5.0
4041
*****************************************************************************************************************************/
4142

4243
#include "defines.h"

examples/AM2315_ESP32_SSL/defines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797

9898
/////////////////////////////////////////////
9999

100+
#define REQUIRE_ONE_SET_SSID_PW false
101+
100102
#define SCAN_WIFI_NETWORKS true
101103

102104
// To be able to manually input SSID, not from a scanned SSID lists

examples/AM2315_ESP8266/AM2315_ESP8266.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
99
Licensed under MIT license
10-
Version: 1.4.0
10+
Version: 1.5.0
1111
1212
Version Modified By Date Comments
1313
------- ----------- ---------- -----------
@@ -37,6 +37,7 @@
3737
Fix SSL issue with Blynk Cloud Server
3838
1.3.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3939
1.4.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
40+
1.5.0 K Hoang 25/04/2021 Fix bug. Optimize and sync with Blynk_Async_WM library v1.5.0
4041
*****************************************************************************************************************************/
4142

4243
#include "defines.h"

examples/AM2315_ESP8266/defines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@
8282

8383
/////////////////////////////////////////////
8484

85+
#define REQUIRE_ONE_SET_SSID_PW false
86+
8587
#define SCAN_WIFI_NETWORKS true
8688

8789
// To be able to manually input SSID, not from a scanned SSID lists

examples/Blynk_WM_Template/Blynk_WM_Template.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
1010
Licensed under MIT license
11-
Version: 1.4.0
11+
Version: 1.5.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -38,6 +38,7 @@
3838
Fix SSL issue with Blynk Cloud Server
3939
1.3.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
4040
1.4.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
41+
1.5.0 K Hoang 25/04/2021 Fix bug. Optimize and sync with Blynk_Async_WM library v1.5.0
4142
*****************************************************************************************************************************/
4243

4344
// Sketch uses Arduino IDE-selected ESP32 and ESP8266 to select compile choices
@@ -157,6 +158,8 @@
157158
//#define USE_DYNAMIC_PARAMETERS false
158159

159160
/////////////////////////////////////////////
161+
162+
#define REQUIRE_ONE_SET_SSID_PW false
160163

161164
#define SCAN_WIFI_NETWORKS true
162165

examples/DHT11ESP32/DHT11ESP32.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
99
Licensed under MIT license
10-
Version: 1.4.0
10+
Version: 1.5.0
1111
1212
Version Modified By Date Comments
1313
------- ----------- ---------- -----------
@@ -37,6 +37,7 @@
3737
Fix SSL issue with Blynk Cloud Server
3838
1.3.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3939
1.4.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
40+
1.5.0 K Hoang 25/04/2021 Fix bug. Optimize and sync with Blynk_Async_WM library v1.5.0
4041
*****************************************************************************************************************************/
4142

4243
#include "defines.h"

examples/DHT11ESP32/defines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595

9696
/////////////////////////////////////////////
9797

98+
#define REQUIRE_ONE_SET_SSID_PW false
99+
98100
#define SCAN_WIFI_NETWORKS true
99101

100102
// To be able to manually input SSID, not from a scanned SSID lists

examples/DHT11ESP32_SSL/DHT11ESP32_SSL.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
99
Licensed under MIT license
10-
Version: 1.4.0
10+
Version: 1.5.0
1111
1212
Version Modified By Date Comments
1313
------- ----------- ---------- -----------
@@ -37,6 +37,7 @@
3737
Fix SSL issue with Blynk Cloud Server
3838
1.3.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3939
1.4.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
40+
1.5.0 K Hoang 25/04/2021 Fix bug. Optimize and sync with Blynk_Async_WM library v1.5.0
4041
*****************************************************************************************************************************/
4142

4243
#include "defines.h"

examples/DHT11ESP32_SSL/defines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595

9696
/////////////////////////////////////////////
9797

98+
#define REQUIRE_ONE_SET_SSID_PW false
99+
98100
#define SCAN_WIFI_NETWORKS true
99101

100102
// To be able to manually input SSID, not from a scanned SSID lists

0 commit comments

Comments
 (0)