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

Commit

Permalink
v1.262 to update PIO
Browse files Browse the repository at this point in the history
### Releases v1.6.2

1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
2. Update ESP8266_CORE_VERSION for ESP8266 core v3.0.2+
  • Loading branch information
khoih-prog authored Oct 9, 2021
1 parent e6b6795 commit 5a8cf07
Show file tree
Hide file tree
Showing 10 changed files with 243 additions and 425 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ 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
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.1 or ESP32 v1.0.6)
* Arduino IDE version (e.g. 1.8.16) or Platform.io version
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 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:
Expand All @@ -26,10 +26,10 @@ Please ensure to specify the following:
### Example

```
Arduino IDE version: v1.8.15
ESP8266 Core Version v3.0.1
Arduino IDE version: v1.8.16
ESP8266 Core Version v3.0.2
OS: Ubuntu 20.04 LTS
Linux Inspiron 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Linux Inspiron 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.
Expand Down
437 changes: 37 additions & 400 deletions README.md

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
## Blynk_Async_WM

[![arduino-library-badge](https://www.ardu-badge.com/badge/Blynk_Async_WM.svg?)](https://www.ardu-badge.com/Blynk_Async_WM)
[![GitHub release](https://img.shields.io/github/release/khoih-prog/Blynk_Async_WM.svg)](https://github.com/khoih-prog/Blynk_Async_WM/releases)
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/Blynk_Async_WM/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/Blynk_Async_WM.svg)](http://github.com/khoih-prog/Blynk_Async_WM/issues)
[![star this repo](https://githubbadges.com/star.svg?user=khoih-prog&repo=Blynk_Async_WM)](https://github.com/khoih-prog/Blynk_Async_WM)

---
---

## Table of Contents

* [Changelog](#changelog)
* [Releases v1.6.2](#releases-v162)
* [Releases v1.6.1](#releases-v161)
* [Major Releases v1.6.0](#major-releases-v160)
* [Major Releases v1.5.0](#major-releases-v150)
* [Releases v1.4.1](#releases-v141)
* [Major Releases v1.4.0](#major-releases-v140)
* [Major Releases v1.3.0](#major-releases-v130)
* [Releases v1.2.3](#releases-v123)
* [Releases v1.2.2](#releases-v122)
* [Releases v1.2.1](#releases-v121)
* [Major Releases v1.2.0](#major-releases-v120)
* [Releases v1.1.0](#releases-v110)
* [Releases v1.0.16](#releases-v1016)

---
---

## Changelog

### Releases v1.6.2

1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
2. Update ESP8266_CORE_VERSION for ESP8266 core v3.0.2+

### Releases v1.6.1

1. Add configurable connectMultiWiFi parameters. Check [Minimize blocking during multi-wifi reconnect #6](https://github.com/khoih-prog/Blynk_Async_WM/issues/6)
2. Update ESP8266_CORE_VERSION for ESP8266 core v3.0.1+

### Major Releases v1.6.0

1. Fix AP connect issue caused by **breaking ESP8266 core v3.0.0**. Caused by multiple core changes, but the new solution results a better and faster connection to AP.
2. Fix SSL issue caused by breaking ESP8266 core v3.0.0. Now the better **BearSSL** is used in both ESP32 and ESP8266 to replace the ESP8266 deprecated `axTLS`. Check [Remove axTLS from code and documentation #7437](https://github.com/esp8266/Arduino/pull/7437)
3. Fix the `BLYNK_INFO_DEVICE`displaying the generic ESP8266 board with Blynk logo. Caused by new ESP8266 core changes of `build.board`. For example from `ESP8266_NODEMCU` in core v2.7.4 to `ESP8266_NODEMCU_ESP12E` in core v3.0.0
4. Fix many warnings only displayed in new core ESP8266 v3.0.0
5. Make code compatible for either new ESP8266 core v3.0.0+ or ealier cores v2.7.4-

### Major Releases v1.5.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

### Releases v1.4.1

1. 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)

### Major Releases v1.4.0

1. Add **LittleFS and SPIFFS** support to new **ESP32-S2** boards (**Arduino ESP32C3_DEV**). Check [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide).
2. Add **EEPROM and SPIFFS** support to new **ESP32-C3** boards (**Arduino ESP32C3_DEV**). Check [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide).
3. Fix SSL issue with Blynk Cloud Server
4. Update examples

### Major Releases v1.3.0

1. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header.
2. Add support to **ESP32-S2 (ESP32-S2 Saola and AI-Thinker ESP-12K)**. Currently using EEPROM only. To add support to LittleFS and SPIFFS in future releases.
3. Fix Config Portal Bug.
4. Tested with [**Latest ESP32 Core 1.0.5**](https://github.com/espressif/arduino-esp32) for ESP32-based boards.
5. Update examples

### Releases v1.2.3

1. 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)

### Releases v1.2.2

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

### Releases v1.2.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. Add examples to demo the new Virtual ConfigPortal SW feature
3. Optimize code

### Major Releases v1.2.0

1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
2. Add support to MultiDetectDetector. **MultiDetectDetector** feature to force Config Portal when configurable multi-reset is detected within predetermined time.
3. Clean-up all compiler warnings possible.
4. Add Table of Contents
5. Modify Version String
6. Add MRD-related examples.


### Releases v1.1.0

1. Add examples using RTOS MultiTask to avoid blocking in operation.
2. Add Version String.


### Releases v1.0.16

1. Initial coding to use [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer) instead of (ESP8266)WebServer.
2. Bump up to v1.0.16 to sync with [Blynk_WiFiManager library](https://github.com/khoih-prog/Blynk_WM) v1.0.16.

6 changes: 3 additions & 3 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Blynk_Async_WM",
"version": "1.6.1",
"version": "1.6.2",
"description": "Library, using AsyncWebServer instead of (ESP8266)WebServer, for configuring/auto(re)connecting ESP32 (including ESP32-S2 and ESP32-C3), ESP8266 modules to best or available MultiWiFi APs and MultiBlynk servers at runtime. Enable adding dynamic custom parameters from sketch and input using the same Config Portal (CP). CP will be auto-adjusted to match the number of dynamic parameters. Optional default Credentials to be autoloaded into CP 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. Config. Data saved in ESP8266/ESP32 LittleFS, SPIFFS or EEPROM. Multi, Double DetectDetector or Virtual CP Switch feature permits entering CP as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header. Now with scanning of WiFi networks for selection in Configuration Portal and working with new ESP8266 core v3.0.1 and ESP32 core v1.0.6",
"keywords": "control, device, communication, blynk, iot, wifi, esp8266, esp32, esp32-s2, esp32-c3, async, drd, mrd, double-reset, multi-reset, config-portal, credentials, dynamic-params, customs-header, smartphone, mobile, app, web, cloud, sensors, m2m, protocol, ble, bluetooth, Manager, DynamicParameters, dynamic, configportal, usb, serial, ethernet, data, http, portal ",
"authors":
Expand Down Expand Up @@ -31,13 +31,13 @@
"platforms": ["espressif8266", "espressif32"]
},
{
"owner": "khoih.prog",
"owner": "khoih-prog",
"name": "ESP_DoubleResetDetector",
"version": "^1.1.1",
"platforms": ["espressif8266", "espressif32"]
},
{
"owner": "khoih.prog",
"owner": "khoih-prog",
"name": "ESP_MultiResetDetector",
"version": "^1.1.1",
"platforms": ["espressif8266", "espressif32"]
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Blynk_Async_WM
version=1.6.1
version=1.6.2
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <[email protected]>
Expand Down
69 changes: 63 additions & 6 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
[platformio]
; ============================================================
; chose environment:
; ESP8266
; ESP32
; ============================================================
default_envs = ESP32
default_envs = ESP8266
;default_envs = ESP32

[env]
; ============================================================
Expand All @@ -30,21 +32,76 @@ lib_compat_mode = strict

lib_deps =
; PlatformIO 4.x
Blynk@>=0.6.1
ESP_DoubleResetDetector@>=1.1.1
Blynk@~0.6.1
ESP_DoubleResetDetector@~1.1.1
ESP_MultiResetDetector@~1.1.1
ESP Async WebServer@~1.2.3
ESPAsyncTCP@~1.2.2
AsyncTCP@~1.1.1
LittleFS_esp32@>=1.0.6
; PlatformIO 5.x
; blynkkk/Blynk@>=0.6.1
; khoih.prog/ESP_DoubleResetDetector@>=1.1.1
; blynkkk/Blynk@~0.6.1
; khoih-prog/ESP_DoubleResetDetector@~1.1.1
; khoih-prog/ESP_MultiResetDetector@~1.1.1
; me-no-dev/ESP Async WebServer@~1.2.3
; me-no-dev/ESPAsyncTCP@~1.2.2
; me-no-dev/AsyncTCP@~1.1.1
; lorol/LittleFS_esp32@>=1.0.6

build_flags =
; set your debug output (default=Serial)
-D DEBUG_ESP_PORT=Serial
; comment the folowing line to enable WiFi debugging
-D NDEBUG

[env:ESP8266]
platform = espressif8266
framework = arduino
; ============================================================
; Board configuration
; choose your board by uncommenting one of the following lines
; ============================================================
;board = gen4iod
;board = huzzah
;board = oak
;board = esp_wroom_02
;board = espduino
;board = espectro
;board = espino
;board = espresso_lite_v1
;board = espresso_lite_v2
;board = esp12e
;board = esp01_1m
;board = esp01
;board = esp07
;board = esp8285
;board = heltec_wifi_kit_8
;board = inventone
;board = nodemcu
board = nodemcuv2
;board = modwifi
;board = phoenix_v1
;board = phoenix_v2
;board = sparkfunBlynk
;board = thing
;board = thingdev
;board = esp210
;board = espinotee
;board = d1
;board = d1_mini
;board = d1_mini_lite
;board = d1_mini_pro
;board = wifi_slot
;board = wifiduino
;board = wifinfo
;board = wio_link
;board = wio_node
;board = xinabox_cw01
;board = esp32doit-devkit-v1

[env:ESP32]
platform = espressif32
framework = arduino
framework = arduino, espidf
; ============================================================
; Board configuration
; choose your board by uncommenting one of the following lines
Expand Down
5 changes: 3 additions & 2 deletions src/BlynkSimpleEsp32_Async_WM.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@date Jan 2015
@brief
Version: 1.6.1
Version: 1.6.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -35,6 +35,7 @@
1.5.0 K Hoang 25/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
1.6.0 K Hoang 19/05/2021 Fix AP connect and SSL issues caused by breaking ESP8266 core v3.0.0
1.6.1 K Hoang 15/07/2021 Add configurable connectMultiWiFi parameters. Update for ESP8266 core v3.0.1
1.6.1 K Hoang 13/08/2021 Update `platform.ini` and `library.json`
********************************************************************************************************************************/

#pragma once
Expand All @@ -46,7 +47,7 @@
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
#endif

#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM for ESP32 v1.6.1"
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM for ESP32 v1.6.2"

//////////////////////////////////////////////
// From v1.6.0 to display correct BLYNK_INFO_DEVICE
Expand Down
5 changes: 3 additions & 2 deletions src/BlynkSimpleEsp32_SSL_Async_WM.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@date Jan 2015
@brief
Version: 1.6.1
Version: 1.6.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -35,6 +35,7 @@
1.5.0 K Hoang 25/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
1.6.0 K Hoang 19/05/2021 Fix AP connect and SSL issues caused by breaking ESP8266 core v3.0.0
1.6.1 K Hoang 15/07/2021 Add configurable connectMultiWiFi parameters. Update for ESP8266 core v3.0.1
1.6.1 K Hoang 13/08/2021 Update `platform.ini` and `library.json`
********************************************************************************************************************************/

#pragma once
Expand All @@ -46,7 +47,7 @@
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
#endif

#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM SSL for ESP32 v1.6.1"
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM SSL for ESP32 v1.6.2"

//////////////////////////////////////////////
// From v1.6.0 to display correct BLYNK_INFO_DEVICE
Expand Down
10 changes: 7 additions & 3 deletions src/BlynkSimpleEsp8266_Async_WM.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@date Jan 2015
@brief
Version: 1.6.1
Version: 1.6.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -35,6 +35,7 @@
1.5.0 K Hoang 25/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
1.6.0 K Hoang 19/05/2021 Fix AP connect and SSL issues caused by breaking ESP8266 core v3.0.0
1.6.1 K Hoang 15/07/2021 Add configurable connectMultiWiFi parameters. Update for ESP8266 core v3.0.1
1.6.1 K Hoang 13/08/2021 Update `platform.ini` and `library.json`
********************************************************************************************************************************/

#pragma once
Expand All @@ -52,9 +53,12 @@

/////////////////////////////////////////////

#if (ARDUINO_ESP8266_GIT_VER == 0xcbf44fb3)
#if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4)
#define USING_ESP8266_CORE_VERSION 30002
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.2"
#elif (ARDUINO_ESP8266_GIT_VER == 0xcbf44fb3)
#define USING_ESP8266_CORE_VERSION 30001
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.1"
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.1"
#elif (ARDUINO_ESP8266_GIT_VER == 0xefb0341a)
#define USING_ESP8266_CORE_VERSION 30000
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.0"
Expand Down
10 changes: 7 additions & 3 deletions src/BlynkSimpleEsp8266_SSL_Async_WM.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@date Jan 2015
@brief

Version: 1.6.1
Version: 1.6.2

Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -35,6 +35,7 @@
1.5.0 K Hoang 25/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
1.6.0 K Hoang 19/05/2021 Fix AP connect and SSL issues caused by breaking ESP8266 core v3.0.0
1.6.1 K Hoang 15/07/2021 Add configurable connectMultiWiFi parameters. Update for ESP8266 core v3.0.1
1.6.1 K Hoang 13/08/2021 Update `platform.ini` and `library.json`
********************************************************************************************************************************/

#pragma once
Expand All @@ -52,9 +53,12 @@

/////////////////////////////////////////////

#if (ARDUINO_ESP8266_GIT_VER == 0xcbf44fb3)
#if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4)
#define USING_ESP8266_CORE_VERSION 30002
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.2"
#elif (ARDUINO_ESP8266_GIT_VER == 0xcbf44fb3)
#define USING_ESP8266_CORE_VERSION 30001
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.1"
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.1"
#elif (ARDUINO_ESP8266_GIT_VER == 0xefb0341a)
#define USING_ESP8266_CORE_VERSION 30000
#define ESP8266_CORE_VERSION "ESP8266 core v3.0.0"
Expand Down

0 comments on commit 5a8cf07

Please sign in to comment.