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

Commit 8e93906

Browse files
authored
v1.2.1 for BLE auto-reconnect
### Releases v1.2.1 1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](#2)
1 parent d1b9eb8 commit 8e93906

File tree

16 files changed

+80
-38
lines changed

16 files changed

+80
-38
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1414

1515
Please ensure to specify the following:
1616

17-
* Arduino IDE version (e.g. 1.8.13) or Platform.io version
17+
* Arduino IDE version (e.g. 1.8.15) or Platform.io version
1818
* `ESP32` Core Version (e.g. ESP32 core v1.0.6)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
@@ -26,10 +26,10 @@ Please ensure to specify the following:
2626
### Example
2727

2828
```
29-
Arduino IDE version: 1.8.13
29+
Arduino IDE version: 1.8.15
3030
ESP32 Core Version 1.0.6
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
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
3333
3434
Context:
3535
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* [Currently supported Boards](#currently-supported-boards)
1818
* [Not yet supported Boards](#not-yet-supported-boards)
1919
* [Changelog](#changelog)
20+
* [Releases v1.2.1](#releases-v121)
2021
* [Major Releases v1.2.0](#major-releases-v120)
2122
* [Releases v1.1.1](#releases-v111)
2223
* [Major Releases v1.1.0](#major-releases-v110)
@@ -133,6 +134,11 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_
133134

134135
## Changelog
135136

137+
### Releases v1.2.1
138+
139+
1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2)
140+
141+
136142
### Major Releases v1.2.0
137143

138144
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)
@@ -169,9 +175,9 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_
169175

170176
## Prerequisites
171177

172-
1. [`Arduino IDE 1.8.13+` for Arduino](https://www.arduino.cc/en/Main/Software)
173-
2. [`Blynk library 0.6.1+`](https://github.com/blynkkk/blynk-library/releases). Never use the **beta versions** or your request for support will be ignored.
174-
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/)
178+
1. [`Arduino IDE 1.8.15+` for Arduino](https://www.arduino.cc/en/Main/Software)
179+
2. [`Blynk library 0.6.1`](https://github.com/blynkkk/blynk-library/releases).
180+
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.
175181
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).
176182
5. [`ESPAsyncWebServer v1.2.3+`](https://github.com/me-no-dev/ESPAsyncWebServer)
177183
6. [`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP)
@@ -1301,7 +1307,7 @@ The following is the sample terminal output when running example [Async_ESP32_BL
13011307

13021308
```
13031309
Starting Async_ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV
1304-
Blynk_Async_ESP32_BT_WF v1.2.0
1310+
Blynk_Async_ESP32_BT_WF v1.2.1
13051311
ESP_DoubleResetDetector v1.1.1
13061312
GPIO14 HIGH, Use WiFi
13071313
USE_BLYNK_WM: Blynk_WF begin
@@ -1359,7 +1365,7 @@ FF[9799112] id: = HueNet1
13591365

13601366
```
13611367
Starting Async_ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV
1362-
Blynk_Async_ESP32_BT_WF v1.2.0
1368+
Blynk_Async_ESP32_BT_WF v1.2.1
13631369
ESP_DoubleResetDetector v1.1.1
13641370
GPIO14 HIGH, Use WiFi
13651371
USE_BLYNK_WM: Blynk_WF begin
@@ -1437,7 +1443,7 @@ FFFFF
14371443

14381444
```
14391445
Starting Async_ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV
1440-
Blynk_Async_ESP32_BT_WF v1.2.0
1446+
Blynk_Async_ESP32_BT_WF v1.2.1
14411447
ESP_DoubleResetDetector v1.1.1
14421448
GPIO14 HIGH, Use WiFi
14431449
USE_BLYNK_WM: Blynk_WF begin
@@ -1524,7 +1530,7 @@ ets Jun 8 2016 00:22:57
15241530
15251531
15261532
Starting Async_ESP32_BLE_WF using LITTLEFS without SSL on ESP32_DEV
1527-
Blynk_Async_ESP32_BT_WF v1.2.0
1533+
Blynk_Async_ESP32_BT_WF v1.2.1
15281534
ESP_DoubleResetDetector v1.1.1
15291535
GPIO14 HIGH, Use WiFi
15301536
USE_BLYNK_WM: Blynk_WF begin
@@ -1606,7 +1612,7 @@ ets Jun 8 2016 00:22:57
16061612
16071613
16081614
Starting Async_ESP32_BLE_WF using LITTLEFS without SSL on ESP32_DEV
1609-
Blynk_Async_ESP32_BT_WF v1.2.0
1615+
Blynk_Async_ESP32_BT_WF v1.2.1
16101616
ESP_DoubleResetDetector v1.1.1
16111617
GPIO14 HIGH, Use WiFi
16121618
USE_BLYNK_WM: Blynk_WF begin
@@ -1697,6 +1703,10 @@ Sometimes, the library will only work if you update the board core to the latest
16971703

16981704
## Releases
16991705

1706+
### Releases v1.2.1
1707+
1708+
1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2)
1709+
17001710
### Major Releases v1.2.0
17011711

17021712
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)
@@ -1735,6 +1745,8 @@ Sometimes, the library will only work if you update the board core to the latest
17351745

17361746
1. Same features for other boards with WiFi / BT
17371747
2. Optimize library so that smaller code size. Currently 2 instances of Blynk coexist and don't share code.
1748+
3. Add support to ESP32_S2 and ESP32_C3
1749+
4. Add support to ESP32 core 2.0.0+
17381750

17391751
---
17401752

@@ -1772,6 +1784,7 @@ Sometimes, the library will only work if you update the board core to the latest
17721784
30. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
17731785
31. Enforce WiFi PWD minimum length of 8 chars
17741786
32. Enable **scan of WiFi networks** for selection in Configuration Portal
1787+
33. Add auto-reconnect feature for BLE.
17751788

17761789
---
17771790
---
@@ -1787,6 +1800,7 @@ Check these new features thanks to his direct contribution and/or enhancement re
17871800
* [Good new feature: Blynk.resetAndEnterConfigPortal() Thanks & question #27](https://github.com/khoih-prog/Blynk_WM/issues/27)
17881801
5. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
17891802
- `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) leading to v1.2.0
1803+
6. Thanks to [Valeria](https://github.com/Valeria) to provide the amazing fix to permit BLE auto-reconnect. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2)
17901804

17911805
<table>
17921806
<tr>
@@ -1795,6 +1809,7 @@ Check these new features thanks to his direct contribution and/or enhancement re
17951809
<td align="center"><a href="https://github.com/tcpipchip"><img src="https://github.com/tcpipchip.png" width="100px;" alt="tcpipchip"/><br /><sub><b>⭐️ tcpipchip</b></sub></a><br /></td>
17961810
<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>
17971811
<td align="center"><a href="https://github.com/bizprof"><img src="https://github.com/bizprof.png" width="100px;" alt="bizprof"/><br /><sub><b>⭐️⭐️ Michael H. "bizprof"</b></sub></a><br /></td>
1812+
<td align="center"><a href="https://github.com/Valeria"><img src="https://github.com/Valeria.png" width="100px;" alt="Valeria"/><br /><sub><b>Valeria"</b></sub></a><br /></td>
17981813
</tr>
17991814
</table>
18001815

examples/Async_ESP32_BLE_WF/Async_ESP32_BLE_WF.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_ESP32_BT_WF/Async_ESP32_BT_WF.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_Geiger_Counter_BLE/Async_Geiger_Counter_BLE.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_Geiger_Counter_BT/Async_Geiger_Counter_BT.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_Geiger_Counter_OLED/Async_Geiger_Counter_OLED.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_Geiger_Counter_OLED_BT_BLE_WF/Async_Geiger_Counter_OLED_BT_BLE_WF.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_Geiger_Counter_OLED_BT_WF/Async_Geiger_Counter_OLED_BT_WF.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF
1010
Licensed under MIT license
1111
12-
Version: 1.2.0
12+
Version: 1.2.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2020
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2121
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
22+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2223
*****************************************************************************************************************************/
2324
/****************************************************************************************************************************
2425
Important Notes:

examples/Async_PET_Check/Async_PET_Check.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
1212
Version: 1.2.0
1313
14+
Version Modified By Date Comments
15+
------- ----------- ---------- -----------
16+
1.0.6 K Version: 1.2.1
17+
1418
Version Modified By Date Comments
1519
------- ----------- ---------- -----------
1620
1.0.6 K Hoang 25/08/2020 Initial coding to use (ESP)AsyncWebServer instead of (ESP8266)WebServer.
@@ -19,6 +23,7 @@
1923
1.1.1 K Hoang 31/01/2021 Add functions to control Config Portal (CP) from software or Virtual Switches
2024
Fix CP and Dynamic Params bugs. To permit autoreset after timeout if DRD/MRD or forced CP
2125
1.2.0 K Hoang 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal and many new features.
26+
1.2.1 K Hoang 13/08/2021 Add auto-reconnect feature for BLE
2227
*****************************************************************************************************************************/
2328
/****************************************************************************************************************************
2429
Example Created by Miguel Alexandre Wisintainer

0 commit comments

Comments
 (0)