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

Commit ded35fc

Browse files
authored
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
1 parent 089a2e2 commit ded35fc

File tree

18 files changed

+146
-354
lines changed

18 files changed

+146
-354
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.15) or Platform.io version
18-
* `ESP32` Core Version (e.g. ESP32 core v1.0.6)
18+
* `ESP32` Core Version (e.g. ESP32 core v2.0.0)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -26,10 +26,10 @@ Please ensure to specify the following:
2626
### Example
2727

2828
```
29-
Arduino IDE version: 1.8.15
30-
ESP32 Core Version 1.0.6
29+
Arduino IDE version: 1.8.16
30+
ESP32 Core Version 2.0.0
3131
OS: Ubuntu 20.04 LTS
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
32+
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
3333
3434
Context:
3535
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 11 additions & 177 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,7 @@
1717
* [Features](#features)
1818
* [Currently supported Boards](#currently-supported-boards)
1919
* [Not yet supported Boards](#not-yet-supported-boards)
20-
* [Changelog](#changelog)
21-
* [Releases v1.2.1](#releases-v121)
22-
* [Major Releases v1.2.0](#major-releases-v120)
23-
* [Releases v1.1.1](#releases-v111)
24-
* [Major Releases v1.1.0](#major-releases-v110)
25-
* [Major Releases v1.0.6](#major-releases-v106)
26-
* [Major Releases v1.0.5](#major-releases-v105)
27-
* [Releases v1.0.4](#releases-v104)
28-
* [Releases v1.0.3](#releases-v103)
29-
* [Releases v1.0.2](#releases-v102)
30-
* [Releases v1.0.1](#releases-v101)
31-
* [Releases v1.0.0](#releases-v100)
20+
* [Changelog](changelog.md)
3221
* [Prerequisites](#prerequisites)
3322
* [Installation](#installation)
3423
* [Use Arduino Library Manager](#use-arduino-library-manager)
@@ -84,7 +73,6 @@
8473
* [1.5. Enter persistent ConfigPortal](#15-enter-persistent-configportal)
8574
* [Debug](#debug)
8675
* [Troubleshooting](#troubleshooting)
87-
* [Releases](#releases)
8876
* [Issues](#issues)
8977
* [TO DO](#to-do)
9078
* [DONE](#done)
@@ -146,91 +134,13 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_
146134
---
147135
---
148136

149-
## Changelog
150-
151-
### Releases v1.2.1
152-
153-
1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2)
154-
155-
### Major Releases v1.2.0
156-
157-
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)
158-
2. Fix invalid "blank" Config Data treated as Valid.
159-
3. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
160-
4. Enforce WiFi PWD minimum length of 8 chars
161-
5. Minor enhancement to not display garbage when data is invalid
162-
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)
163-
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)
164-
8. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation
165-
9. Tested with [**Latest ESP32 Core 1.0.6**](https://github.com/espressif/arduino-esp32) for ESP32-based boards.
166-
10. Update examples
167-
168-
### Releases v1.1.1
169-
170-
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)
171-
2. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation
172-
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)
173-
174-
### Major Releases v1.1.0
175-
176-
1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
177-
2. Clean-up all compiler warnings possible.
178-
3. Add Table of Contents
179-
4. Add Version String
180-
181-
### Major Releases v1.0.6
182-
183-
1. Add Configurable **Config Portal Title** to be either HostName, BoardName or default undistinguishable names.
184-
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.
185-
3. Add **DoubleDetectDetector** feature to force Config Portal when double reset is detected within predetermined time, default 10s.
186-
4. Auto format SPIFFS for first time usage.
187-
5. Examples are redesigned to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device.
188-
189-
190-
#### Major Releases v1.0.5
191-
192-
1. **Multiple WiFi Credentials (SSID, Password)** and system will autoconnect to the best and available WiFi SSID.
193-
2. **Multiple Blynk Credentials (Server, Token)** and system will autoconnect to the available Blynk Servers.
194-
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.
195-
4. Dynamic custom parameters to be saved **automatically in EEPROM, or SPIFFS**.
196-
5. WiFi Password max length increased to 63 from 31, according to WPA2 standard.
197-
6. Permit to input special chars such as **%** and **#** into data fields.
198-
7. Config Portal AP Channel is configurable (either static or random channel) to avoid channel conflict to other APs.
199-
200-
#### Releases v1.0.4
201-
202-
1. Enhance Config Portal GUI.
203-
2. Reduce code size.
204-
205-
#### Releases v1.0.3
206-
207-
1. Add checksum for config data integrity.
208-
2. Add clearConfigData() to enable forcing into ConfigPortal Mode when necessary
209-
210-
#### Releases v1.0.2
211-
212-
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.
213-
See more info at [Blynk_WM](https://github.com/khoih-prog/Blynk_WM)
214-
215-
#### Releases v1.0.1
216-
217-
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.
218-
219-
#### Releases v1.0.0
220-
221-
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.
222-
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.
223-
224-
---
225-
---
226-
227137
## Prerequisites
228138

229-
1. [`Arduino IDE 1.8.15+` for Arduino](https://www.arduino.cc/en/Main/Software)
230-
2. [`Blynk library 0.6.1`](https://github.com/blynkkk/blynk-library/releases).
231-
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.
232-
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).
233-
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).
139+
1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software)
140+
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.
141+
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/)
142+
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).
143+
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).
234144

235145
---
236146

@@ -1347,7 +1257,7 @@ The following is the sample terminal output when running example [ESP32_BLE_WF](
13471257

13481258
```
13491259
Starting ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV
1350-
BlynkESP32_BT_WF v1.2.1
1260+
BlynkESP32_BT_WF v1.2.2
13511261
ESP_DoubleResetDetector v1.1.1
13521262
GPIO14 HIGH, Use WiFi
13531263
USE_BLYNK_WM: Blynk_WF begin
@@ -1405,7 +1315,7 @@ FF[9799112] id: = HueNet1
14051315

14061316
```
14071317
Starting ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV
1408-
BlynkESP32_BT_WF v1.2.1
1318+
BlynkESP32_BT_WF v1.2.2
14091319
ESP_DoubleResetDetector v1.1.1
14101320
GPIO14 HIGH, Use WiFi
14111321
USE_BLYNK_WM: Blynk_WF begin
@@ -1483,7 +1393,7 @@ FFFFF
14831393

14841394
```
14851395
Starting ESP32_BLE_WF using SPIFFS without SSL on ESP32_DEV
1486-
BlynkESP32_BT_WF v1.2.1
1396+
BlynkESP32_BT_WF v1.2.2
14871397
ESP_DoubleResetDetector v1.1.1
14881398
GPIO14 HIGH, Use WiFi
14891399
USE_BLYNK_WM: Blynk_WF begin
@@ -1569,7 +1479,7 @@ CP Button Hit. Rebooting
15691479
ets Jun 8 2016 00:22:57
15701480
15711481
Starting ESP32_BLE_WF using LITTLEFS without SSL on ESP32_DEV
1572-
BlynkESP32_BT_WF v1.2.1
1482+
BlynkESP32_BT_WF v1.2.2
15731483
ESP_DoubleResetDetector v1.1.1
15741484
GPIO14 HIGH, Use WiFi
15751485
USE_BLYNK_WM: Blynk_WF begin
@@ -1650,7 +1560,7 @@ Persistent CP Button Hit. Rebooting
16501560
ets Jun 8 2016 00:22:57
16511561
16521562
Starting ESP32_BLE_WF using LITTLEFS without SSL on ESP32_DEV
1653-
BlynkESP32_BT_WF v1.2.1
1563+
BlynkESP32_BT_WF v1.2.2
16541564
ESP_DoubleResetDetector v1.1.1
16551565
GPIO14 HIGH, Use WiFi
16561566
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
17391649
---
17401650
---
17411651

1742-
## Releases
1743-
1744-
### Releases v1.2.1
1745-
1746-
1. Add auto-reconnect feature for BLE. Check [Handle BLE disconnects #2](https://github.com/khoih-prog/Blynk_Async_ESP32_BT_WF/issues/2)
1747-
1748-
### Major Releases v1.2.0
1749-
1750-
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)
1751-
2. Fix invalid "blank" Config Data treated as Valid.
1752-
3. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
1753-
4. Enforce WiFi PWD minimum length of 8 chars
1754-
5. Minor enhancement to not display garbage when data is invalid
1755-
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)
1756-
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)
1757-
8. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation
1758-
9. Tested with [**Latest ESP32 Core 1.0.6**](https://github.com/espressif/arduino-esp32) for ESP32-based boards.
1759-
10. Update examples
1760-
1761-
### Releases v1.1.1
1762-
1763-
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)
1764-
2. Fix rare Config Portal bug not updating Config and dynamic Params data successfully in very noisy or weak WiFi situation
1765-
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)
1766-
1767-
### Major Releases v1.1.0
1768-
1769-
1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
1770-
2. Clean-up all compiler warnings possible.
1771-
3. Add Table of Contents
1772-
4. Add Version String
1773-
1774-
### Major Releases v1.0.6
1775-
1776-
1. Add Configurable **Config Portal Title** to be either HostName, BoardName or default undistinguishable names.
1777-
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.
1778-
3. Add **DoubleDetectDetector** feature to force Config Portal when double reset is detected within predetermined time, default 10s.
1779-
4. Auto format SPIFFS for first time usage.
1780-
5. Examples are redesigned to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device.
1781-
1782-
#### Major Releases v1.0.5
1783-
1784-
1. **Multiple WiFi Credentials (SSID, Password)** and system will autoconnect to the best and available WiFi SSID.
1785-
2. **Multiple Blynk Credentials (Server, Token)** and system will autoconnect to the available Blynk Servers.
1786-
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.
1787-
4. Dynamic custom parameters to be saved **automatically in EEPROM, or SPIFFS**.
1788-
5. WiFi Password max length increased to 63 from 31, according to WPA2 standard.
1789-
6. Permit to input special chars such as **%** and **#** into data fields.
1790-
7. Config Portal AP Channel is configurable (either static or random channel) to avoid channel conflict to other APs.
1791-
1792-
#### Releases v1.0.4
1793-
1794-
1. Enhance Config Portal GUI.
1795-
2. Reduce code size.
1796-
1797-
#### Releases v1.0.3
1798-
1799-
1. Add checksum for config data integrity.
1800-
2. Add clearConfigData() to enable forcing into ConfigPortal Mode when necessary
1801-
1802-
#### Releases v1.0.2
1803-
1804-
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.
1805-
See more info at [Blynk_WM](https://github.com/khoih-prog/Blynk_WM)
1806-
1807-
#### Releases v1.0.1
1808-
1809-
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.
1810-
1811-
#### Releases v1.0.0
1812-
1813-
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.
1814-
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.
1815-
1816-
---
1817-
---
18181652

18191653
### Issues ###
18201654

0 commit comments

Comments
 (0)