v1.8.0 to add support to ESP8266 using W5x00
### Releases v1.8.0 1. Add support to ESP8266 using W5x00 with [lwIP_w5100](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5100) or [lwIP_w5500](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5500) library 2. Add example [AsyncHTTPRequest_ESP8266_Ethernet](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/tree/master/examples/AsyncHTTPRequest_ESP8266_Ethernet) to demo the new feature. 3. Update `Packages' Patches`
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ Please ensure to specify the following:
|
||||
Arduino IDE version: 1.8.19
|
||||
ESP32 Core Version 2.0.2
|
||||
OS: Ubuntu 20.04 LTS
|
||||
Linux xy-Inspiron-3593 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
|
||||
Linux xy-Inspiron-3593 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
|
||||
|
||||
Context:
|
||||
I encountered an endless loop while trying to connect to Local WiFi.
|
||||
|
||||
@@ -40,12 +40,15 @@
|
||||
* [1. Wiring](#1-wiring)
|
||||
* [2. HOWTO program using STLink V-2 or V-3](#2-howto-program-using-stlink-v-2-or-v-3)
|
||||
* [3. HOWTO use Serial Port for Debugging](#3-howto-use-serial-port-for-debugging)
|
||||
* [HOWTO use ESP8266 with W5x00 Ethernet](#HOWTO-use-ESP8266-with-W5x00-Ethernet)
|
||||
* [1. ESP8266 Wiring](#1-ESP8266-wiring)
|
||||
* [Examples](#examples)
|
||||
* [For ESP32 and ESP8266](#for-esp32-and-esp8266)
|
||||
* [1. AsyncHTTPRequest_ESP](examples/AsyncHTTPRequest_ESP)
|
||||
* [2. AsyncHTTPRequest_ESP_WiFiManager](examples/AsyncHTTPRequest_ESP_WiFiManager)
|
||||
* [3. AsyncHTTPMultiRequests_ESP](examples/AsyncHTTPMultiRequests_ESP)
|
||||
* [4. AsyncHTTPRequest_ESP_Multi](examples/AsyncHTTPRequest_ESP_Multi) **New**
|
||||
* [5. AsyncHTTPRequest_ESP8266_Ethernet](examples/AsyncHTTPRequest_ESP8266_Ethernet) **New**
|
||||
* [For STM32 using LAN8742A](#for-stm32-using-lan8742a)
|
||||
* [1. AsyncHTTPRequest_STM32](examples/AsyncHTTPRequest_STM32)
|
||||
* [2. AsyncCustomHeader_STM32](examples/AsyncCustomHeader_STM32)
|
||||
@@ -80,6 +83,9 @@
|
||||
* [9. AsyncHTTPRequest_ESP_WiFiManager running on ESP32C3_DEV](#9-asynchttprequest_esp_wifimanager-running-on-ESP32C3_DEV) **New**
|
||||
* [10. AsyncHTTPRequest_ESP_WiFiManager running on ESP32S3_DEV](#10-asynchttprequest_esp_wifimanager-running-on-ESP32S3_DEV) **New**
|
||||
* [11. AsyncHTTPRequest_ESP_Multi running on ESP32_DEV](#11-AsyncHTTPRequest_ESP_Multi-running-on-ESP32_DEV) **New**
|
||||
* [12. AsyncHTTPRequest_ESP8266_Ethernet running on ESP8266_NODEMCU_ESP12E using ESP8266_W5500 Ethernet](#12-AsyncHTTPRequest_ESP8266_Ethernet-running-on-ESP8266_NODEMCU_ESP12E-using-ESP8266_W5500-Ethernet) **New**
|
||||
|
||||
AsyncHTTPRequest_ESP8266_Ethernet running on ESP8266_NODEMCU_ESP12E using ESP8266_W5500 Ethernet
|
||||
* [Debug](#debug)
|
||||
* [Troubleshooting](#troubleshooting)
|
||||
* [Issues](#issues)
|
||||
@@ -149,6 +155,9 @@ This library is based on, modified from:
|
||||
|
||||
#### 2. ESP8266
|
||||
|
||||
1. Using WiFi
|
||||
2. Using **W5x00** with [**lwIP_w5100**](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5100) or [**lwIP_w5500**](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5500) library
|
||||
|
||||
#### 3. STM32F/L/H/G/WB/MP1 with built-in LAN8742A Ethernet.
|
||||
|
||||
1. Nucleo-144 (F429ZI, F746ZG, F756ZG, F767ZI)
|
||||
@@ -178,7 +187,7 @@ This library is based on, modified from:
|
||||
8. [`STM32Ethernet library v1.2.0+`](https://github.com/stm32duino/STM32Ethernet) for STM32 using built-in Ethernet LAN8742A on (Nucleo-144, Discovery). [](https://github.com/stm32duino/STM32Ethernet/releases/latest)
|
||||
9. [`LwIP library v2.1.2+`](https://github.com/stm32duino/LwIP) for STM32 using built-in Ethernet LAN8742A on (Nucleo-144, Discovery). [](https://github.com/stm32duino/LwIP/releases/latest)
|
||||
10. [`STM32AsyncTCP library v1.0.1+`](https://github.com/khoih-prog/STM32AsyncTCP) for built-in Ethernet on (Nucleo-144, Discovery). To install manually for Arduino IDE.
|
||||
11. [`ESPAsync_WiFiManager library v1.12.1+`](https://github.com/khoih-prog/ESPAsync_WiFiManager) for ESP32/ESP8266 using some examples. [](https://github.com/khoih-prog/ESPAsync_WiFiManager/releases)
|
||||
11. [`ESPAsync_WiFiManager library v1.12.2+`](https://github.com/khoih-prog/ESPAsync_WiFiManager) for ESP32/ESP8266 using some examples. [](https://github.com/khoih-prog/ESPAsync_WiFiManager/releases)
|
||||
12. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [](https://www.ardu-badge.com/LittleFS_esp32).
|
||||
13. [`WebServer_WT32_ETH01 library v1.4.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) if necessary to use WT32_ETH01 boards. To install, check [](https://www.ardu-badge.com/WebServer_WT32_ETH01)
|
||||
|
||||
@@ -415,6 +424,24 @@ Connect FDTI (USB to Serial) as follows:
|
||||
|TX|<--->|RX=PA_10|
|
||||
|GND|<--->|GND|
|
||||
|
||||
---
|
||||
|
||||
### HOWTO use ESP8266 with W5x00 Ethernet
|
||||
|
||||
#### 1. ESP8266 Wiring
|
||||
|
||||
This is the wiring for EP8266 W5x00 Ethernet when using `SS = GPIO16`
|
||||
|
||||
|
||||
|W5x00 Ethernet|<--->|ESP8266|
|
||||
|:-:|:-:|:-:|
|
||||
|MOSI|<--->|MOSI = GPIO14|
|
||||
|MISO|<--->|MISO = GPIO12|
|
||||
|SCK|<--->|SCK = GPIO13|
|
||||
|SS|<--->|GPIO16|
|
||||
|GND|<--->|GND|
|
||||
|VCC|<--->|+3.3V|
|
||||
|
||||
|
||||
---
|
||||
---
|
||||
@@ -427,6 +454,7 @@ Connect FDTI (USB to Serial) as follows:
|
||||
2. [AsyncHTTPRequest_ESP_WiFiManager](examples/AsyncHTTPRequest_ESP_WiFiManager)
|
||||
3. [AsyncHTTPMultiRequests_ESP](examples/AsyncHTTPMultiRequests_ESP)
|
||||
4. [AsyncHTTPRequest_ESP_Multi](examples/AsyncHTTPRequest_ESP_Multi) **New**
|
||||
5. [AsyncHTTPRequest_ESP8266_Ethernet](examples/AsyncHTTPRequest_ESP8266_Ethernet) **New**
|
||||
|
||||
#### For STM32 using LAN8742A
|
||||
|
||||
@@ -483,43 +511,43 @@ https://github.com/khoih-prog/AsyncHTTPRequest_Generic/blob/98733a6c4a1906ff53f6
|
||||
|
||||
```
|
||||
Start AsyncHTTPRequest_STM32 on NUCLEO_F767ZI
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
AsyncHTTPRequest @ IP : 192.168.2.178
|
||||
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-01-23T19:06:29.846071-05:00
|
||||
day_of_week: 0
|
||||
day_of_year: 23
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:00:07.669102-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1642982789
|
||||
utc_datetime: 2022-01-24T00:06:29.846071+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 3
|
||||
unixtime: 1649901607
|
||||
utc_datetime: 2022-04-14T02:00:07.669102+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
*********************
|
||||
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-01-23T19:08:29.871390-05:00
|
||||
day_of_week: 0
|
||||
day_of_year: 23
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:01:07.647308-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1642982909
|
||||
utc_datetime: 2022-01-24T00:08:29.871390+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 3
|
||||
unixtime: 1649901667
|
||||
utc_datetime: 2022-04-14T02:01:07.647308+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
```
|
||||
|
||||
---
|
||||
@@ -528,28 +556,28 @@ week_number: 3
|
||||
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP8266_NODEMCU
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Stored: SSID = HueNet1, Pass = 12345678
|
||||
Got stored Credentials. Timeout 120s
|
||||
ConnectMultiWiFi in setup
|
||||
After waiting 3.43 secs more in setup(), connection result is connected. Local IP: 192.168.2.186
|
||||
H
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-01-23T19:08:29.871390-05:00
|
||||
day_of_week: 0
|
||||
day_of_year: 23
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:02:07.647703-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1642982909
|
||||
utc_datetime: 2022-01-24T00:08:29.871390+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 3
|
||||
unixtime: 1649901727
|
||||
utc_datetime: 2022-04-14T02:02:07.647703+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HHHHHH
|
||||
```
|
||||
@@ -560,46 +588,46 @@ HHHHHH
|
||||
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP_WiFiManager using SPIFFS on ESP32_DEV
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Stored: SSID = HueNet1, Pass = 12345678
|
||||
Got stored Credentials. Timeout 120s
|
||||
ConnectMultiWiFi in setup
|
||||
After waiting 2.35 secs more in setup(), connection result is connected. Local IP: 192.168.2.232
|
||||
H
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-01-23T19:06:29.846071-05:00
|
||||
day_of_week: 0
|
||||
day_of_year: 23
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:03:07.647977-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1642982789
|
||||
utc_datetime: 2022-01-24T00:06:29.846071+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 3
|
||||
unixtime: 1649901787
|
||||
utc_datetime: 2022-04-14T02:03:07.647977+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-01-23T19:08:29.871390-05:00
|
||||
day_of_week: 0
|
||||
day_of_year: 23
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:04:07.648721-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1642982909
|
||||
utc_datetime: 2022-01-24T00:08:29.871390+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 3
|
||||
unixtime: 1649901847
|
||||
utc_datetime: 2022-04-14T02:04:07.648721+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HHHHHHHHH HHHHHHHHHH HHHHHHHHHH
|
||||
```
|
||||
@@ -610,28 +638,27 @@ HHHHHHHHH HHHHHHHHHH HHHHHHHHHH
|
||||
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP using ESP8266_NODEMCU
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Connecting to WiFi SSID: HueNet1
|
||||
...........
|
||||
HTTP WebServer is @ IP : 192.168.2.81
|
||||
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
|
||||
datetime: 2022-01-23T19:08:29.871390-05:00
|
||||
day_of_week: 0
|
||||
day_of_year: 23
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:03:07.647977-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1642982909
|
||||
utc_datetime: 2022-01-24T00:08:29.871390+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 3
|
||||
unixtime: 1649901787
|
||||
utc_datetime: 2022-04-14T02:03:07.647977+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H
|
||||
```
|
||||
@@ -643,7 +670,7 @@ HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H
|
||||
|
||||
```
|
||||
Start AsyncWebClientRepeating_STM32 on NUCLEO_F767ZI
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
AsyncHTTPRequest @ IP : 192.168.2.72
|
||||
|
||||
**************************************
|
||||
@@ -696,7 +723,7 @@ AsyncHTTPRequest @ IP : 192.168.2.72
|
||||
|
||||
```
|
||||
Start AsyncWebClientRepeating_STM32_LAN8720 on BLACK_F407VE
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
AsyncHTTPRequest @ IP : 192.168.2.150
|
||||
|
||||
|
||||
@@ -752,7 +779,7 @@ AsyncHTTPRequest @ IP : 192.168.2.150
|
||||
```
|
||||
Starting AsyncHTTPRequest_WT32_ETH01 on ESP32_DEV with ETH_PHY_LAN8720
|
||||
WebServer_WT32_ETH01 v1.4.1
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
|
||||
AsyncHTTPRequest @ IP : 192.168.2.232
|
||||
|
||||
@@ -778,27 +805,26 @@ H
|
||||
```
|
||||
Starting AsyncHTTPRequest_WT32_ETH01 on ESP32_DEV with ETH_PHY_LAN8720
|
||||
WebServer_WT32_ETH01 v1.4.1
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps
|
||||
AsyncHTTPRequest @ IP : 192.168.2.232
|
||||
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2021-12-30T14:08:41.290808-05:00
|
||||
day_of_week: 4
|
||||
day_of_year: 364
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
datetime: 2022-04-13T22:04:07.648721-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1640891321
|
||||
utc_datetime: 2021-12-30T19:08:41.290808+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 52
|
||||
|
||||
unixtime: 1649901847
|
||||
utc_datetime: 2022-04-14T02:04:07.648721+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
```
|
||||
|
||||
@@ -809,46 +835,46 @@ week_number: 52
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP32C3_DEV
|
||||
ESPAsync_WiFiManager v1.12.1
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Stored: SSID = HueNet1, Pass = password
|
||||
Got stored Credentials. Timeout 120s
|
||||
ConnectMultiWiFi in setup
|
||||
After waiting 9.23 secs more in setup(), connection result is connected. Local IP: 192.168.2.85
|
||||
H
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
client_ip: 45.72.193.77
|
||||
datetime: 2022-02-11T22:20:36.434352-05:00
|
||||
day_of_week: 5
|
||||
day_of_year: 42
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-04-13T22:05:07.648251-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1644636036
|
||||
utc_datetime: 2022-02-12T03:20:36.434352+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 6
|
||||
unixtime: 1649901907
|
||||
utc_datetime: 2022-04-14T02:05:07.648251+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HHHHHH
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
client_ip: 45.72.193.77
|
||||
datetime: 2022-02-11T22:21:36.398307-05:00
|
||||
day_of_week: 5
|
||||
day_of_year: 42
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-04-13T22:06:07.648775-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1644636096
|
||||
utc_datetime: 2022-02-12T03:21:36.398307+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 6
|
||||
unixtime: 1649901967
|
||||
utc_datetime: 2022-04-14T02:06:07.648775+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
```
|
||||
|
||||
@@ -860,47 +886,47 @@ week_number: 6
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP32S3_DEV
|
||||
ESPAsync_WiFiManager v1.12.1
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Stored: SSID = HueNet1, Pass = password
|
||||
Got stored Credentials. Timeout 120s
|
||||
ConnectMultiWiFi in setup
|
||||
After waiting 7.77 secs more in setup(), connection result is connected. Local IP: 192.168.2.83
|
||||
H
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
client_ip: 45.72.193.77
|
||||
datetime: 2022-02-11T22:58:46.055783-05:00
|
||||
day_of_week: 5
|
||||
day_of_year: 42
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-04-13T22:07:07.649344-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1644638326
|
||||
utc_datetime: 2022-02-12T03:58:46.055783+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 6
|
||||
unixtime: 1649902027
|
||||
utc_datetime: 2022-04-14T02:07:07.649344+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
|
||||
HHHHHH
|
||||
**************************************
|
||||
abbreviation: EST
|
||||
client_ip: 45.72.193.77
|
||||
datetime: 2022-02-11T22:59:45.988493-05:00
|
||||
day_of_week: 5
|
||||
day_of_year: 42
|
||||
dst: false
|
||||
dst_from:
|
||||
dst_offset: 0
|
||||
dst_until:
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-04-13T22:08:07.649062-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1644638385
|
||||
utc_datetime: 2022-02-12T03:59:45.988493+00:00
|
||||
utc_offset: -05:00
|
||||
week_number: 6
|
||||
unixtime: 1649902087
|
||||
utc_datetime: 2022-04-14T02:08:07.649062+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
```
|
||||
|
||||
@@ -912,7 +938,7 @@ The terminal output of [AsyncHTTPRequest_ESP_Multi example](examples/AsyncHTTPRe
|
||||
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP_Multi using ESP32_DEV
|
||||
AsyncHTTPRequest_Generic v1.7.1
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Connecting to WiFi SSID: HueNet1
|
||||
.......
|
||||
AsyncHTTPSRequest @ IP : 192.168.2.88
|
||||
@@ -965,6 +991,56 @@ week_number: 8
|
||||
HHH
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 12. [AsyncHTTPRequest_ESP8266_Ethernet](examples/AsyncHTTPRequest_ESP8266_Ethernet) running on ESP8266_NODEMCU_ESP12E using ESP8266_W5500 Ethernet
|
||||
|
||||
The terminal output of [AsyncHTTPRequest_ESP8266_Ethernet example](examples/AsyncHTTPRequest_ESP8266_Ethernet) running on `ESP8266_NODEMCU_ESP12E` to demonstrate how to use ESP8266_W5500 Ethernet Async feature.
|
||||
|
||||
```
|
||||
Starting AsyncHTTPRequest_ESP8266_Ethernet on ESP8266_NODEMCU_ESP12E using ESP8266_W5500 Ethernet
|
||||
AsyncHTTPRequest_Generic v1.8.0
|
||||
Connecting ethernet..
|
||||
Ethernet IP address: 192.168.2.187
|
||||
|
||||
**************************************
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-04-13T21:58:31.037966-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1649901511
|
||||
utc_datetime: 2022-04-14T01:58:31.037966+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HHHHHH
|
||||
**************************************
|
||||
abbreviation: EDT
|
||||
client_ip: aaa.bbb.ccc.ddd
|
||||
datetime: 2022-04-13T21:59:31.025188-04:00
|
||||
day_of_week: 3
|
||||
day_of_year: 103
|
||||
dst: true
|
||||
dst_from: 2022-03-13T07:00:00+00:00
|
||||
dst_offset: 3600
|
||||
dst_until: 2022-11-06T06:00:00+00:00
|
||||
raw_offset: -18000
|
||||
timezone: America/Toronto
|
||||
unixtime: 1649901571
|
||||
utc_datetime: 2022-04-14T01:59:31.025188+00:00
|
||||
utc_offset: -04:00
|
||||
week_number: 15
|
||||
**************************************
|
||||
HH
|
||||
```
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
@@ -1000,7 +1076,7 @@ Submit issues to: [AsyncHTTPRequest_Generic issues](https://github.com/khoih-pro
|
||||
## TO DO
|
||||
|
||||
1. Fix bug. Add enhancement
|
||||
2. Add support to more Ethernet / WiFi shields
|
||||
2. Add support to more Ethernet / WiFi shields with lwIP-based feature.
|
||||
3. Add support to more boards.
|
||||
4. Add many more examples.
|
||||
|
||||
@@ -1022,7 +1098,7 @@ Submit issues to: [AsyncHTTPRequest_Generic issues](https://github.com/khoih-pro
|
||||
13. Add `LittleFS` support to **ESP32-C3**
|
||||
14. Use `ESP32-core's LittleFS` library instead of `Lorol's LITTLEFS` library for ESP32 core v2.0.0+
|
||||
15. Add example [AsyncHTTPRequest_ESP_Multi](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/tree/master/examples/AsyncHTTPRequest_ESP_Multi) to demonstrate how to send requests to multiple addresses and receive responses from them.
|
||||
|
||||
16. Add support to ESP8266 using **W5x00** with [**lwIP_w5100**](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5100) or [**lwIP_w5500**](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5500) library
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
## Table of Contents
|
||||
|
||||
* [Changelog](#changelog)
|
||||
* [Releases v1.8.0](#releases-v180)
|
||||
* [Releases v1.7.1](#releases-v171)
|
||||
* [Releases v1.7.0](#releases-v170)
|
||||
* [Releases v1.6.0](#releases-v160)
|
||||
@@ -36,6 +37,12 @@
|
||||
|
||||
## Changelog
|
||||
|
||||
### Releases v1.8.0
|
||||
|
||||
1. Add support to ESP8266 using W5x00 with [lwIP_w5100](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5100) or [lwIP_w5500](https://github.com/esp8266/Arduino/tree/master/libraries/lwIP_w5500) library
|
||||
2. Add example [AsyncHTTPRequest_ESP8266_Ethernet](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/tree/master/examples/AsyncHTTPRequest_ESP8266_Ethernet) to demo the new feature.
|
||||
3. Update `Packages' Patches`
|
||||
|
||||
### Releases v1.7.1
|
||||
|
||||
1. Add example [AsyncHTTPRequest_ESP_Multi](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/tree/master/examples/AsyncHTTPRequest_ESP_Multi) to demo connection to multiple addresses.
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name":"AsyncHTTPRequest_Generic",
|
||||
"version": "1.7.1",
|
||||
"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 and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.",
|
||||
"version": "1.8.0",
|
||||
"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 or W5x00) and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.",
|
||||
"keywords":"communication, async, tcp, http, ESP8266, ESP32, ESP32-S2, ESP32-S3, ESP32-C3, wt32-eth01, ESPAsyncTCP, AsyncTCP, stm32, ethernet, wifi, lan8742a, lan8720, f407ve, nucleo, nucleo-144, stm32f7, stm32f4",
|
||||
"authors": [
|
||||
{
|
||||
@@ -45,7 +45,7 @@
|
||||
{
|
||||
"owner": "khoih-prog",
|
||||
"name": "ESPAsync_WiFiManager",
|
||||
"version": ">=1.12.1",
|
||||
"version": ">=1.12.2",
|
||||
"platforms": ["espressif8266", "espressif32"]
|
||||
},
|
||||
{
|
||||
|
||||
+3
-3
@@ -1,12 +1,12 @@
|
||||
name=AsyncHTTPRequest_Generic
|
||||
version=1.7.1
|
||||
version=1.8.0
|
||||
author=Bob Lemaire,Khoi Hoang <khoih.prog@gmail.com>
|
||||
maintainer=Khoi Hoang <khoih.prog@gmail.com>
|
||||
icense=GPLv3
|
||||
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 and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.
|
||||
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 or W5x00) and currently STM32 with LAN8720 or built-in LAN8742A Ethernet.
|
||||
paragraph=This AsyncHTTPRequest_Generic Library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, for ESP32 (including ESP32-S2), ESP8266 and STM32 with LAN8720 or built-in LAN8742A Ethernet, such as Nucleo-144 F767ZI, F407VE, etc.
|
||||
category=Communication,AsyncTCP,AsyncHTTP
|
||||
url=https://github.com/khoih-prog/AsyncHTTPRequest_Generic
|
||||
architectures=*
|
||||
depends=AsyncTCP,ESPAsyncTCP,ESPAsync_WiFiManager,STM32duino LwIP,STM32duino STM32Ethernet,WebServer_WT32_ETH01
|
||||
depends=AsyncTCP, ESPAsyncTCP, ESPAsync_WiFiManager, STM32duino LwIP, STM32duino STM32Ethernet, WebServer_WT32_ETH01
|
||||
includes=AsyncHTTPRequest_Generic.h,AsyncHTTPRequest_Generic.hpp
|
||||
|
||||
@@ -43,9 +43,10 @@ lib_deps =
|
||||
; https://github.com/khoih-prog/STM32AsyncTCP.git
|
||||
; STM32duino LwIP@>=2.1.2
|
||||
; STM32duino STM32Ethernet@>=1.2.0
|
||||
; ESPAsync_WiFiManager@>=1.12.1
|
||||
; ESPAsync_WiFiManager@>=1.12.2
|
||||
; LittleFS_esp32@>=1.0.6
|
||||
; WebServer_WT32_ETH01@>=1.4.1
|
||||
|
||||
; PlatformIO 5.x
|
||||
me-no-dev/AsyncTCP@>=1.1.1
|
||||
me-no-dev/ESPAsyncTCP@>=1.2.2
|
||||
@@ -53,7 +54,7 @@ lib_deps =
|
||||
; https://github.com/khoih-prog/STM32AsyncTCP.git
|
||||
; stm32duino/STM32duino LwIP@>=2.1.2
|
||||
; stm32duino/STM32duino STM32Ethernet@>=1.2.0
|
||||
khoih-prog/ESPAsync_WiFiManager@>=1.12.1
|
||||
khoih-prog/ESPAsync_WiFiManager@>=1.12.2
|
||||
lorol/LittleFS_esp32@>=1.0.6
|
||||
; khoih-prog/WebServer_WT32_ETH01@>=1.4.1
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Version: 1.7.1
|
||||
Version: 1.8.0
|
||||
|
||||
Version Modified By Date Comments
|
||||
------- ----------- ---------- -----------
|
||||
@@ -39,6 +39,7 @@
|
||||
1.6.0 K Hoang 23/01/2022 Enable compatibility with old code to include only AsyncHTTPRequest_Generic.h
|
||||
1.7.0 K Hoang 10/02/2022 Add support to new ESP32-S3. Add LittleFS support to ESP32-C3. Use core LittleFS
|
||||
1.7.1 K Hoang 25/02/2022 Add example AsyncHTTPRequest_ESP_Multi to demo connection to multiple addresses
|
||||
1.8.0 K Hoang 13/04/2022 Add support to ESP8266 using W5x00 with lwip_W5100 or lwip_W5500 library
|
||||
*****************************************************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Version: 1.7.1
|
||||
Version: 1.8.0
|
||||
|
||||
Version Modified By Date Comments
|
||||
------- ----------- ---------- -----------
|
||||
@@ -39,6 +39,7 @@
|
||||
1.6.0 K Hoang 23/01/2022 Enable compatibility with old code to include only AsyncHTTPRequest_Generic.h
|
||||
1.7.0 K Hoang 10/02/2022 Add support to new ESP32-S3. Add LittleFS support to ESP32-C3. Use core LittleFS
|
||||
1.7.1 K Hoang 25/02/2022 Add example AsyncHTTPRequest_ESP_Multi to demo connection to multiple addresses
|
||||
1.8.0 K Hoang 13/04/2022 Add support to ESP8266 using W5x00 with lwip_W5100 or lwip_W5500 library
|
||||
*****************************************************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Version: 1.7.1
|
||||
Version: 1.8.0
|
||||
|
||||
Version Modified By Date Comments
|
||||
------- ----------- ---------- -----------
|
||||
@@ -39,6 +39,7 @@
|
||||
1.6.0 K Hoang 23/01/2022 Enable compatibility with old code to include only AsyncHTTPRequest_Generic.h
|
||||
1.7.0 K Hoang 10/02/2022 Add support to new ESP32-S3. Add LittleFS support to ESP32-C3. Use core LittleFS
|
||||
1.7.1 K Hoang 25/02/2022 Add example AsyncHTTPRequest_ESP_Multi to demo connection to multiple addresses
|
||||
1.8.0 K Hoang 13/04/2022 Add support to ESP8266 using W5x00 with lwip_W5100 or lwip_W5500 library
|
||||
*****************************************************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
@@ -46,13 +47,13 @@
|
||||
#ifndef ASYNC_HTTP_REQUEST_GENERIC_HPP
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_HPP
|
||||
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.7.1"
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.8.0"
|
||||
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MAJOR 1
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MINOR 7
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_PATCH 1
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MINOR 8
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_PATCH 0
|
||||
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_INT 1007001
|
||||
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_INT 1008000
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Version: 1.7.1
|
||||
Version: 1.8.0
|
||||
|
||||
Version Modified By Date Comments
|
||||
------- ----------- ---------- -----------
|
||||
@@ -39,6 +39,7 @@
|
||||
1.6.0 K Hoang 23/01/2022 Enable compatibility with old code to include only AsyncHTTPRequest_Generic.h
|
||||
1.7.0 K Hoang 10/02/2022 Add support to new ESP32-S3. Add LittleFS support to ESP32-C3. Use core LittleFS
|
||||
1.7.1 K Hoang 25/02/2022 Add example AsyncHTTPRequest_ESP_Multi to demo connection to multiple addresses
|
||||
1.8.0 K Hoang 13/04/2022 Add support to ESP8266 using W5x00 with lwip_W5100 or lwip_W5500 library
|
||||
*****************************************************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
Reference in New Issue
Block a user