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

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
### Releases v1.1.2

1. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation
  • Loading branch information
khoih-prog authored Jan 29, 2021
1 parent a4b54bd commit a9c209d
Show file tree
Hide file tree
Showing 72 changed files with 2,689 additions and 2,366 deletions.
43 changes: 27 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* [Features](#features)
* [Currently supported Boards](#currently-supported-boards)
* [Changelog](#changelog)
* [Releases v1.1.2](#releases-v112)
* [Releases v1.1.1](#releases-v111)
* [Major Releases v1.1.0](#major-releases-v110)
* [Releases v1.0.16](#releases-v1016)
Expand Down Expand Up @@ -160,6 +161,10 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_

## Changelog

### Releases v1.1.2

1. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation

### Releases v1.1.1

1. Add functions to control Config Portal from software or Virtual Switches. Check [How to trigger a Config Portal from code #25](https://github.com/khoih-prog/Blynk_WM/issues/25)
Expand Down Expand Up @@ -1140,7 +1145,7 @@ Blynk_WM_Configuration defaultConfig =
#ifndef dynamicParams_h
#define dynamicParams_h

// USE_DYNAMIC_PARAMETERS defined in defined.h
// USE_DYNAMIC_PARAMETERS defined in defines.h

/////////////// Start dynamic Credentials ///////////////

Expand Down Expand Up @@ -1218,7 +1223,7 @@ The following is the sample terminal output when running example [ESP8266WM_MRD_

```
Starting ESP8266WM_MRD_Config using LittleFS with SSL on ESP8266_NODEMCU
Blynk_WM SSL for ESP8266 v1.1.1
Blynk_WM SSL for ESP8266 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFD0002
multiResetDetectorFlag = 0xFFFD0002
Expand Down Expand Up @@ -1298,7 +1303,7 @@ BBBBBB

```
Starting ESP8266WM_MRD_Config using LittleFS with SSL on ESP8266_NODEMCU
Blynk_WM SSL for ESP8266 v1.1.1
Blynk_WM SSL for ESP8266 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFC0003
multiResetDetectorFlag = 0xFFFC0003
Expand Down Expand Up @@ -1360,7 +1365,7 @@ The following is the sample terminal output when running example [DHT11ESP8266_S

```
Starting DHT11ESP8266_SSL using LittleFS with SSL on ESP8266_NODEMCU
Blynk_WM SSL for ESP8266 v1.1.1
Blynk_WM SSL for ESP8266 v1.1.2
ESP_DoubleResetDetector v1.1.1
[293] Hostname=ESP8266-DHT11-SSL
[316] LoadCfgFile
Expand Down Expand Up @@ -1418,7 +1423,7 @@ The following is the sample terminal output when running example [ESP32WM_MRD_Co

```
Starting ESP32WM_MRD_Config using LITTLEFS without SSL on ESP32_DEV
Blynk_WM for ESP32 v1.1.1
Blynk_WM for ESP32 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1495,7 +1500,7 @@ BBBBBB

```
Starting ESP32WM_MRD_Config using LITTLEFS without SSL on ESP32_DEV
Blynk_WM for ESP32 v1.1.1
Blynk_WM for ESP32 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFC0003
multiResetDetectorFlag = 0xFFFC0003
Expand Down Expand Up @@ -1553,7 +1558,7 @@ ets Jun 8 2016 00:22:57

```
Starting ESP32WM_MRD_Config using LITTLEFS without SSL on ESP32_DEV
Blynk_WM for ESP32 v1.1.1
Blynk_WM for ESP32 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1677,7 +1682,7 @@ The following is the sample terminal output when running example [DHT11ESP8266_S

```
Starting DHT11ESP32_SSL using LITTLEFS with SSL on ESP32_DEV
Blynk_WM SSL for ESP32 v1.1.1
Blynk_WM SSL for ESP32 v1.1.2
ESP_DoubleResetDetector v1.1.1
[346] Hostname=ESP32-DHT11-SSL
[385] LoadCfgFile
Expand Down Expand Up @@ -1741,7 +1746,7 @@ Blynk.resetAndEnterConfigPortal();

```
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
Blynk_WM for ESP8266 v1.1.1
Blynk_WM for ESP8266 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1827,7 +1832,7 @@ Non-Persistent CP will be removed after first reset, even you didn't enter the C

```
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
Blynk_WM for ESP8266 v1.1.1
Blynk_WM for ESP8266 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1909,7 +1914,7 @@ Blynk.resetAndEnterConfigPortalPersistent();

```
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
Blynk_WM for ESP8266 v1.1.1
Blynk_WM for ESP8266 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -1996,7 +2001,7 @@ Persistent CP will remain after resets. The only way to get rid of Config Portal

```
Starting ESP8266WM_MRD_ForcedConfig using LittleFS without SSL on ESP8266_NODEMCU
Blynk_WM for ESP8266 v1.1.1
Blynk_WM for ESP8266 v1.1.2
ESP_MultiResetDetector v1.1.1
LittleFS Flag read = 0xFFFE0001
multiResetDetectorFlag = 0xFFFE0001
Expand Down Expand Up @@ -2094,6 +2099,10 @@ Sometimes, the library will only work if you update the board core to the latest

## Releases

### Releases v1.1.2

1. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation

### Releases v1.1.1

1. Add functions to control Config Portal from software or Virtual Switches. Check [How to trigger a Config Portal from code #25](https://github.com/khoih-prog/Blynk_WM/issues/25)
Expand Down Expand Up @@ -2269,15 +2278,17 @@ Submit issues to: [Blynk_WM issues](https://github.com/khoih-prog/Blynk_WM/issue

### Contributions and thanks

1. Thanks to [chriskio](https://github.com/chriskio) to report [AP-staying-open bug](https://github.com/khoih-prog/Blynk_WM/issues/2).
2. Thanks to [brondolin](https://github.com/brondolin) to provide the amazing fix in v1.0.10 to permit input special chars such as **%** and **#** into data fields. See [Issue 3](https://github.com/khoih-prog/Blynk_WM/issues/3).
3. Thanks to [Thor Johnson](https://github.com/thorathome) and [Thor Johnson in Blynk](https://community.blynk.cc/u/thorathome) to test, find bug, suggest and encourage to add those new features in v1.0.13, such as Default Credentials/Dynamic Parms, Configurable Config Portal Title, DRD. The powerful [Blynk_WM_Template](examples/Blynk_WM_Template) is written by [Thor Johnson](https://github.com/thorathome) and is included in the examples with his permission. Check these new features thanks to his direct contribution and/or enhancement requests :
1. Thanks to [lorol](https://github.com/lorol) for useful [LittleFS_esp32 Library](https://github.com/lorol/LITTLEFS)
2. Thanks to [chriskio](https://github.com/chriskio) to report [AP-staying-open bug](https://github.com/khoih-prog/Blynk_WM/issues/2).
3. Thanks to [brondolin](https://github.com/brondolin) to provide the amazing fix in v1.0.10 to permit input special chars such as **%** and **#** into data fields. See [Issue 3](https://github.com/khoih-prog/Blynk_WM/issues/3).
4. Thanks to [Thor Johnson](https://github.com/thorathome) and [Thor Johnson in Blynk](https://community.blynk.cc/u/thorathome) to test, find bug, suggest and encourage to add those new features in v1.0.13, such as Default Credentials/Dynamic Parms, Configurable Config Portal Title, DRD. The powerful [Blynk_WM_Template](examples/Blynk_WM_Template) is written by [Thor Johnson](https://github.com/thorathome) and is included in the examples with his permission. Check these new features thanks to his direct contribution and/or enhancement requests :
* [WM Config Portal using BlynkSimpleEsp32/8266_WM.h](https://community.blynk.cc/t/wm-config-portal-using-blynksimpleesp32-8266-wm-h/45402).
* [How to trigger a Config Portal from code #25](https://github.com/khoih-prog/Blynk_WM/issues/25)
4. Thanks to [Thor Johnson](https://github.com/thorathome) and [kevinleberge](https://github.com/kevinleberge) to help locate the bugs, discuss the USE_DEFAULT_CONFIG_DATA solution leading to release v1.0.16. See [Can’t load defaults](https://github.com/khoih-prog/Blynk_WM/issues/15) and [Setting "#define USE_DYNAMIC_PARAMETERS false" on Blynk_WM_Template.ino results in compile error](https://github.com/khoih-prog/Blynk_WM/issues/16)
5. Thanks to [Thor Johnson](https://github.com/thorathome) and [kevinleberge](https://github.com/kevinleberge) to help locate the bugs, discuss the USE_DEFAULT_CONFIG_DATA solution leading to release v1.0.16. See [Can’t load defaults](https://github.com/khoih-prog/Blynk_WM/issues/15) and [Setting "#define USE_DYNAMIC_PARAMETERS false" on Blynk_WM_Template.ino results in compile error](https://github.com/khoih-prog/Blynk_WM/issues/16)

<table>
<tr>
<td align="center"><a href="https://github.com/lorol"><img src="https://github.com/lorol.png" width="100px;" alt="lorol"/><br /><sub><b>⭐️ lorol</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/chriskio"><img src="https://github.com/chriskio.png" width="100px;" alt="chriskio"/><br /><sub><b>chriskio</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/brondolin"><img src="https://github.com/brondolin.png" width="100px;" alt="brondolin"/><br /><sub><b>brondolin</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/thorathome"><img src="https://github.com/thorathome.png" width="100px;" alt="thorathome"/><br /><sub><b>⭐️ Thor Johnson</b></sub></a><br /></td>
Expand Down
63 changes: 32 additions & 31 deletions examples/AM2315_ESP32_SSL/AM2315_ESP32_SSL.ino
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
/****************************************************************************************************************************
AM2315_ESP32_SSL.ino
For ESP32 boards
Blynk_WM is a library for the ESP8266/ESP32 Arduino platform (https://github.com/esp8266/Arduino) to enable easy
configuration/reconfiguration and autoconnect/autoreconnect of WiFi/Blynk
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
Licensed under MIT license
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 28/10/2019 Initial coding
1.0.1 K Hoang 28/10/2019 Add features
1.0.2 K Hoang 21/11/2019 Fix bug. Add features.
1.0.3 K Hoang 31/11/2019 Fix compiler errors for ESP8266 core pre-2.5.2. Add examples.
1.0.4 K Hoang 07/01/2020 Add configurable personalized RFC-952 DHCP hostname
1.0.5 K Hoang 20/01/2020 Add configurable static IP, GW, SN, DNS1, DNS2 and Config Portal static IP and Credentials
1.0.6 K Hoang 05/02/2020 Optimize, fix EEPROM size to 2K from 4K, shorten code size, add functions
1.0.7 K Hoang 18/02/2020 Add checksum, enable AutoConnect to configurable MultiWiFi and MultiBlynk Credentials
1.0.8 K Hoang 24/02/2020 Fix AP-staying-open bug. Add clearConfigData()
1.0.9 K Hoang 12/03/2020 Enhance Config Portal GUI
1.0.10 K Hoang 08/04/2020 SSID password maxlen is 63 now. Permit special chars # and % in input data.
1.0.11 K Hoang 09/04/2020 Enable adding dynamic custom parameters from sketch
1.0.12 K Hoang 13/04/2020 Fix MultiWiFi/Blynk bug introduced in broken v1.0.11
1.0.13 K Hoang 25/04/2020 Add Configurable Config Portal Title, Default Config Data and DRD. Update examples.
1.0.14 K Hoang 03/05/2020 Fix bug and change feature in dynamicParams.
1.0.15 K Hoang 12/05/2020 Fix bug and Update to use LittleFS for ESP8266 core 2.7.1+. Add example.
1.0.16 K Hoang 25/06/2020 Fix bug and logic of USE_DEFAULT_CONFIG_DATA. Auto format SPIFFS/LittleFS.
1.1.0 K Hoang 01/01/2021 Add support to ESP32 LittleFS. Remove possible compiler warnings. Update examples. Add MRD
1.1.1 K Hoang 16/01/2021 Add functions to control Config Portal from software or Virtual Switches
AM2315_ESP32_SSL.ino
For ESP32 boards
Blynk_WM is a library for the ESP8266/ESP32 Arduino platform (https://github.com/esp8266/Arduino) to enable easy
configuration/reconfiguration and autoconnect/autoreconnect of WiFi/Blynk
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
Licensed under MIT license
Version: 1.1.2
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 28/10/2019 Initial coding
1.0.1 K Hoang 28/10/2019 Add features
1.0.2 K Hoang 21/11/2019 Fix bug. Add features.
1.0.3 K Hoang 31/11/2019 Fix compiler errors for ESP8266 core pre-2.5.2. Add examples.
1.0.4 K Hoang 07/01/2020 Add configurable personalized RFC-952 DHCP hostname
1.0.5 K Hoang 20/01/2020 Add configurable static IP, GW, SN, DNS1, DNS2 and Config Portal static IP and Credentials
1.0.6 K Hoang 05/02/2020 Optimize, fix EEPROM size to 2K from 4K, shorten code size, add functions
1.0.7 K Hoang 18/02/2020 Add checksum, enable AutoConnect to configurable MultiWiFi and MultiBlynk Credentials
1.0.8 K Hoang 24/02/2020 Fix AP-staying-open bug. Add clearConfigData()
1.0.9 K Hoang 12/03/2020 Enhance Config Portal GUI
1.0.10 K Hoang 08/04/2020 SSID password maxlen is 63 now. Permit special chars # and % in input data.
1.0.11 K Hoang 09/04/2020 Enable adding dynamic custom parameters from sketch
1.0.12 K Hoang 13/04/2020 Fix MultiWiFi/Blynk bug introduced in broken v1.0.11
1.0.13 K Hoang 25/04/2020 Add Configurable Config Portal Title, Default Config Data and DRD. Update examples.
1.0.14 K Hoang 03/05/2020 Fix bug and change feature in dynamicParams.
1.0.15 K Hoang 12/05/2020 Fix bug and Update to use LittleFS for ESP8266 core 2.7.1+. Add example.
1.0.16 K Hoang 25/06/2020 Fix bug and logic of USE_DEFAULT_CONFIG_DATA. Auto format SPIFFS/LittleFS.
1.1.0 K Hoang 01/01/2021 Add support to ESP32 LittleFS. Remove possible compiler warnings. Update examples. Add MRD
1.1.1 K Hoang 16/01/2021 Add functions to control Config Portal from software or Virtual Switches
1.1.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
63 changes: 32 additions & 31 deletions examples/AM2315_ESP32_SSL/Credentials.h
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
/****************************************************************************************************************************
Credentials.h for AM2315_ESP32_SSL.ino
For ESP32 boards
Blynk_WM is a library for the ESP8266/ESP32 Arduino platform (https://github.com/esp8266/Arduino) to enable easy
configuration/reconfiguration and autoconnect/autoreconnect of WiFi/Blynk
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
Licensed under MIT license
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 28/10/2019 Initial coding
1.0.1 K Hoang 28/10/2019 Add features
1.0.2 K Hoang 21/11/2019 Fix bug. Add features.
1.0.3 K Hoang 31/11/2019 Fix compiler errors for ESP8266 core pre-2.5.2. Add examples.
1.0.4 K Hoang 07/01/2020 Add configurable personalized RFC-952 DHCP hostname
1.0.5 K Hoang 20/01/2020 Add configurable static IP, GW, SN, DNS1, DNS2 and Config Portal static IP and Credentials
1.0.6 K Hoang 05/02/2020 Optimize, fix EEPROM size to 2K from 4K, shorten code size, add functions
1.0.7 K Hoang 18/02/2020 Add checksum, enable AutoConnect to configurable MultiWiFi and MultiBlynk Credentials
1.0.8 K Hoang 24/02/2020 Fix AP-staying-open bug. Add clearConfigData()
1.0.9 K Hoang 12/03/2020 Enhance Config Portal GUI
1.0.10 K Hoang 08/04/2020 SSID password maxlen is 63 now. Permit special chars # and % in input data.
1.0.11 K Hoang 09/04/2020 Enable adding dynamic custom parameters from sketch
1.0.12 K Hoang 13/04/2020 Fix MultiWiFi/Blynk bug introduced in broken v1.0.11
1.0.13 K Hoang 25/04/2020 Add Configurable Config Portal Title, Default Config Data and DRD. Update examples.
1.0.14 K Hoang 03/05/2020 Fix bug and change feature in dynamicParams.
1.0.15 K Hoang 12/05/2020 Fix bug and Update to use LittleFS for ESP8266 core 2.7.1+. Add example.
1.0.16 K Hoang 25/06/2020 Fix bug and logic of USE_DEFAULT_CONFIG_DATA. Auto format SPIFFS/LittleFS.
1.1.0 K Hoang 01/01/2021 Add support to ESP32 LittleFS. Remove possible compiler warnings. Update examples. Add MRD
1.1.1 K Hoang 16/01/2021 Add functions to control Config Portal from software or Virtual Switches
Credentials.h for AM2315_ESP32_SSL.ino
For ESP32 boards
Blynk_WM is a library for the ESP8266/ESP32 Arduino platform (https://github.com/esp8266/Arduino) to enable easy
configuration/reconfiguration and autoconnect/autoreconnect of WiFi/Blynk
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_WM
Licensed under MIT license
Version: 1.1.2
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 28/10/2019 Initial coding
1.0.1 K Hoang 28/10/2019 Add features
1.0.2 K Hoang 21/11/2019 Fix bug. Add features.
1.0.3 K Hoang 31/11/2019 Fix compiler errors for ESP8266 core pre-2.5.2. Add examples.
1.0.4 K Hoang 07/01/2020 Add configurable personalized RFC-952 DHCP hostname
1.0.5 K Hoang 20/01/2020 Add configurable static IP, GW, SN, DNS1, DNS2 and Config Portal static IP and Credentials
1.0.6 K Hoang 05/02/2020 Optimize, fix EEPROM size to 2K from 4K, shorten code size, add functions
1.0.7 K Hoang 18/02/2020 Add checksum, enable AutoConnect to configurable MultiWiFi and MultiBlynk Credentials
1.0.8 K Hoang 24/02/2020 Fix AP-staying-open bug. Add clearConfigData()
1.0.9 K Hoang 12/03/2020 Enhance Config Portal GUI
1.0.10 K Hoang 08/04/2020 SSID password maxlen is 63 now. Permit special chars # and % in input data.
1.0.11 K Hoang 09/04/2020 Enable adding dynamic custom parameters from sketch
1.0.12 K Hoang 13/04/2020 Fix MultiWiFi/Blynk bug introduced in broken v1.0.11
1.0.13 K Hoang 25/04/2020 Add Configurable Config Portal Title, Default Config Data and DRD. Update examples.
1.0.14 K Hoang 03/05/2020 Fix bug and change feature in dynamicParams.
1.0.15 K Hoang 12/05/2020 Fix bug and Update to use LittleFS for ESP8266 core 2.7.1+. Add example.
1.0.16 K Hoang 25/06/2020 Fix bug and logic of USE_DEFAULT_CONFIG_DATA. Auto format SPIFFS/LittleFS.
1.1.0 K Hoang 01/01/2021 Add support to ESP32 LittleFS. Remove possible compiler warnings. Update examples. Add MRD
1.1.1 K Hoang 16/01/2021 Add functions to control Config Portal from software or Virtual Switches
1.1.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
*****************************************************************************************************************************/

#ifndef Credentials_h
Expand Down
Loading

0 comments on commit a9c209d

Please sign in to comment.