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

Commit ce09b7d

Browse files
authored
v1.11.0 for ESP32 and LwIP ENC28J60 Ethernet
### Releases v1.11.0 1. Add support to ESP32 boards using LwIP ENC28J60 Ethernet 2. Use `allman astyle` and add `utils`. Restyle the library
1 parent 9647523 commit ce09b7d

9 files changed

+232
-140
lines changed

README.md

+195-123
Large diffs are not rendered by default.

changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
## Table of Contents
1919

2020
* [Changelog](#changelog)
21+
* [Releases v1.11.0](#releases-v1110)
2122
* [Releases v1.10.2](#releases-v1102)
2223
* [Releases v1.10.1](#releases-v1101)
2324
* [Releases v1.10.0](#releases-v1100)
@@ -51,6 +52,11 @@
5152

5253
## Changelog
5354

55+
### Releases v1.11.0
56+
57+
1. Add support to ESP32 boards using LwIP ENC28J60 Ethernet
58+
2. Use `allman astyle` and add `utils`. Restyle the library
59+
5460
### Releases v1.10.2
5561

5662
1. Default to reconnect to the same `host:port` after connected for new HTTP sites. Check [Host/Headers not always sent with 1.10.1 #44](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues44)

library.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name":"AsyncHTTPRequest_Generic",
3-
"version": "1.10.2",
4-
"description":"Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP libraries, such as AsyncTCP, ESPAsyncTCP, AsyncTCP_STM32, etc.. for ESP32 (including ESP32_S2, ESP32_S3 and ESP32_C3), WT32_ETH01 (ESP32 + LAN8720), ESP8266 (WiFi, W5x00 or ENC28J60) and currently STM32 with built-in LAN8742A Ethernet.",
3+
"version": "1.11.0",
4+
"description":"Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP libraries, such as AsyncTCP, ESPAsyncTCP, AsyncTCP_STM32, etc.. for ESP32 (including ESP32_S2, ESP32_S3 and ESP32_C3), WT32_ETH01 (ESP32 + LAN8720), ESP32 with LwIP ENC28J60, ESP8266 (WiFi, W5x00 or ENC28J60) and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.",
55
"keywords":"communication, async, tcp, http, ESP8266, ESP32, ESP32-S2, ESP32-S3, ESP32-C3, wt32-eth01, stm32, ethernet, wifi, lan8742a, nucleo-144, stm32f7, W5x00, ENC28J60",
66
"authors": [
77
{
@@ -66,6 +66,12 @@
6666
"version": ">=1.5.1",
6767
"platforms": ["espressif32"]
6868
},
69+
{
70+
"owner": "khoih-prog",
71+
"name": "WebServer_ESP32_ENC",
72+
"version": ">=1.5.1",
73+
"platforms": ["espressif32"]
74+
},
6975
{
7076
"name": "STM32AsyncTCP",
7177
"version": "https://github.com/khoih-prog/STM32AsyncTCP",

library.properties

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name=AsyncHTTPRequest_Generic
2-
version=1.10.2
2+
version=1.11.0
33
author=Bob Lemaire,Khoi Hoang <[email protected]>
44
maintainer=Khoi Hoang <[email protected]>
55
license=GPLv3
6-
sentence=Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP libraries, such as AsyncTCP, ESPAsyncTCP, AsyncTCP_STM32, etc.. for ESP32 (including ESP32_S2, ESP32_S3 and ESP32_C3), WT32_ETH01 (ESP32 + LAN8720), ESP8266 (WiFi, W5x00 or ENC28J60) and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.
7-
paragraph=This AsyncHTTPRequest_Generic Library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, for ESP32 (including ESP32-S2), ESP8266 (WiFi, W5x00 or ENC28J60) and STM32 built-in LAN8742A Ethernet, such as Nucleo-144 F767ZI, etc.
8-
category=Communication,AsyncTCP,AsyncHTTP
6+
sentence=Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP libraries, such as AsyncTCP, ESPAsyncTCP, AsyncTCP_STM32, etc.. for ESP32 (including ESP32_S2, ESP32_S3 and ESP32_C3), WT32_ETH01 (ESP32 + LAN8720), ESP32 with LwIP ENC28J60, ESP8266 (WiFi, W5x00 or ENC28J60) and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.
7+
paragraph=This AsyncHTTPRequest_Generic Library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, for ESP32 (including WT32_ETH01, LwIP ENC28J60), ESP8266 (WiFi, W5x00 or ENC28J60) and STM32 built-in LAN8742A Ethernet, such as Nucleo-144 F767ZI, etc.
8+
category=Communication
99
url=https://github.com/khoih-prog/AsyncHTTPRequest_Generic
1010
architectures=*
11-
depends=ESPAsync_WiFiManager, STM32duino LwIP, STM32duino STM32Ethernet, WebServer_WT32_ETH01
12-
includes=AsyncHTTPRequest_Generic.h,AsyncHTTPRequest_Generic.hpp
11+
depends=ESPAsync_WiFiManager, STM32duino LwIP, STM32duino STM32Ethernet, WebServer_WT32_ETH01, WebServer_ESP32_ENC
12+
includes=AsyncHTTPRequest_Generic.h, AsyncHTTPRequest_Generic.hpp

platformio/platformio.ini

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ lib_deps =
4848
; ESPAsync_WiFiManager@>=1.15.1
4949
; LittleFS_esp32@>=1.0.6
5050
; WebServer_WT32_ETH01@>=1.5.1
51+
; WebServer_ESP32_ENC@>=1.5.1
5152
;
5253
; PlatformIO 5.x
5354
; me-no-dev/AsyncTCP@>=1.1.1
@@ -59,6 +60,7 @@ lib_deps =
5960
; khoih-prog/ESPAsync_WiFiManager@>=1.15.1
6061
; lorol/LittleFS_esp32@>=1.0.6
6162
; khoih-prog/WebServer_WT32_ETH01@>=1.5.1
63+
; khoih-prog/WebServer_ESP32_ENC@>=1.5.1
6264

6365
build_flags =
6466
; set your debug output (default=Serial)
@@ -131,12 +133,14 @@ lib_deps =
131133
; ESPAsync_WiFiManager@>=1.15.1
132134
; LittleFS_esp32@>=1.0.6
133135
; WebServer_WT32_ETH01@>=1.5.1
136+
; WebServer_ESP32_ENC@>=1.5.1
134137
;
135138
; PlatformIO 5.x
136139
me-no-dev/AsyncTCP@>=1.1.1
137140
khoih-prog/ESPAsync_WiFiManager@>=1.15.1
138141
; lorol/LittleFS_esp32@>=1.0.6
139142
khoih-prog/WebServer_WT32_ETH01@>=1.5.1
143+
khoih-prog/WebServer_ESP32_ENC@>=1.5.1
140144

141145
; ============================================================
142146
; Board configuration

src/AsyncHTTPRequest_Debug_Generic.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
You should have received a copy of the GNU General Public License along with this program.
1919
If not, see <https://www.gnu.org/licenses/>.
2020
21-
Version: 1.10.2
21+
Version: 1.11.0
2222
2323
Version Modified By Date Comments
2424
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.10.0 K Hoang 20/10/2022 Fix bug. Clean up
3636
1.10.1 K Hoang 21/10/2022 Fix bug of wrong reqStates
3737
1.10.2 K Hoang 09/11/2022 Default to reconnect to the same host:port after connected for new HTTP sites
38+
1.11.0 K Hoang 28/11/2022 Add support to ESP32 boards using LwIP ENC28J60 Ethernet
3839
*****************************************************************************************************************************/
3940

4041
#pragma once

src/AsyncHTTPRequest_Generic.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
You should have received a copy of the GNU General Public License along with this program.
1919
If not, see <https://www.gnu.org/licenses/>.
2020
21-
Version: 1.10.2
21+
Version: 1.11.0
2222
2323
Version Modified By Date Comments
2424
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.10.0 K Hoang 20/10/2022 Fix bug. Clean up
3636
1.10.1 K Hoang 21/10/2022 Fix bug of wrong reqStates
3737
1.10.2 K Hoang 09/11/2022 Default to reconnect to the same host:port after connected for new HTTP sites
38+
1.11.0 K Hoang 28/11/2022 Add support to ESP32 boards using LwIP ENC28J60 Ethernet
3839
*****************************************************************************************************************************/
3940

4041
#pragma once

src/AsyncHTTPRequest_Generic.hpp

+7-6
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
You should have received a copy of the GNU General Public License along with this program.
1919
If not, see <https://www.gnu.org/licenses/>.
2020
21-
Version: 1.10.2
22-
21+
Version: 1.11.0
22+
2323
Version Modified By Date Comments
2424
------- ----------- ---------- -----------
2525
1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc).
@@ -35,6 +35,7 @@
3535
1.10.0 K Hoang 20/10/2022 Fix bug. Clean up
3636
1.10.1 K Hoang 21/10/2022 Fix bug of wrong reqStates
3737
1.10.2 K Hoang 09/11/2022 Default to reconnect to the same host:port after connected for new HTTP sites
38+
1.11.0 K Hoang 28/11/2022 Add support to ESP32 boards using LwIP ENC28J60 Ethernet
3839
*****************************************************************************************************************************/
3940

4041
#pragma once
@@ -44,13 +45,13 @@
4445

4546
////////////////////////////////////////
4647

47-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.10.2"
48+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.11.0"
4849

4950
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MAJOR 1
50-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MINOR 10
51-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_PATCH 2
51+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MINOR 11
52+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_PATCH 0
5253

53-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_INT 1010002
54+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_INT 1011000
5455

5556
////////////////////////////////////////
5657

src/AsyncHTTPRequest_Impl_Generic.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
You should have received a copy of the GNU General Public License along with this program.
1919
If not, see <https://www.gnu.org/licenses/>.
2020
21-
Version: 1.10.2
21+
Version: 1.11.0
2222
2323
Version Modified By Date Comments
2424
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.10.0 K Hoang 20/10/2022 Fix bug. Clean up
3636
1.10.1 K Hoang 21/10/2022 Fix bug of wrong reqStates
3737
1.10.2 K Hoang 09/11/2022 Default to reconnect to the same host:port after connected for new HTTP sites
38+
1.11.0 K Hoang 28/11/2022 Add support to ESP32 boards using LwIP ENC28J60 Ethernet
3839
*****************************************************************************************************************************/
3940

4041
#pragma once

0 commit comments

Comments
 (0)