Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit 7650299

Browse files
authored
Major Releases v1.2.0
### Major Releases v1.2.0 1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](khoih-prog/WiFiManager_NINA_Lite#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) 2. Fix invalid "blank" Config Data treated as Valid. 3. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true` 4. Enforce WiFi PWD minimum length of 8 chars 5. Minor enhancement to not display garbage when data is invalid 6. Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32. Check [Custom Blynk port not working for BlynkSimpleEsp32_Async_WM.h #4](khoih-prog/Blynk_Async_WM#4) 7. To permit auto-reset after configurable timeout if DRD/MRD or non-persistent forced-CP. Check [**Good new feature: Blynk.resetAndEnterConfigPortal() Thanks & question #27**](khoih-prog/Blynk_WM#27) 8. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation 9. Tested with [**Latest ESP32 Core 1.0.6**](https://github.com/espressif/arduino-esp32) for ESP32-based boards. 10. Update examples
1 parent 09f0e7d commit 7650299

File tree

4 files changed

+2946
-15
lines changed

4 files changed

+2946
-15
lines changed

src/BlynkSimpleEsp32_BLE_WF.h

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Then select either one or both at runtime.
77
88
Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
9-
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
9+
Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF
1010
Licensed under MIT license
1111
1212
Original Blynk Library author:
@@ -17,7 +17,7 @@
1717
@date Oct 2016
1818
@brief
1919
20-
Version: 1.1.1
20+
Version: 1.2.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -32,19 +32,30 @@
3232
Auto format SPIFFS. Update examples.
3333
1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples
3434
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
35-
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
35+
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
36+
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
3637
*****************************************************************************************************************************/
3738

3839
#pragma once
3940

4041
#ifndef BlynkSimpleEsp32_BLE_WF_h
4142
#define BlynkSimpleEsp32_BLE_WF_h
4243

43-
#ifndef ESP32
44+
#if !( defined(ESP32) )
4445
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
46+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
47+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
48+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
49+
#define BOARD_TYPE "ESP32-S2"
50+
#error ESP32-S2 is not supporteed yet. Please check later.
51+
#elif ( ARDUINO_ESP32C3_DEV )
52+
#define BOARD_TYPE "ESP32-C3"
53+
#error ESP32-C3 is not supporteed yet. Please check later.
54+
#else
55+
#define BOARD_TYPE "ESP32"
4556
#endif
4657

47-
#define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.1.1"
58+
#define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.0"
4859

4960
#ifndef BLYNK_INFO_CONNECTION
5061
#define BLYNK_INFO_CONNECTION "Esp32_BLE"

src/BlynkSimpleEsp32_BT_WF.h

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Then select either one or both at runtime.
77
88
Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
9-
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
9+
Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF
1010
Licensed under MIT license
1111
1212
Original Blynk Library author:
@@ -17,7 +17,7 @@
1717
@date Oct 2016
1818
@brief
1919
20-
Version: 1.1.1
20+
Version: 1.2.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -32,19 +32,30 @@
3232
Auto format SPIFFS. Update examples.
3333
1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples
3434
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
35-
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
35+
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
36+
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
3637
*****************************************************************************************************************************/
3738

3839
#pragma once
3940

4041
#ifndef BlynkSimpleEsp32_BT_WF_h
4142
#define BlynkSimpleEsp32_BT_WF_h
4243

43-
#ifndef ESP32
44+
#if !( defined(ESP32) )
4445
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
46+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
47+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
48+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
49+
#define BOARD_TYPE "ESP32-S2"
50+
#error ESP32-S2 is not supporteed yet. Please check later.
51+
#elif ( ARDUINO_ESP32C3_DEV )
52+
#define BOARD_TYPE "ESP32-C3"
53+
#error ESP32-C3 is not supporteed yet. Please check later.
54+
#else
55+
#define BOARD_TYPE "ESP32"
4556
#endif
4657

47-
#define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.1.1"
58+
#define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.0"
4859

4960
#ifndef BLYNK_INFO_CONNECTION
5061
#define BLYNK_INFO_CONNECTION "ESP32_BT"

src/BlynkSimpleEsp32_WF.h

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Then select either one or both at runtime.
77
88
Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
9-
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
9+
Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF
1010
Licensed under MIT license
1111
1212
Original Blynk Library author:
@@ -17,7 +17,7 @@
1717
@date Oct 2016
1818
@brief
1919
20-
Version: 1.1.1
20+
Version: 1.2.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -32,19 +32,30 @@
3232
Auto format SPIFFS. Update examples.
3333
1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples
3434
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
35-
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
35+
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
36+
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
3637
*****************************************************************************************************************************/
3738

3839
#pragma once
3940

4041
#ifndef BlynkSimpleEsp32_WF_h
4142
#define BlynkSimpleEsp32_WF_h
4243

43-
#ifndef ESP32
44+
#if !( defined(ESP32) )
4445
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
46+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
47+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
48+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
49+
#define BOARD_TYPE "ESP32-S2"
50+
#error ESP32-S2 is not supporteed yet. Please check later.
51+
#elif ( ARDUINO_ESP32C3_DEV )
52+
#define BOARD_TYPE "ESP32-C3"
53+
#error ESP32-C3 is not supporteed yet. Please check later.
54+
#else
55+
#define BOARD_TYPE "ESP32"
4556
#endif
4657

47-
#define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.1.1"
58+
#define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.0"
4859

4960
#define BLYNK_SEND_ATOMIC
5061

0 commit comments

Comments
 (0)