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

Commit 07b871f

Browse files
authored
v1.4.1 to fix EP32 custom Blynk port bug
### 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](#4)
1 parent d0a83f9 commit 07b871f

7 files changed

+38
-24
lines changed

README.md

+21-11
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* [Why using SSL insecured mode now](#why-using-ssl-insecured-mode-now)
1919
* [Currently supported Boards](#currently-supported-boards)
2020
* [Changelog](#changelog)
21+
* [Releases v1.4.1](#releases-v141)
2122
* [Major Releases v1.4.0](#major-releases-v140)
2223
* [Major Releases v1.3.0](#major-releases-v130)
2324
* [Releases v1.2.3](#releases-v123)
@@ -184,6 +185,10 @@ This [**BlynkESP32_BT_WF** library](https://github.com/khoih-prog/BlynkESP32_BT_
184185

185186
## Changelog
186187

188+
### Releases v1.4.1
189+
190+
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)
191+
187192
### Major Releases v1.4.0
188193

189194
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).
@@ -1844,7 +1849,7 @@ The following is the sample terminal output when running example [Async_ESP32WM_
18441849

18451850
```
18461851
Starting Async_ESP32WM_MRD_Config using LittleFS with SSL on ESP32_DEV
1847-
Blynk_Async_WM SSL for ESP32 v1.4.0
1852+
Blynk_Async_WM SSL for ESP32 v1.4.1
18481853
ESP_MultiResetDetector v1.1.1
18491854
LittleFS Flag read = 0xFFFE0001
18501855
multiResetDetectorFlag = 0xFFFE0001
@@ -1923,7 +1928,7 @@ Pubs Topics = default-mqtt-PubTopic
19231928

19241929
```
19251930
Starting Async_ESP32WM_MRD_Config using LittleFS with SSL on ESP32_DEV
1926-
Blynk_Async_WM SSL for ESP32 v1.4.0
1931+
Blynk_Async_WM SSL for ESP32 v1.4.1
19271932
ESP_MultiResetDetector v1.1.1
19281933
LittleFS Flag read = 0xFFFC0003
19291934
multiResetDetectorFlag = 0xFFFC0003
@@ -2028,7 +2033,7 @@ RFRFRF[188660] id: = HueNet1
20282033

20292034
```
20302035
Starting Async_ESP32WM_MRD_Config using LittleFS with SSL on ESP32_DEV
2031-
Blynk_Async_WM SSL for ESP32 v1.4.0
2036+
Blynk_Async_WM SSL for ESP32 v1.4.1
20322037
ESP_MultiResetDetector v1.1.1
20332038
LittleFS Flag read = 0xFFFE0001
20342039
multiResetDetectorFlag = 0xFFFE0001
@@ -2377,7 +2382,7 @@ Blynk.resetAndEnterConfigPortal();
23772382

23782383
```
23792384
Starting Async_ESP32WM_MRD_ForcedConfig using LittleFS with SSL on ESP32_DEV
2380-
Blynk_Async_WM SSL for ESP32 v1.4.0
2385+
Blynk_Async_WM SSL for ESP32 v1.4.1
23812386
ESP_MultiResetDetector v1.1.1
23822387
LittleFS Flag read = 0xFFFE0001
23832388
multiResetDetectorFlag = 0xFFFE0001
@@ -2468,7 +2473,7 @@ Non-Persistent CP will be removed after first reset, even you didn't enter the C
24682473

24692474
```
24702475
Starting Async_ESP32WM_MRD_ForcedConfig using LittleFS with SSL on ESP32_DEV
2471-
Blynk_Async_WM SSL for ESP32 v1.4.0
2476+
Blynk_Async_WM SSL for ESP32 v1.4.1
24722477
ESP_MultiResetDetector v1.1.1
24732478
LittleFS Flag read = 0xFFFE0001
24742479
multiResetDetectorFlag = 0xFFFE0001
@@ -2583,7 +2588,7 @@ RF[66298] id: = HueNet1
25832588

25842589
```
25852590
Starting Async_ESP32WM_MRD_ForcedConfig using LittleFS with SSL on ESP32_DEV
2586-
Blynk_Async_WM SSL for ESP32 v1.4.0
2591+
Blynk_Async_WM SSL for ESP32 v1.4.1
25872592
ESP_MultiResetDetector v1.1.1
25882593
LittleFS Flag read = 0xFFFE0001
25892594
multiResetDetectorFlag = 0xFFFE0001
@@ -2682,7 +2687,7 @@ Blynk.resetAndEnterConfigPortalPersistent();
26822687

26832688
```
26842689
Starting Async_ESP32WM_MRD_ForcedConfig using LittleFS with SSL on ESP32_DEV
2685-
Blynk_Async_WM SSL for ESP32 v1.4.0
2690+
Blynk_Async_WM SSL for ESP32 v1.4.1
26862691
ESP_MultiResetDetector v1.1.1
26872692
LittleFS Flag read = 0xFFFE0001
26882693
multiResetDetectorFlag = 0xFFFE0001
@@ -2773,7 +2778,7 @@ Persistent CP will remain after resets. The only way to get rid of Config Portal
27732778

27742779
```
27752780
Starting Async_ESP32WM_MRD_ForcedConfig using LittleFS with SSL on ESP32_DEV
2776-
Blynk_Async_WM SSL for ESP32 v1.4.0
2781+
Blynk_Async_WM SSL for ESP32 v1.4.1
27772782
ESP_MultiResetDetector v1.1.1
27782783
LittleFS Flag read = 0xFFFE0001
27792784
multiResetDetectorFlag = 0xFFFE0001
@@ -2885,7 +2890,7 @@ Enter CP, input (even fake data or none) and `Save` config data to exit persiste
28852890

28862891
```
28872892
Starting Async_ESP32WM_MRD_ForcedConfig using LittleFS with SSL on ESP32_DEV
2888-
Blynk_Async_WM SSL for ESP32 v1.4.0
2893+
Blynk_Async_WM SSL for ESP32 v1.4.1
28892894
ESP_MultiResetDetector v1.1.1
28902895
LittleFS Flag read = 0xFFFE0001
28912896
multiResetDetectorFlag = 0xFFFE0001
@@ -2970,7 +2975,7 @@ The following is the sample terminal output when running example [Async_ESP32WM_
29702975

29712976
```
29722977
Starting Async_ESP32WM_ForcedConfig using LittleFS with SSL on ESP32S2_DEV
2973-
Blynk_Async_WM SSL for ESP32 v1.4.0
2978+
Blynk_Async_WM SSL for ESP32 v1.4.1
29742979
ESP_DoubleResetDetector v1.1.1
29752980
[958] Set CustomsStyle to : <style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>
29762981
[980] Set CustomsHeadElement to : <style>html{filter: invert(10%);}</style>
@@ -3075,6 +3080,10 @@ Sometimes, the library will only work if you update the board core to the latest
30753080

30763081
## Releases
30773082

3083+
### Releases v1.4.1
3084+
3085+
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)
3086+
30783087
### Major Releases v1.4.0
30793088

30803089
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).
@@ -3186,14 +3195,15 @@ Check these new features thanks to his direct contribution and/or enhancement re
31863195
* [How to trigger a Config Portal from code #25](https://github.com/khoih-prog/Blynk_WM/issues/25)
31873196
* [Good new feature: Blynk.resetAndEnterConfigPortal() Thanks & question #27](https://github.com/khoih-prog/Blynk_WM/issues/27)
31883197
4. Thanks to good work of [Miguel Alexandre Wisintainer](https://github.com/tcpipchip) for working with, developing, debugging and testing.
3189-
3198+
5. Thanks to [komaneko](https://github.com/jjskaife) to report bugs in [Custom Blynk port not working for BlynkSimpleEsp32_Async_WM.h #4](https://github.com/khoih-prog/Blynk_Async_WM/issues/4) leading to v1.4.1
31903199

31913200
<table>
31923201
<tr>
31933202
<td align="center"><a href="https://github.com/me-no-dev"><img src="https://github.com/me-no-dev.png" width="100px;" alt="me-no-dev"/><br /><sub><b>⭐️⭐️ me-no-dev</b></sub></a><br /></td>
31943203
<td align="center"><a href="https://github.com/lorol"><img src="https://github.com/lorol.png" width="100px;" alt="lorol"/><br /><sub><b>⭐️ lorol</b></sub></a><br /></td>
31953204
<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>
31963205
<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>
3206+
<td align="center"><a href="https://github.com/jjskaife"><img src="https://github.com/jjskaife.png" width="100px;" alt="jjskaife"/><br /><sub><b>komaneko</b></sub></a><br /></td>
31973207
</tr>
31983208
</table>
31993209

library.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Blynk_Async_WM",
3-
"version": "1.4.0",
4-
"description": "Library, using AsyncWebServer instead of (ESP8266)WebServer, for configuring/auto(re)connecting ESP32 (including ESP32-S2), 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.",
3+
"version": "1.4.1",
4+
"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.",
55
"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 ",
66
"authors":
77
{

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Blynk_Async_WM
2-
version=1.4.0
2+
version=1.4.1
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <[email protected]>

src/BlynkSimpleEsp32_Async_WM.h

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@date Jan 2015
1818
@brief
1919
20-
Version: 1.4.0
20+
Version: 1.4.1
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -31,6 +31,7 @@
3131
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
3232
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
3333
Fix SSL issue with Blynk Cloud Server
34+
1.4.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3435
********************************************************************************************************************************/
3536

3637
#pragma once
@@ -42,7 +43,7 @@
4243
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
4344
#endif
4445

45-
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM for ESP32 v1.4.0"
46+
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM for ESP32 v1.4.1"
4647

4748
#define BLYNK_SEND_ATOMIC
4849

@@ -2067,7 +2068,7 @@ class BlynkWifi
20672068
for (uint16_t i = 0; i < NUM_BLYNK_CREDENTIALS; i++)
20682069
{
20692070
config(BlynkESP32_WM_config.Blynk_Creds[i].blynk_token,
2070-
BlynkESP32_WM_config.Blynk_Creds[i].blynk_server, BLYNK_SERVER_HARDWARE_PORT);
2071+
BlynkESP32_WM_config.Blynk_Creds[i].blynk_server, BlynkESP32_WM_config.blynk_port);
20712072

20722073
if (connect(BLYNK_CONNECT_TIMEOUT_MS) )
20732074
{

src/BlynkSimpleEsp32_SSL_Async_WM.h

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@date Jan 2015
1818
@brief
1919
20-
Version: 1.4.0
20+
Version: 1.4.1
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -31,6 +31,7 @@
3131
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
3232
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
3333
Fix SSL issue with Blynk Cloud Server
34+
1.4.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3435
********************************************************************************************************************************/
3536

3637
#pragma once
@@ -42,7 +43,7 @@
4243
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
4344
#endif
4445

45-
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM SSL for ESP32 v1.4.0"
46+
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM SSL for ESP32 v1.4.1"
4647

4748
#if defined(BLYNK_SSL_USE_LETSENCRYPT)
4849
static const char BLYNK_DEFAULT_ROOT_CA[] =
@@ -2140,7 +2141,7 @@ class BlynkWifi
21402141
for (uint16_t i = 0; i < NUM_BLYNK_CREDENTIALS; i++)
21412142
{
21422143
config(BlynkESP32_WM_config.Blynk_Creds[i].blynk_token,
2143-
BlynkESP32_WM_config.Blynk_Creds[i].blynk_server, BLYNK_SERVER_HARDWARE_PORT);
2144+
BlynkESP32_WM_config.Blynk_Creds[i].blynk_server, BlynkESP32_WM_config.blynk_port);
21442145

21452146
if (this->connect(BLYNK_CONNECT_TIMEOUT_MS) )
21462147
{

src/BlynkSimpleEsp8266_Async_WM.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@date Jan 2015
1818
@brief
1919
20-
Version: 1.4.0
20+
Version: 1.4.1
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -31,6 +31,7 @@
3131
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
3232
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
3333
Fix SSL issue with Blynk Cloud Server
34+
1.4.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3435
********************************************************************************************************************************/
3536

3637
#pragma once
@@ -42,7 +43,7 @@
4243
#error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting.
4344
#endif
4445

45-
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM for ESP8266 v1.4.0"
46+
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM for ESP8266 v1.4.1"
4647

4748
#include <version.h>
4849

src/BlynkSimpleEsp8266_SSL_Async_WM.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@date Jan 2015
1818
@brief
1919
20-
Version: 1.4.0
20+
Version: 1.4.1
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
@@ -31,6 +31,7 @@
3131
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
3232
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
3333
Fix SSL issue with Blynk Cloud Server
34+
1.4.1 K Hoang 24/04/2021 Fix issue of custom Blynk port (different from 8080 or 9443) not working on ESP32
3435
********************************************************************************************************************************/
3536

3637
#pragma once
@@ -42,7 +43,7 @@
4243
#error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting.
4344
#endif
4445

45-
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM SSL for ESP8266 v1.4.0"
46+
#define BLYNK_ASYNC_WM_VERSION "Blynk_Async_WM SSL for ESP8266 v1.4.1"
4647

4748
#include <version.h>
4849

0 commit comments

Comments
 (0)