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

Commit 68b9ddb

Browse files
authored
v2.1.1 to fix ESP32 chipID
### Releases v2.1.1 1. Fix ESP32 chipID for example `AsyncHTTPSRequest_ESP_WiFiManager`
1 parent a119a4d commit 68b9ddb

File tree

15 files changed

+87
-68
lines changed

15 files changed

+87
-68
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ This library is based on, modified from:
172172

173173
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
174174
2. [`ESP32 Core 2.0.4+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [Latest stable release ![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32.svg?style=plastic)
175-
3. [`AsyncTCP_SSL v1.2.0+`](https://github.com/khoih-prog/AsyncTCP_SSL) for ESP32. [![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncTCP_SSL.svg)](https://github.com/khoih-prog/AsyncTCP_SSL/releases)
175+
3. [`AsyncTCP_SSL v1.3.0+`](https://github.com/khoih-prog/AsyncTCP_SSL) for ESP32. [![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncTCP_SSL.svg)](https://github.com/khoih-prog/AsyncTCP_SSL/releases)
176176
4. [`WebServer_WT32_ETH01 v1.5.0+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) for ESP32-based WT32_ETH01 using **either ESP32 core v2.0.0+ or v1.0.6-**. [![GitHub release](https://img.shields.io/github/release/khoih-prog/WebServer_WT32_ETH01.svg)](https://github.com/khoih-prog/WebServer_WT32_ETH01/releases)
177-
5. [`ESPAsync_WiFiManager library v1.13.0+`](https://github.com/khoih-prog/ESPAsync_WiFiManager) for ESP32/ESP8266 using some examples. [![GitHub release](https://img.shields.io/github/release/khoih-prog/ESPAsync_WiFiManager.svg)](https://github.com/khoih-prog/ESPAsync_WiFiManager/releases)
178-
6. [`AsyncHTTPRequest_Generic library v1.9.0+`](https://github.com/khoih-prog/AsyncHTTPRequest_Generic) for ESP32/ESP8266 using with [AsyncHTTP_HTTPSRequest_ESP example](https://github.com/khoih-prog/AsyncHTTPSRequest_Generic/tree/main/examples/AsyncHTTP_HTTPSRequest_ESP). [![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncHTTPRequest_Generic.svg)](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/releases)
177+
5. [`ESPAsync_WiFiManager library v1.14.0+`](https://github.com/khoih-prog/ESPAsync_WiFiManager) for ESP32/ESP8266 using some examples. [![GitHub release](https://img.shields.io/github/release/khoih-prog/ESPAsync_WiFiManager.svg)](https://github.com/khoih-prog/ESPAsync_WiFiManager/releases)
178+
6. [`AsyncHTTPRequest_Generic library v1.9.1+`](https://github.com/khoih-prog/AsyncHTTPRequest_Generic) for ESP32/ESP8266 using with [AsyncHTTP_HTTPSRequest_ESP example](https://github.com/khoih-prog/AsyncHTTPSRequest_Generic/tree/main/examples/AsyncHTTP_HTTPSRequest_ESP). [![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncHTTPRequest_Generic.svg)](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/releases)
179179

180180
---
181181
---
@@ -348,8 +348,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP](exa
348348

349349
```
350350
21:38:45.215 -> Starting AsyncHTTPSRequest_ESP using ESP32_DEV
351-
21:38:45.215 -> AsyncTCP_SSL v1.2.0
352-
21:38:45.215 -> AsyncHTTPSRequest_Generic v2.1.0
351+
21:38:45.215 -> AsyncTCP_SSL v1.3.0
352+
21:38:45.215 -> AsyncHTTPSRequest_Generic v2.1.1
353353
21:38:45.348 -> Connecting to WiFi SSID: HueNet1
354354
21:38:45.844 -> ....
355355
21:38:47.335 -> AsyncHTTPSRequest @ IP : 192.168.2.186
@@ -404,8 +404,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP](exa
404404

405405
```
406406
Starting AsyncHTTPSRequest_ESP using ESP32S2_DEV
407-
AsyncTCP_SSL v1.2.0
408-
AsyncHTTPSRequest_Generic v2.1.0
407+
AsyncTCP_SSL v1.3.0
408+
AsyncHTTPSRequest_Generic v2.1.1
409409
Connecting to WiFi SSID: HueNet1
410410
.......
411411
AsyncHTTPSRequest @ IP : 192.168.2.79
@@ -478,8 +478,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP](exa
478478

479479
```
480480
Starting AsyncHTTPSRequest_ESP using ESP32C3_DEV
481-
AsyncTCP_SSL v1.2.0
482-
AsyncHTTPSRequest_Generic v2.1.0
481+
AsyncTCP_SSL v1.3.0
482+
AsyncHTTPSRequest_Generic v2.1.1
483483
Connecting to WiFi SSID: HueNet1
484484
.........
485485
AsyncHTTPSRequest @ IP : 192.168.2.80
@@ -528,9 +528,9 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP_WiFi
528528

529529
```
530530
Starting AsyncHTTPSRequest_ESP_WiFiManager using LittleFS on ESP32_DEV
531-
ESPAsync_WiFiManager v1.13.0
532-
AsyncTCP_SSL v1.2.0
533-
AsyncHTTPSRequest_Generic v2.1.0
531+
ESPAsync_WiFiManager v1.14.0
532+
AsyncTCP_SSL v1.3.0
533+
AsyncHTTPSRequest_Generic v2.1.1
534534
Stored: SSID = HueNet1, Pass = 12345678
535535
Got stored Credentials. Timeout 120s
536536
ConnectMultiWiFi in setup
@@ -565,8 +565,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_WT32_ETH
565565
```
566566
Starting AsyncHTTPSRequest_WT32_ETH01 using ESP32_DEV with ETH_PHY_LAN8720
567567
WebServer_WT32_ETH01 v1.5.0 for core v2.0.0+
568-
AsyncTCP_SSL v1.2.0
569-
AsyncHTTPSRequest_Generic v2.1.0
568+
AsyncTCP_SSL v1.3.0
569+
AsyncHTTPSRequest_Generic v2.1.1
570570
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.82, FULL_DUPLEX, 100Mbps
571571
572572
HTTP WebClient is @ IP : 192.168.2.82
@@ -599,8 +599,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_WT32_ETH
599599
```
600600
Starting AsyncHTTPSRequest_WT32_ETH01 using ESP32_DEV with ETH_PHY_LAN8720
601601
WebServer_WT32_ETH01 v1.5.0 for core v1.0.6-
602-
AsyncTCP_SSL v1.2.0
603-
AsyncHTTPSRequest_Generic v2.1.0
602+
AsyncTCP_SSL v1.3.0
603+
AsyncHTTPSRequest_Generic v2.1.1
604604
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
605605
606606
HTTP WebClient is @ IP : 192.168.2.232
@@ -632,8 +632,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP_WiFi
632632

633633
```
634634
Starting AsyncHTTPSRequest_ESP_WiFiManager using LittleFS on ESP32C3_DEV
635-
ESPAsync_WiFiManager v1.13.0
636-
AsyncHTTPSRequest_Generic v2.1.0
635+
ESPAsync_WiFiManager v1.14.0
636+
AsyncHTTPSRequest_Generic v2.1.1
637637
Stored: SSID = HueNet1, Pass = password
638638
Got stored Credentials. Timeout 120s
639639
ConnectMultiWiFi in setup
@@ -686,8 +686,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP_WiFi
686686

687687
```
688688
Starting AsyncHTTPSRequest_ESP_WiFiManager using LittleFS on ESP32S3_DEV
689-
ESPAsync_WiFiManager v1.13.0
690-
AsyncHTTPSRequest_Generic v2.1.0
689+
ESPAsync_WiFiManager v1.14.0
690+
AsyncHTTPSRequest_Generic v2.1.1
691691
Stored: SSID = HueNet1, Pass = password
692692
Got stored Credentials. Timeout 120s
693693
ConnectMultiWiFi in setup
@@ -722,8 +722,8 @@ The terminal output of [AsyncHTTPSRequest_ESP_Multi example](examples/AsyncHTTPS
722722

723723
```
724724
Starting AsyncHTTPSRequest_ESP_Multi on ESP32_DEV
725-
AsyncTCP_SSL v1.2.0
726-
AsyncHTTPSRequest_Generic v2.1.0
725+
AsyncTCP_SSL v1.3.0
726+
AsyncHTTPSRequest_Generic v2.1.1
727727
Connecting to WiFi SSID: HueNet1
728728
...
729729
AsyncHTTPSRequest @ IP : 192.168.2.186
@@ -796,9 +796,9 @@ The terminal output of [AsyncHTTP_HTTPSRequest_ESP example](examples/AsyncHTTP_H
796796

797797
```
798798
21:49:19.090 -> Starting AsyncHTTP_HTTPSRequest_ESP on ESP32_DEV
799-
21:49:19.090 -> AsyncTCP_SSL v1.2.0
800-
21:49:19.090 -> AsyncHTTPSRequest_Generic v2.1.0
801-
21:49:19.090 -> AsyncHTTPRequest_Generic v1.9.0
799+
21:49:19.090 -> AsyncTCP_SSL v1.3.0
800+
21:49:19.090 -> AsyncHTTPSRequest_Generic v2.1.1
801+
21:49:19.090 -> AsyncHTTPRequest_Generic v1.9.1
802802
21:49:19.190 -> Connecting to WiFi SSID: HueNet1
803803
21:49:19.686 -> ...
804804
21:49:20.713 -> AsyncHTTPSRequest @ IP : 192.168.2.186
@@ -961,7 +961,7 @@ Submit issues to: [AsyncHTTPSRequest_Generic issues](https://github.com/khoih-pr
961961
15. Fix long timeout if using bad or unreachable `IPAddress`
962962
16. Display only successful `responseText` in examples
963963
17. Improve debug messages by adding functions to display `error messages` instead of `cryptic error number`
964-
964+
18. Fix ESP32 chipID for example`AsyncHTTPSRequest_ESP_WiFiManager`
965965

966966

967967
---

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
## Table of Contents
1212

1313
* [Changelog](#changelog)
14+
* [Releases v2.1.1](#releases-v211)
1415
* [Releases v2.1.0](#releases-v210)
1516
* [Releases v2.0.1](#releases-v201)
1617
* [Releases v2.0.0](#releases-v200)
@@ -28,6 +29,10 @@
2829

2930
## Changelog
3031

32+
### Releases v2.1.1
33+
34+
1. Fix ESP32 chipID for example `AsyncHTTPSRequest_ESP_WiFiManager`
35+
3136
### Releases v2.1.0
3237

3338
1. Fix long timeout if using bad or unreachable `IPAddress`

examples/AsyncHTTPSRequest_ESP/AsyncHTTPSRequest_ESP.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4545
#endif
4646

47-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.0"
48-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001000
47+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.1"
48+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001001
4949

5050
// Level from 0-4
5151
#define ASYNC_HTTPS_DEBUG_PORT Serial
@@ -151,6 +151,8 @@ void setup()
151151
Serial.begin(115200);
152152
while (!Serial && millis() < 5000);
153153

154+
delay(200);
155+
154156
Serial.print(F("\nStarting AsyncHTTPSRequest_ESP using ")); Serial.println(ARDUINO_BOARD);
155157

156158
#if defined(ESP32)

examples/AsyncHTTPSRequest_ESP_Multi/AsyncHTTPSRequest_ESP_Multi.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4545
#endif
4646

47-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.0"
48-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001000
47+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.1"
48+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001001
4949

5050
// Level from 0-4
5151
#define ASYNC_HTTPS_DEBUG_PORT Serial
@@ -217,6 +217,8 @@ void setup()
217217
Serial.begin(115200);
218218
while (!Serial && millis() < 5000);
219219

220+
delay(200);
221+
220222
Serial.print("\nStarting AsyncHTTPSRequest_ESP_Multi on "); Serial.println(ARDUINO_BOARD);
221223

222224
#if defined(ESP32)

examples/AsyncHTTPSRequest_ESP_WiFiManager/AsyncHTTPSRequest_ESP_WiFiManager.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4747
#endif
4848

49-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.13.0"
50-
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1012001
49+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.14.0"
50+
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1014000
5151

52-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.0"
53-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001000
52+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.1"
53+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001001
5454

5555
// Level from 0-4
5656
#define ASYNC_HTTPS_DEBUG_PORT Serial
@@ -116,8 +116,6 @@
116116
#endif
117117
//////
118118

119-
#define ESP_getChipId() ((uint32_t)ESP.getEfuseMac())
120-
121119
#define LED_BUILTIN 2
122120
#define LED_ON HIGH
123121
#define LED_OFF LOW
@@ -581,6 +579,8 @@ void setup()
581579
// put your setup code here, to run once:
582580
Serial.begin(115200);
583581
while (!Serial && millis() < 5000);
582+
583+
delay(200);
584584

585585
Serial.print(F("\nStarting AsyncHTTPSRequest_ESP_WiFiManager using ")); Serial.print(FS_Name);
586586
Serial.print(F(" on ")); Serial.println(ARDUINO_BOARD);

examples/AsyncHTTP_HTTPSRequest_ESP/AsyncHTTP_HTTPSRequest_ESP.ino

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4545
#endif
4646

47-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.0"
48-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001000
47+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.1"
48+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001001
4949

50-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.9.0"
51-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1009000
50+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.9.1"
51+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1009001
5252

5353
// Level from 0-4
5454
#define ASYNC_HTTPS_DEBUG_PORT Serial
@@ -305,6 +305,8 @@ void setup()
305305
Serial.begin(115200);
306306
while (!Serial && millis() < 5000);
307307

308+
delay(200);
309+
308310
Serial.print("\nStarting AsyncHTTP_HTTPSRequest_ESP on "); Serial.println(ARDUINO_BOARD);
309311

310312
#if defined(ESP32)

examples/WT32_ETH01/AsyncHTTPSRequest_WT32_ETH01/AsyncHTTPSRequest_WT32_ETH01.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
4545
#endif
4646

47-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.0"
48-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001000
47+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.1"
48+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001001
4949

5050
// Level from 0-4
5151
#define ASYNC_HTTPS_DEBUG_PORT Serial
@@ -157,6 +157,8 @@ void setup()
157157
Serial.begin(115200);
158158
while (!Serial && millis() < 5000);
159159

160+
delay(200);
161+
160162
Serial.print(F("\nStarting AsyncHTTPSRequest_WT32_ETH01 using ")); Serial.print(ARDUINO_BOARD);
161163
Serial.print(F(" with ")); Serial.println(SHIELD_TYPE);
162164
Serial.println(WEBSERVER_WT32_ETH01_VERSION);

examples/multiFileProject/multiFileProject.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,22 @@
1616
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
1717
#endif
1818

19-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.0"
20-
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001000
19+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPSRequest_Generic v2.1.1"
20+
#define ASYNC_HTTPS_REQUEST_GENERIC_VERSION_MIN 2001001
2121

2222
#include "multiFileProject.h"
2323

2424
#include <WiFi.h>
2525

26-
// Can be included as many times as necessary, without `Multiple Definitions` Linker Error
26+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
2727
#include "AsyncHTTPSRequest_Generic.h"
2828

2929
void setup()
3030
{
3131
Serial.begin(115200);
3232
while (!Serial && millis() < 5000);
33+
34+
delay(200);
3335

3436
Serial.println(F("\nStart multiFileProject"));
3537
Serial.println(ASYNC_HTTPS_REQUEST_GENERIC_VERSION);

library.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"AsyncHTTPSRequest_Generic",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description":"Simple Async HTTPS Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP_SSL library for ESP32 (including ESP32_S2, ESP32_S3 and ESP32_C3), WT32_ETH01 (ESP32 + LAN8720). Supporting in the future for RP2040W, ESP8266, Portenta_H7, STM32 with built-in LAN8742A Ethernet, etc. Now you can send HTTP / HTTPS requests to multiple addresses and receive responses from them.",
55
"keywords":"communication, async, tcp, https, ssl, tls, ESP8266, ESP32, ESP32-S2, wt32-eth01, ESPAsyncTCP, AsyncTCP, stm32, ethernet, wifi, lan8742a, lan8720, f407ve, nucleo-144, stm32f7",
66
"authors": [
@@ -33,7 +33,7 @@
3333
{
3434
"owner": "khoih-prog",
3535
"name": "AsyncTCP_SSL",
36-
"version": ">=1.2.0",
36+
"version": ">=1.3.0",
3737
"platforms": ["espressif32"]
3838
},
3939
{
@@ -45,13 +45,13 @@
4545
{
4646
"owner": "khoih-prog",
4747
"name": "AsyncHTTPRequest_Generic",
48-
"version": ">=1.9.0",
48+
"version": ">=1.9.1",
4949
"platforms": ["espressif8266", "espressif32"]
5050
},
5151
{
5252
"owner": "khoih-prog",
5353
"name": "ESPAsync_WiFiManager",
54-
"version": ">=1.13.0",
54+
"version": ">=1.14.0",
5555
"platforms": ["espressif8266", "espressif32"]
5656
}
5757
],

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AsyncHTTPSRequest_Generic
2-
version=2.1.0
2+
version=2.1.1
33
author=Bob Lemaire,Khoi Hoang <khoih.prog@gmail.com>
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
license=GPLv3

0 commit comments

Comments
 (0)