From ded35fc526acbe1e2d1c1613ff99ab6d006954e8 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Sat, 9 Oct 2021 18:10:54 -0400 Subject: [PATCH] v1.2.2 to update PIO ### Releases v1.2.2 1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix --- CONTRIBUTING.md | 8 +- README.md | 188 +----------------- changelog.md | 111 +++++++++++ examples/ESP32_BLE_WF/ESP32_BLE_WF.ino | 27 --- examples/ESP32_BT_WF/ESP32_BT_WF.ino | 19 -- .../Geiger_Counter_BLE/Geiger_Counter_BLE.ino | 19 -- .../Geiger_Counter_BT/Geiger_Counter_BT.ino | 19 -- .../Geiger_Counter_OLED.ino | 21 +- .../Geiger_Counter_OLED_BT_BLE_WF.ino | 19 -- .../Geiger_Counter_OLED_BT_WF.ino | 19 -- examples/PET_Check/PET_Check.ino | 19 -- library.json | 4 +- library.properties | 2 +- platformio/platformio.ini | 5 +- src/BlynkSimpleEsp32_BLE_WF.h | 5 +- src/BlynkSimpleEsp32_BT_WF.h | 5 +- src/BlynkSimpleEsp32_WF.h | 5 +- src/BlynkSimpleEsp32_WFM.h | 5 +- 18 files changed, 146 insertions(+), 354 deletions(-) create mode 100644 changelog.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 344b6a4..9e24376 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p Please ensure to specify the following: * Arduino IDE version (e.g. 1.8.15) or Platform.io version -* `ESP32` Core Version (e.g. ESP32 core v1.0.6) +* `ESP32` Core Version (e.g. ESP32 core v2.0.0) * Contextual information (e.g. what you were trying to achieve) * Simplest possible steps to reproduce * Anything that might be relevant in your opinion, such as: @@ -26,10 +26,10 @@ Please ensure to specify the following: ### Example ``` -Arduino IDE version: 1.8.15 -ESP32 Core Version 1.0.6 +Arduino IDE version: 1.8.16 +ESP32 Core Version 2.0.0 OS: Ubuntu 20.04 LTS -Linux xy-Inspiron-3593 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux +Linux xy-Inspiron-3593 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Context: The board couldn't autoreconnect to Local Blynk Server after router power recycling. diff --git a/README.md b/README.md index 4f7b63a..9b5de30 100644 --- a/README.md +++ b/README.md @@ -17,18 +17,7 @@ * [Features](#features) * [Currently supported Boards](#currently-supported-boards) * [Not yet supported Boards](#not-yet-supported-boards) -* [Changelog](#changelog) - * [Releases v1.2.1](#releases-v121) - * [Major Releases v1.2.0](#major-releases-v120) - * [Releases v1.1.1](#releases-v111) - * [Major Releases v1.1.0](#major-releases-v110) - * [Major Releases v1.0.6](#major-releases-v106) - * [Major Releases v1.0.5](#major-releases-v105) - * [Releases v1.0.4](#releases-v104) - * [Releases v1.0.3](#releases-v103) - * [Releases v1.0.2](#releases-v102) - * [Releases v1.0.1](#releases-v101) - * [Releases v1.0.0](#releases-v100) +* [Changelog](changelog.md) * [Prerequisites](#prerequisites) * [Installation](#installation) * [Use Arduino Library Manager](#use-arduino-library-manager) @@ -84,7 +73,6 @@ * [1.5. Enter persistent ConfigPortal](#15-enter-persistent-configportal) * [Debug](#debug) * [Troubleshooting](#troubleshooting) -* [Releases](#releases) * [Issues](#issues) * [TO DO](#to-do) * [DONE](#done) @@ -146,91 +134,13 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_ --- --- -## Changelog - -### Releases v1.2.1 - -1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2) - -### 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](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) - 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](https://github.com/khoih-prog/Blynk_Async_WM/issues/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**](https://github.com/khoih-prog/Blynk_WM/issues/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 - -### 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) -2. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation -3. To permit autoreset after configurable timeout if DRD/MRD or non-persistent forced-CP. Check [**Good new feature: Blynk.resetAndEnterConfigPortal() Thanks & question #27**](https://github.com/khoih-prog/Blynk_WM/issues/27) - -### Major Releases v1.1.0 - -1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library -2. Clean-up all compiler warnings possible. -3. Add Table of Contents -4. Add Version String - -### Major Releases v1.0.6 - -1. Add Configurable **Config Portal Title** to be either HostName, BoardName or default undistinguishable names. -2. Add optional default **Credentials as well as Dynamic parameters to be optionally autoloaded into Config Portal** to use or change instead of manually input using USE_DEFAULT_CONFIG_DATA. -3. Add **DoubleDetectDetector** feature to force Config Portal when double reset is detected within predetermined time, default 10s. -4. Auto format SPIFFS for first time usage. -5. Examples are redesigned to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device. - - -#### Major Releases v1.0.5 - -1. **Multiple WiFi Credentials (SSID, Password)** and system will autoconnect to the best and available WiFi SSID. -2. **Multiple Blynk Credentials (Server, Token)** and system will autoconnect to the available Blynk Servers. -3. New **powerful-yet-simple-to-use feature to enable adding dynamic custom parameters** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. -4. Dynamic custom parameters to be saved **automatically in EEPROM, or SPIFFS**. -5. WiFi Password max length increased to 63 from 31, according to WPA2 standard. -6. Permit to input special chars such as **%** and **#** into data fields. -7. Config Portal AP Channel is configurable (either static or random channel) to avoid channel conflict to other APs. - -#### Releases v1.0.4 - -1. Enhance Config Portal GUI. -2. Reduce code size. - -#### Releases v1.0.3 - -1. Add checksum for config data integrity. -2. Add clearConfigData() to enable forcing into ConfigPortal Mode when necessary - -#### Releases v1.0.2 - -This new version enables user to eliminate `hardcoding` your Wifi and Blynk credentials, thanks to the `Smart Config Portal`, and have Credentials (WiFi SID/PW, Blynk WiFi/BT/BLE Tokens/ Hardware Port) saved in either SPIFFS or EEPROM. -See more info at [Blynk_WM](https://github.com/khoih-prog/Blynk_WM) - -#### Releases v1.0.1 - -This new version enables user to include both Blynk BT/BLE and WiFi libraries in one sketch, run both **`WiFi and BT/BLE simultaneously`**, or select one to use at runtime after reboot by pressing a switch. - -#### Releases v1.0.0 - -The Blynk ESP32 libraries for BlueTooth, BLE and WiFi, by design, can't coexist. So that when we'd like to use either WiFi or BlueTooth / BLE, it's not possible within the same sketch. -With this libraries modifications, we now can compile with both options, then select one (WiFi or BT/BLE) to run at run-time by pressing a switch. - ---- ---- - ## Prerequisites -1. [`Arduino IDE 1.8.15+` for Arduino](https://www.arduino.cc/en/Main/Software) -2. [`Blynk library 0.6.1`](https://github.com/blynkkk/blynk-library/releases). -3. [`ESP32 Core 1.0.6`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/). Don't use Pre-Releases such as [`ESP32 Core 2.0.0-RC1`](https://github.com/espressif/arduino-esp32/releases/tag/2.0.0-rc1) as it's not supported yet. -4. [`ESP_DoubleResetDetector library 1.1.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) to use DRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). -5. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [esp32 core v1.0.6](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS). + 1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software) + 2. [`Blynk library 1.0.1+`](https://github.com/blynkkk/blynk-library/releases). [![Latest release](https://img.shields.io/github/release/blynkkk/blynk-library.svg)](https://github.com/blynkkk/blynk-library/releases/latest/). Never use the `Blynk beta` versions. + 3. [`ESP32 Core 2.0.0+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/) + 4. [`ESP_DoubleResetDetector library 1.1.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) to use DRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). + 5. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [esp32 core v1.0.6](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS). --- @@ -1347,7 +1257,7 @@ The following is the sample terminal output when running example [ESP32_BLE_WF]( ``` Starting ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV -BlynkESP32_BT_WF v1.2.1 +BlynkESP32_BT_WF v1.2.2 ESP_DoubleResetDetector v1.1.1 GPIO14 HIGH, Use WiFi USE_BLYNK_WM: Blynk_WF begin @@ -1405,7 +1315,7 @@ FF[9799112] id: = HueNet1 ``` Starting ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV -BlynkESP32_BT_WF v1.2.1 +BlynkESP32_BT_WF v1.2.2 ESP_DoubleResetDetector v1.1.1 GPIO14 HIGH, Use WiFi USE_BLYNK_WM: Blynk_WF begin @@ -1483,7 +1393,7 @@ FFFFF ``` Starting ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV -BlynkESP32_BT_WF v1.2.1 +BlynkESP32_BT_WF v1.2.2 ESP_DoubleResetDetector v1.1.1 GPIO14 HIGH, Use WiFi USE_BLYNK_WM: Blynk_WF begin @@ -1569,7 +1479,7 @@ CP Button Hit. Rebooting ets Jun 8 2016 00:22:57 Starting ESP32_BLE_WF using LITTLEFS without SSL on ESP32_DEV -BlynkESP32_BT_WF v1.2.1 +BlynkESP32_BT_WF v1.2.2 ESP_DoubleResetDetector v1.1.1 GPIO14 HIGH, Use WiFi USE_BLYNK_WM: Blynk_WF begin @@ -1650,7 +1560,7 @@ Persistent CP Button Hit. Rebooting ets Jun 8 2016 00:22:57 Starting ESP32_BLE_WF using LITTLEFS without SSL on ESP32_DEV -BlynkESP32_BT_WF v1.2.1 +BlynkESP32_BT_WF v1.2.2 ESP_DoubleResetDetector v1.1.1 GPIO14 HIGH, Use WiFi USE_BLYNK_WM: Blynk_WF begin @@ -1739,82 +1649,6 @@ Sometimes, the library will only work if you update the board core to the latest --- --- -## Releases - -### Releases v1.2.1 - -1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2) - -### 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](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) - 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](https://github.com/khoih-prog/Blynk_Async_WM/issues/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**](https://github.com/khoih-prog/Blynk_WM/issues/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 - -### 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) -2. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation -3. To permit autoreset after configurable timeout if DRD/MRD or non-persistent forced-CP. Check [**Good new feature: Blynk.resetAndEnterConfigPortal() Thanks & question #27**](https://github.com/khoih-prog/Blynk_WM/issues/27) - -### Major Releases v1.1.0 - -1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library -2. Clean-up all compiler warnings possible. -3. Add Table of Contents -4. Add Version String - -### Major Releases v1.0.6 - -1. Add Configurable **Config Portal Title** to be either HostName, BoardName or default undistinguishable names. -2. Add optional default **Credentials as well as Dynamic parameters to be optionally autoloaded into Config Portal** to use or change instead of manually input using USE_DEFAULT_CONFIG_DATA. -3. Add **DoubleDetectDetector** feature to force Config Portal when double reset is detected within predetermined time, default 10s. -4. Auto format SPIFFS for first time usage. -5. Examples are redesigned to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device. - -#### Major Releases v1.0.5 - -1. **Multiple WiFi Credentials (SSID, Password)** and system will autoconnect to the best and available WiFi SSID. -2. **Multiple Blynk Credentials (Server, Token)** and system will autoconnect to the available Blynk Servers. -3. New **powerful-yet-simple-to-use feature to enable adding dynamic custom parameters** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. -4. Dynamic custom parameters to be saved **automatically in EEPROM, or SPIFFS**. -5. WiFi Password max length increased to 63 from 31, according to WPA2 standard. -6. Permit to input special chars such as **%** and **#** into data fields. -7. Config Portal AP Channel is configurable (either static or random channel) to avoid channel conflict to other APs. - -#### Releases v1.0.4 - -1. Enhance Config Portal GUI. -2. Reduce code size. - -#### Releases v1.0.3 - -1. Add checksum for config data integrity. -2. Add clearConfigData() to enable forcing into ConfigPortal Mode when necessary - -#### Releases v1.0.2 - -This new version enables user to eliminate `hardcoding` your Wifi and Blynk credentials, thanks to the `Smart Config Portal`, and have Credentials (WiFi SID/PW, Blynk WiFi/BT/BLE Tokens/ Hardware Port) saved in either SPIFFS or EEPROM. -See more info at [Blynk_WM](https://github.com/khoih-prog/Blynk_WM) - -#### Releases v1.0.1 - -This new version enables user to include both Blynk BT/BLE and WiFi libraries in one sketch, run both **`WiFi and BT/BLE simultaneously`**, or select one to use at runtime after reboot by pressing a switch. - -#### Releases v1.0.0 - -The Blynk ESP32 libraries for BlueTooth, BLE and WiFi, by design, can't coexist. So that when we'd like to use either WiFi or BlueTooth / BLE, it's not possible within the same sketch. -With this libraries modifications, we now can compile with both options, then select one (WiFi or BT/BLE) to run at run-time by pressing a switch. - ---- ---- ### Issues ### diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..3ddeb65 --- /dev/null +++ b/changelog.md @@ -0,0 +1,111 @@ +## BlynkESP32_BT_WF + +[![arduino-library-badge](https://www.ardu-badge.com/badge/BlynkESP32_BT_WF.svg?)](https://www.ardu-badge.com/BlynkESP32_BT_WF) +[![GitHub release](https://img.shields.io/github/release/khoih-prog/BlynkESP32_BT_WF.svg)](https://github.com/khoih-prog/BlynkESP32_BT_WF/releases) +[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/BlynkESP32_BT_WF/blob/master/LICENSE) +[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing) +[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/BlynkESP32_BT_WF.svg)](http://github.com/khoih-prog/BlynkESP32_BT_WF/issues) + +--- +--- + +## Table of Contents + +* [Changelog](#changelog) + * [Releases v1.2.2](#releases-v122) + * [Releases v1.2.1](#releases-v121) + * [Major Releases v1.2.0](#major-releases-v120) + * [Releases v1.1.1](#releases-v111) + * [Major Releases v1.1.0](#major-releases-v110) + * [Major Releases v1.0.6](#major-releases-v106) + * [Major Releases v1.0.5](#major-releases-v105) + * [Releases v1.0.4](#releases-v104) + * [Releases v1.0.3](#releases-v103) + * [Releases v1.0.2](#releases-v102) + * [Releases v1.0.1](#releases-v101) + * [Releases v1.0.0](#releases-v100) + +--- +--- + +## Changelog + +### Releases v1.2.2 + +1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix + + +### Releases v1.2.1 + +1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2) + +### 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](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) + 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](https://github.com/khoih-prog/Blynk_Async_WM/issues/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**](https://github.com/khoih-prog/Blynk_WM/issues/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 + +### 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) +2. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation +3. To permit autoreset after configurable timeout if DRD/MRD or non-persistent forced-CP. Check [**Good new feature: Blynk.resetAndEnterConfigPortal() Thanks & question #27**](https://github.com/khoih-prog/Blynk_WM/issues/27) + +### Major Releases v1.1.0 + +1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library +2. Clean-up all compiler warnings possible. +3. Add Table of Contents +4. Add Version String + +### Major Releases v1.0.6 + +1. Add Configurable **Config Portal Title** to be either HostName, BoardName or default undistinguishable names. +2. Add optional default **Credentials as well as Dynamic parameters to be optionally autoloaded into Config Portal** to use or change instead of manually input using USE_DEFAULT_CONFIG_DATA. +3. Add **DoubleDetectDetector** feature to force Config Portal when double reset is detected within predetermined time, default 10s. +4. Auto format SPIFFS for first time usage. +5. Examples are redesigned to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device. + + +#### Major Releases v1.0.5 + +1. **Multiple WiFi Credentials (SSID, Password)** and system will autoconnect to the best and available WiFi SSID. +2. **Multiple Blynk Credentials (Server, Token)** and system will autoconnect to the available Blynk Servers. +3. New **powerful-yet-simple-to-use feature to enable adding dynamic custom parameters** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. +4. Dynamic custom parameters to be saved **automatically in EEPROM, or SPIFFS**. +5. WiFi Password max length increased to 63 from 31, according to WPA2 standard. +6. Permit to input special chars such as **%** and **#** into data fields. +7. Config Portal AP Channel is configurable (either static or random channel) to avoid channel conflict to other APs. + +#### Releases v1.0.4 + +1. Enhance Config Portal GUI. +2. Reduce code size. + +#### Releases v1.0.3 + +1. Add checksum for config data integrity. +2. Add clearConfigData() to enable forcing into ConfigPortal Mode when necessary + +#### Releases v1.0.2 + +This new version enables user to eliminate `hardcoding` your Wifi and Blynk credentials, thanks to the `Smart Config Portal`, and have Credentials (WiFi SID/PW, Blynk WiFi/BT/BLE Tokens/ Hardware Port) saved in either SPIFFS or EEPROM. +See more info at [Blynk_WM](https://github.com/khoih-prog/Blynk_WM) + +#### Releases v1.0.1 + +This new version enables user to include both Blynk BT/BLE and WiFi libraries in one sketch, run both **`WiFi and BT/BLE simultaneously`**, or select one to use at runtime after reboot by pressing a switch. + +#### Releases v1.0.0 + +The Blynk ESP32 libraries for BlueTooth, BLE and WiFi, by design, can't coexist. So that when we'd like to use either WiFi or BlueTooth / BLE, it's not possible within the same sketch. +With this libraries modifications, we now can compile with both options, then select one (WiFi or BT/BLE) to run at run-time by pressing a switch. + + diff --git a/examples/ESP32_BLE_WF/ESP32_BLE_WF.ino b/examples/ESP32_BLE_WF/ESP32_BLE_WF.ino index 5344dfe..e15e356 100644 --- a/examples/ESP32_BLE_WF/ESP32_BLE_WF.ino +++ b/examples/ESP32_BLE_WF/ESP32_BLE_WF.ino @@ -8,33 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Original Blynk Library author: - @file BlynkSimpleESP32.h - @author Volodymyr Shymanskyy - @license This project is released under the MIT License (MIT) - @copyright Copyright (c) 2015 Volodymyr Shymanskyy - @date Oct 2016 - @brief - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Important Notes: diff --git a/examples/ESP32_BT_WF/ESP32_BT_WF.ino b/examples/ESP32_BT_WF/ESP32_BT_WF.ino index 9bbc462..4582caa 100644 --- a/examples/ESP32_BT_WF/ESP32_BT_WF.ino +++ b/examples/ESP32_BT_WF/ESP32_BT_WF.ino @@ -8,25 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Important Notes: diff --git a/examples/Geiger_Counter_BLE/Geiger_Counter_BLE.ino b/examples/Geiger_Counter_BLE/Geiger_Counter_BLE.ino index b48350f..4a4bd0c 100644 --- a/examples/Geiger_Counter_BLE/Geiger_Counter_BLE.ino +++ b/examples/Geiger_Counter_BLE/Geiger_Counter_BLE.ino @@ -8,25 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Important Notes: diff --git a/examples/Geiger_Counter_BT/Geiger_Counter_BT.ino b/examples/Geiger_Counter_BT/Geiger_Counter_BT.ino index b0ca7dc..1e46485 100644 --- a/examples/Geiger_Counter_BT/Geiger_Counter_BT.ino +++ b/examples/Geiger_Counter_BT/Geiger_Counter_BT.ino @@ -8,25 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Important Notes: diff --git a/examples/Geiger_Counter_OLED/Geiger_Counter_OLED.ino b/examples/Geiger_Counter_OLED/Geiger_Counter_OLED.ino index 9b3d206..189f593 100644 --- a/examples/Geiger_Counter_OLED/Geiger_Counter_OLED.ino +++ b/examples/Geiger_Counter_OLED/Geiger_Counter_OLED.ino @@ -8,26 +8,7 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE - *****************************************************************************************************************************/ + *****************************************************/ /**************************************************************************************************************************** Important Notes: 1) Sketch is ~0.9MB of code because only 1 instance of Blynk if #define BLYNK_USE_BT_ONLY => true diff --git a/examples/Geiger_Counter_OLED_BT_BLE_WF/Geiger_Counter_OLED_BT_BLE_WF.ino b/examples/Geiger_Counter_OLED_BT_BLE_WF/Geiger_Counter_OLED_BT_BLE_WF.ino index d04fb1b..e77fc58 100644 --- a/examples/Geiger_Counter_OLED_BT_BLE_WF/Geiger_Counter_OLED_BT_BLE_WF.ino +++ b/examples/Geiger_Counter_OLED_BT_BLE_WF/Geiger_Counter_OLED_BT_BLE_WF.ino @@ -8,25 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Important Notes: diff --git a/examples/Geiger_Counter_OLED_BT_WF/Geiger_Counter_OLED_BT_WF.ino b/examples/Geiger_Counter_OLED_BT_WF/Geiger_Counter_OLED_BT_WF.ino index 0f14739..83a662f 100644 --- a/examples/Geiger_Counter_OLED_BT_WF/Geiger_Counter_OLED_BT_WF.ino +++ b/examples/Geiger_Counter_OLED_BT_WF/Geiger_Counter_OLED_BT_WF.ino @@ -8,25 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Important Notes: diff --git a/examples/PET_Check/PET_Check.ino b/examples/PET_Check/PET_Check.ino index 049ffa2..4b1c502 100644 --- a/examples/PET_Check/PET_Check.ino +++ b/examples/PET_Check/PET_Check.ino @@ -8,25 +8,6 @@ Based on and modified from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases Built by Khoi Hoang https://github.com/khoih-prog/BlynkESP32_BT_WF Licensed under MIT license - - Version: 1.2.1 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 25/01/2020 Initial coding - 1.0.1 K Hoang 27/01/2020 Enable simultaneously running BT/BLE and WiFi - 1.0.2 K Hoang 04/02/2020 Add Blynk WiFiManager support similar to Blynk_WM library - 1.0.3 K Hoang 24/02/2020 Add checksum, clearConfigData() - 1.0.4 K Hoang 14/03/2020 Enhance GUI. Reduce code size. - 1.0.5 K Hoang 18/04/2020 MultiWiFi/Blynk. Dynamic custom parameters. SSID password maxlen is 63 now. - Permit special chars # and % in input data. - 1.0.6 K Hoang 24/08/2020 Add Configurable Config Portal Title, Add USE_DEFAULT_CONFIG_DATA and DRD. - Auto format SPIFFS. Update examples. - 1.1.0 K Hoang 30/12/2020 Add support to LittleFS. Remove possible compiler warnings. Update examples - 1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches - Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP - 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. - 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE *****************************************************************************************************************************/ /**************************************************************************************************************************** Example Created by Miguel Alexandre Wisintainer diff --git a/library.json b/library.json index e7dfeaa..14ea0ee 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "BlynkESP32_BT_WF", - "version": "1.2.1", + "version": "1.2.2", "description": "By design, Blynk user can run ESP32 boards with either WiFi or BT/BLE by using different sketches, and have to upload / update firmware to change. This library enables user to include both Blynk BT / BLE and WiFi libraries in one sketch, run both WiFi and BT/BLE simultaneously, or select one to use at runtime after reboot. This library also supports (auto)connection to MultiWiFi and MultiBlynk, dynamic custom as well as static parameters in Config Portal. Eliminate hardcoding your Wifi and Blynk credentials and configuration data saved in either LittlFS, SPIFFS or EEPROM. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Static STA IP and DHCP Hostname as well as Config Portal AP channel, IP, SSID, Password can be configured. DoubleDetectDetector feature permits entering Config Portal as requested. Now with scanning of WiFi networks for selection in Configuration Portal.", "keywords": "sensors, control, device, communication, wifi, ble, bt-ble, bluetooth, drd, mrd, double-reset, multi-reset, multi-wifi, multi-blynk, littlefs, spiffs, eeprom, webserver, config-portal, credentials, protocol, iot, m2m, smartphone, mobile, app, web, cloud, ethernet, usb, serial, gsm, gprs, 3g, data, esp8266, http, portal", "authors": @@ -31,7 +31,7 @@ "platforms": ["espressif8266", "espressif32"] }, { - "owner": "khoih.prog", + "owner": "khoih-prog", "name": "ESP_DoubleResetDetector", "version": "^1.1.1", "platforms": ["espressif8266", "espressif32"] diff --git a/library.properties b/library.properties index 493098e..76e1428 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=BlynkESP32_BT_WF -version=1.2.1 +version=1.2.2 author=Khoi Hoang license=MIT maintainer=Khoi Hoang diff --git a/platformio/platformio.ini b/platformio/platformio.ini index 59748f1..6eff245 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -25,13 +25,16 @@ upload_speed = 921600 ;monitor_speed = 9600 ;monitor_port = COM11 +; Checks for the compatibility with frameworks and dev/platforms +lib_compat_mode = strict + lib_deps = ; PlatformIO 4.x Blynk@>=0.6.1 ESP_DoubleResetDetector@>=1.1.1 ; PlatformIO 5.x ; blynkkk/Blynk@>=0.6.1 -; khoih.prog/ESP_DoubleResetDetector@>=1.1.1 +; khoih-prog/ESP_DoubleResetDetector@>=1.1.1 build_flags = ; set your debug output (default=Serial) diff --git a/src/BlynkSimpleEsp32_BLE_WF.h b/src/BlynkSimpleEsp32_BLE_WF.h index 0472344..67cbd88 100644 --- a/src/BlynkSimpleEsp32_BLE_WF.h +++ b/src/BlynkSimpleEsp32_BLE_WF.h @@ -17,7 +17,7 @@ @date Oct 2016 @brief - Version: 1.2.1 + Version: 1.2.2 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -35,6 +35,7 @@ Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE + 1.2.2 K Hoang 13/08/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #pragma once @@ -57,7 +58,7 @@ #endif #if !defined(BLYNK_ESP32_BT_WF_VERSION) - #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.1" + #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.2" #endif #ifndef BLYNK_INFO_CONNECTION diff --git a/src/BlynkSimpleEsp32_BT_WF.h b/src/BlynkSimpleEsp32_BT_WF.h index 755a10f..211e87c 100644 --- a/src/BlynkSimpleEsp32_BT_WF.h +++ b/src/BlynkSimpleEsp32_BT_WF.h @@ -17,7 +17,7 @@ @date Oct 2016 @brief - Version: 1.2.1 + Version: 1.2.2 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -35,6 +35,7 @@ Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE + 1.2.2 K Hoang 13/08/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #pragma once @@ -57,7 +58,7 @@ #endif #if !defined(BLYNK_ESP32_BT_WF_VERSION) - #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.1" + #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.2" #endif #ifndef BLYNK_INFO_CONNECTION diff --git a/src/BlynkSimpleEsp32_WF.h b/src/BlynkSimpleEsp32_WF.h index e16bf82..01f3cd9 100644 --- a/src/BlynkSimpleEsp32_WF.h +++ b/src/BlynkSimpleEsp32_WF.h @@ -17,7 +17,7 @@ @date Oct 2016 @brief - Version: 1.2.1 + Version: 1.2.2 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -35,6 +35,7 @@ Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE + 1.2.2 K Hoang 13/08/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #pragma once @@ -57,7 +58,7 @@ #endif #if !defined(BLYNK_ESP32_BT_WF_VERSION) - #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.1" + #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.2" #endif #define BLYNK_SEND_ATOMIC diff --git a/src/BlynkSimpleEsp32_WFM.h b/src/BlynkSimpleEsp32_WFM.h index 4a3f4c6..f3cc3f6 100644 --- a/src/BlynkSimpleEsp32_WFM.h +++ b/src/BlynkSimpleEsp32_WFM.h @@ -17,7 +17,7 @@ @date Oct 2016 @brief - Version: 1.2.1 + Version: 1.2.2 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -35,6 +35,7 @@ Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP 1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features. 1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE + 1.2.2 K Hoang 13/08/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #pragma once @@ -57,7 +58,7 @@ #endif #if !defined(BLYNK_ESP32_BT_WF_VERSION) - #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.1" + #define BLYNK_ESP32_BT_WF_VERSION "BlynkESP32_BT_WF v1.2.2" #endif #define BLYNK_SEND_ATOMIC