You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
### Releases v2.4.0
1. Add support to ESP32 boards using `LwIP W5500 Ethernet`
2. Fix bug. Check [Fix "blank new line in chunk" bug #50](khoih-prog/AsyncHTTPRequest_Generic#50)
*[ 9. AsyncHTTPSRequest_ESP_Multi on ESP32_DEV](#9-AsyncHTTPSRequest_ESP_Multi-on-ESP32_DEV)**New**
64
66
*[10. AsyncHTTP_HTTPSRequest_ESP on ESP32_DEV](#10-AsyncHTTP_HTTPSRequest_ESP-on-ESP32_DEV)**New**
65
67
*[11. AsyncHTTPSRequest_ESP32_ENC using ESP32_DEV with ESP32_ENC28J60](#11-AsyncHTTPSRequest_ESP32_ENC-using-ESP32_DEV-with-ESP32_ENC28J60)**New**
68
+
*[12. AsyncHTTPSRequest_ESP32_W5500 using ESP32_DEV with ESP32_W5500](#12-AsyncHTTPSRequest_ESP32_W5500-using-ESP32_DEV-with-ESP32_W5500)**New**
66
69
*[Debug](#debug)
67
70
*[Troubleshooting](#troubleshooting)
68
71
*[Issues](#issues)
@@ -163,6 +166,8 @@ This library is based on, modified from:
163
166
164
167
#### 3. **ESP32 boards using LwIP ENC28J60 Ethernet**
165
168
169
+
#### 4. **ESP32 boards using LwIP W5500 Ethernet**
170
+
166
171
167
172
---
168
173
@@ -184,8 +189,9 @@ This library is based on, modified from:
184
189
3.[`AsyncTCP_SSL v1.3.1+`](https://github.com/khoih-prog/AsyncTCP_SSL) for ESP32. [](https://github.com/khoih-prog/AsyncTCP_SSL/releases)
185
190
4.[`WebServer_WT32_ETH01 v1.5.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) for ESP32-based WT32_ETH01 using **either ESP32 core v2.0.0+ or v1.0.6-**. [](https://github.com/khoih-prog/WebServer_WT32_ETH01/releases)
186
191
5.[`WebServer_ESP32_ENC v1.5.1+`](https://github.com/khoih-prog/WebServer_ESP32_ENC) for ESP32 boards using `LwIP ENC28J60 Ethernet`. [](https://github.com/khoih-prog/WebServer_ESP32_ENC/releases)
187
-
5.[`ESPAsync_WiFiManager library v1.15.1+`](https://github.com/khoih-prog/ESPAsync_WiFiManager) for ESP32/ESP8266 using some examples. [](https://github.com/khoih-prog/ESPAsync_WiFiManager/releases)
188
-
6.[`AsyncHTTPRequest_Generic library v1.11.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). [](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/releases)
192
+
6.[`WebServer_ESP32_W5500 v1.5.1+`](https://github.com/khoih-prog/WebServer_ESP32_W5500) for ESP32 boards using `LwIP W5500 Ethernet`. [](https://github.com/khoih-prog/WebServer_ESP32_W5500/releases)
193
+
7.[`ESPAsync_WiFiManager library v1.15.1+`](https://github.com/khoih-prog/ESPAsync_WiFiManager) for ESP32/ESP8266 using some examples. [](https://github.com/khoih-prog/ESPAsync_WiFiManager/releases)
194
+
8.[`AsyncHTTPRequest_Generic library v1.12.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). [](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/releases)
189
195
190
196
191
197
@@ -323,6 +329,29 @@ Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/master
323
329
- Use `ADC1`, and pins GPIO32-GPIO39
324
330
- If somehow it's a must to use those pins serviced by `ADC2` (**GPIO0, 2, 4, 12, 13, 14, 15, 25, 26 and 27**), use the **fix mentioned at the end** of [**ESP_WiFiManager Issue 39: Not able to read analog port when using the autoconnect example**](https://github.com/khoih-prog/ESP_WiFiManager/issues/39) to work with ESP32 WiFi/BlueTooth (BT/BLE).
325
331
332
+
---
333
+
---
334
+
335
+
### HOWTO use ESP32 with LwIP W5500 or ENC28J60 Ethernet
336
+
337
+
#### 1. ESP32 Wiring
338
+
339
+
This is the wiring for ESP8266 `W5500` or `ENC28J60` Ethernet when using `SS = GPIO5`
@@ -366,7 +399,7 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP](exa
366
399
```cpp
367
400
Starting AsyncHTTPSRequest_ESP using ESP32_DEV
368
401
AsyncTCP_SSL v1.3.1
369
-
AsyncHTTPSRequest_Generic v2.2.1
402
+
AsyncHTTPSRequest_Generic v2.4.0
370
403
Connecting to WiFi SSID: HueNet1
371
404
...
372
405
AsyncHTTPSRequest @ IP : 192.168.2.80
@@ -426,7 +459,7 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP](exa
426
459
```cpp
427
460
Starting AsyncHTTPSRequest_ESP using ESP32S2_DEV
428
461
AsyncTCP_SSL v1.3.1
429
-
AsyncHTTPSRequest_Generic v2.2.1
462
+
AsyncHTTPSRequest_Generic v2.4.0
430
463
Connecting to WiFi SSID: HueNet1
431
464
.......
432
465
AsyncHTTPSRequest @ IP : 192.168.2.79
@@ -503,7 +536,7 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP](exa
503
536
```cpp
504
537
Starting AsyncHTTPSRequest_ESP using ESP32C3_DEV
505
538
AsyncTCP_SSL v1.3.1
506
-
AsyncHTTPSRequest_Generic v2.2.1
539
+
AsyncHTTPSRequest_Generic v2.4.0
507
540
Connecting to WiFi SSID: HueNet1
508
541
.........
509
542
AsyncHTTPSRequest @ IP : 192.168.2.80
@@ -552,9 +585,9 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP_WiFi
552
585
553
586
```cpp
554
587
Starting AsyncHTTPSRequest_ESP_WiFiManager using LittleFS on ESP32_DEV
555
-
ESPAsync_WiFiManager v1.15.0
588
+
ESPAsync_WiFiManager v1.15.1
556
589
AsyncTCP_SSL v1.3.1
557
-
AsyncHTTPSRequest_Generic v2.2.1
590
+
AsyncHTTPSRequest_Generic v2.4.0
558
591
Stored: SSID = HueNet1, Pass = 12345678
559
592
Got stored Credentials. Timeout 120s
560
593
ConnectMultiWiFi in setup
@@ -588,9 +621,9 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_WT32_ETH
588
621
589
622
```cpp
590
623
Starting AsyncHTTPSRequest_WT32_ETH01 using ESP32_DEV with ETH_PHY_LAN8720
591
-
WebServer_WT32_ETH01 v1.5.0for core v2.0.0+
624
+
WebServer_WT32_ETH01 v1.5.1for core v2.0.0+
592
625
AsyncTCP_SSL v1.3.1
593
-
AsyncHTTPSRequest_Generic v2.2.1
626
+
AsyncHTTPSRequest_Generic v2.4.0
594
627
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.82, FULL_DUPLEX, 100Mbps
595
628
596
629
HTTP WebClient is @ IP : 192.168.2.82
@@ -622,9 +655,9 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_WT32_ETH
622
655
623
656
```cpp
624
657
Starting AsyncHTTPSRequest_WT32_ETH01 using ESP32_DEV with ETH_PHY_LAN8720
625
-
WebServer_WT32_ETH01 v1.5.0for core v1.0.6-
658
+
WebServer_WT32_ETH01 v1.5.1for core v1.0.6-
626
659
AsyncTCP_SSL v1.3.1
627
-
AsyncHTTPSRequest_Generic v2.2.1
660
+
AsyncHTTPSRequest_Generic v2.4.0
628
661
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
629
662
630
663
HTTP WebClient is @ IP : 192.168.2.232
@@ -656,8 +689,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP_WiFi
656
689
657
690
```cpp
658
691
Starting AsyncHTTPSRequest_ESP_WiFiManager using LittleFS on ESP32C3_DEV
659
-
ESPAsync_WiFiManager v1.15.0
660
-
AsyncHTTPSRequest_Generic v2.2.1
692
+
ESPAsync_WiFiManager v1.15.1
693
+
AsyncHTTPSRequest_Generic v2.4.0
661
694
Stored: SSID = HueNet1, Pass = password
662
695
Got stored Credentials. Timeout 120s
663
696
ConnectMultiWiFi in setup
@@ -710,8 +743,8 @@ Following is the debug terminal when running example [AsyncHTTPSRequest_ESP_WiFi
710
743
711
744
```cpp
712
745
Starting AsyncHTTPSRequest_ESP_WiFiManager using LittleFS on ESP32S3_DEV
713
-
ESPAsync_WiFiManager v1.15.0
714
-
AsyncHTTPSRequest_Generic v2.2.1
746
+
ESPAsync_WiFiManager v1.15.1
747
+
AsyncHTTPSRequest_Generic v2.4.0
715
748
Stored: SSID = HueNet1, Pass = password
716
749
Got stored Credentials. Timeout 120s
717
750
ConnectMultiWiFi in setup
@@ -747,7 +780,7 @@ The terminal output of [AsyncHTTPSRequest_ESP_Multi example](examples/AsyncHTTPS
747
780
```cpp
748
781
Starting AsyncHTTPSRequest_ESP_Multi on ESP32_DEV
749
782
AsyncTCP_SSL v1.3.1
750
-
AsyncHTTPSRequest_Generic v2.2.1
783
+
AsyncHTTPSRequest_Generic v2.4.0
751
784
Connecting to WiFi SSID: HueNet1
752
785
...
753
786
AsyncHTTPSRequest @ IP : 192.168.2.187
@@ -821,8 +854,8 @@ The terminal output of [AsyncHTTP_HTTPSRequest_ESP example](examples/AsyncHTTP_H
821
854
```cpp
822
855
Starting AsyncHTTP_HTTPSRequest_ESP on ESP32_DEV
823
856
AsyncTCP_SSL v1.3.1
824
-
AsyncHTTPSRequest_Generic v2.2.1
825
-
AsyncHTTPRequest_Generic v1.10.2
857
+
AsyncHTTPSRequest_Generic v2.4.0
858
+
AsyncHTTPRequest_Generic v1.12.0
826
859
Connecting to WiFi SSID: HueNet1
827
860
...
828
861
AsyncHTTPSRequest @ IP : 192.168.2.80
@@ -906,14 +939,14 @@ week_number: 42
906
939
907
940
#### 11. AsyncHTTPSRequest_ESP32_ENC using ESP32_DEV with ESP32_ENC28J60
908
941
909
-
Following is the debug terminal when running example [AsyncHTTPSRequest_ESP32_ENC](examples/ESP32_ENC/AsyncHTTPSRequest_ESP32_ENC) on `ESP32_DEV` boards using `LwIP ENC28J60 Ethernet`, to demonstrate the operation of SSL Async HTTPS request, using [AsyncTCP_SSL Library](https://github.com/khoih-prog/AsyncTCP_SSL)
942
+
Following is the debug terminal when running example [AsyncHTTPSRequest_ESP32_ENC](examples/ESP32_ENC/AsyncHTTPSRequest_ESP32_ENC) on `ESP32_DEV` boards using `LwIP ENC28J60 Ethernet`, to demonstrate the operation of `SSL Async HTTPS` request, using [AsyncTCP_SSL Library](https://github.com/khoih-prog/AsyncTCP_SSL)
910
943
911
944
912
945
```cpp
913
946
Starting AsyncHTTPSRequest_ESP32_ENC using ESP32_DEV with ESP32_ENC28J60
914
947
WebServer_ESP32_ENC v1.5.1for core v2.0.0+
915
948
AsyncTCP_SSL v1.3.1
916
-
AsyncHTTPSRequest_Generic v2.2.1
949
+
AsyncHTTPSRequest_Generic v2.4.0
917
950
[AHTTPS] Default SPI pinout:
918
951
[AHTTPS] MOSI: 23
919
952
[AHTTPS] MISO: 19
@@ -966,6 +999,74 @@ utc_offset: -05:00
966
999
week_number: 48
967
1000
**************************************
968
1001
```
1002
+
1003
+
---
1004
+
1005
+
1006
+
#### 12. AsyncHTTPSRequest_ESP32_W5500 using ESP32_DEV with ESP32_W5500
1007
+
1008
+
Following is the debug terminal when running example [AsyncHTTPSRequest_ESP32_W5500](examples/ESP32_W5500/AsyncHTTPSRequest_ESP32_W5500) on `ESP32_DEV` boards using `LwIP W5500 Ethernet`, to demonstrate the operation of `SSL Async HTTPS` request, using [AsyncTCP_SSL Library](https://github.com/khoih-prog/AsyncTCP_SSL)
1009
+
1010
+
1011
+
```cpp
1012
+
Starting AsyncHTTPSRequest_ESP32_W5500 using ESP32_DEV with ESP32_W5500
1013
+
WebServer_ESP32_W5500 v1.5.1 for core v2.0.0+
1014
+
AsyncTCP_SSL v1.3.1
1015
+
AsyncHTTPSRequest_Generic v2.4.0
1016
+
[AHTTPS] Default SPI pinout:
1017
+
[AHTTPS] SPI_HOST: 2
1018
+
[AHTTPS] MOSI: 23
1019
+
[AHTTPS] MISO: 19
1020
+
[AHTTPS] SCK: 18
1021
+
[AHTTPS] CS: 5
1022
+
[AHTTPS] INT: 4
1023
+
[AHTTPS] SPI Clock (MHz): 25
1024
+
[AHTTPS] =========================
1025
+
1026
+
ETH Started
1027
+
ETH Connected
1028
+
ETH MAC: DE:AD:BE:EF:BE:12, IPv4: 192.168.2.103
1029
+
FULL_DUPLEX, 100Mbps
1030
+
1031
+
HTTP WebClient is @ IP : 192.168.2.103
1032
+
1033
+
**************************************
1034
+
abbreviation: EST
1035
+
client_ip: 216.154.12.9
1036
+
datetime: 2022-11-30T19:05:25.743559-05:00
1037
+
day_of_week: 3
1038
+
day_of_year: 334
1039
+
dst: false
1040
+
dst_from:
1041
+
dst_offset: 0
1042
+
dst_until:
1043
+
raw_offset: -18000
1044
+
timezone: America/Toronto
1045
+
unixtime: 1669853125
1046
+
utc_datetime: 2022-12-01T00:05:25.743559+00:00
1047
+
utc_offset: -05:00
1048
+
week_number: 48
1049
+
**************************************
1050
+
HHHHHH
1051
+
**************************************
1052
+
abbreviation: EST
1053
+
client_ip: 216.154.12.9
1054
+
datetime: 2022-11-30T19:06:24.624668-05:00
1055
+
day_of_week: 3
1056
+
day_of_year: 334
1057
+
dst: false
1058
+
dst_from:
1059
+
dst_offset: 0
1060
+
dst_until:
1061
+
raw_offset: -18000
1062
+
timezone: America/Toronto
1063
+
unixtime: 1669853184
1064
+
utc_datetime: 2022-12-01T00:06:24.624668+00:00
1065
+
utc_offset: -05:00
1066
+
week_number: 48
1067
+
**************************************
1068
+
HHHH
1069
+
```
969
1070
---
970
1071
---
971
1072
@@ -1035,6 +1136,9 @@ Submit issues to: [AsyncHTTPSRequest_Generic issues](https://github.com/khoih-pr
1035
1136
21. Default to reconnect to the same `host:port` after connected for new HTTP sites.
1036
1137
22. Use `allman` astyle
1037
1138
23. Add support to ESP32 boards using `LwIP ENC28J60 Ethernet`
1139
+
24. Add support to ESP32 boards using `LwIP W5500 Ethernet`
1140
+
25.[Fix "blank new line in chunk" bug #50](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/pull/50)
0 commit comments