diff --git a/README.md b/README.md index eec8e73e..fa93ec1b 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Support for LAN8720 has been **removed** from STM32 core v2.3.0 8. [`STM32Ethernet library v1.3.0+`](https://github.com/stm32duino/STM32Ethernet) for STM32 using built-in Ethernet LAN8742A on (Nucleo-144, Discovery). [![GitHub release](https://img.shields.io/github/release/stm32duino/STM32Ethernet.svg)](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). [![GitHub release](https://img.shields.io/github/release/stm32duino/LwIP.svg)](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.15.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) +11. [`ESPAsync_WiFiManager library v1.15.1+`](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) 12. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core **v1.0.5-**. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and **you don't need to install it if using ESP32 core v1.0.6+** 13. [`WebServer_WT32_ETH01 library v1.5.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) if necessary to use WT32_ETH01 boards. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01) @@ -478,14 +478,14 @@ Please take a look at other examples, as well. #### 1. File [AsyncHTTPRequest_STM32.ino](examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino) -https://github.com/khoih-prog/AsyncHTTPRequest_Generic/blob/40e15e30f934e4b269b16a8ab8727558f0ab7b03/examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino#L43-L148 +https://github.com/khoih-prog/AsyncHTTPRequest_Generic/blob/639ce917e54c296f15fdb8bbad2c34efcc6a0f61/examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino#L43-L155 --- #### 2. File [defines.h](examples/AsyncHTTPRequest_STM32/defines.h) -https://github.com/khoih-prog/AsyncHTTPRequest_Generic/blob/40e15e30f934e4b269b16a8ab8727558f0ab7b03/examples/AsyncHTTPRequest_STM32/defines.h#L22-L134 +https://github.com/khoih-prog/AsyncHTTPRequest_Generic/blob/639ce917e54c296f15fdb8bbad2c34efcc6a0f61/examples/AsyncHTTPRequest_STM32/defines.h#L22-L134 --- @@ -497,7 +497,7 @@ https://github.com/khoih-prog/AsyncHTTPRequest_Generic/blob/40e15e30f934e4b269b1 ``` Start AsyncHTTPRequest_STM32 on NUCLEO_F767ZI -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 AsyncHTTPRequest @ IP : 192.168.2.178 ************************************** @@ -542,28 +542,28 @@ week_number: 42 ``` Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP8266_NODEMCU -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 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: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:19:16.751279-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:02:36.392636-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297156 -utc_datetime: 2022-10-20T20:19:16.751279+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049356 +utc_datetime: 2022-11-10T03:02:36.392636+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHH ``` @@ -574,46 +574,46 @@ HHHHHH ``` Starting AsyncHTTPRequest_ESP_WiFiManager using SPIFFS on ESP32_DEV -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 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: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:20:16.719881-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:02:45.237136-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297216 -utc_datetime: 2022-10-20T20:20:16.719881+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049365 +utc_datetime: 2022-11-10T03:02:45.237136+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:21:16.728312-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:02:45.237136-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297276 -utc_datetime: 2022-10-20T20:21:16.728312+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049365 +utc_datetime: 2022-11-10T03:02:45.237136+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHHHHH HHHHHHHHHH HHHHHHHHHH ``` @@ -624,27 +624,27 @@ HHHHHHHHH HHHHHHHHHH HHHHHHHHHH ``` Starting AsyncHTTPRequest_ESP using ESP8266_NODEMCU -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 Connecting to WiFi SSID: HueNet1 ........... HTTP WebServer is @ IP : 192.168.2.81 ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:22:16.769386-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:02:55.235181-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297336 -utc_datetime: 2022-10-20T20:22:16.769386+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049375 +utc_datetime: 2022-11-10T03:02:55.235181+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H ``` @@ -656,7 +656,7 @@ HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H ``` Start AsyncWebClientRepeating_STM32 on NUCLEO_F767ZI -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 AsyncHTTPRequest @ IP : 192.168.2.72 ************************************** @@ -710,26 +710,26 @@ AsyncHTTPRequest @ IP : 192.168.2.72 ``` Starting AsyncHTTPRequest_WT32_ETH01 on ESP32_DEV with ETH_PHY_LAN8720 WebServer_WT32_ETH01 v1.5.1 -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps AsyncHTTPRequest @ IP : 192.168.2.232 ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:23:16.733395-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:03:05.235913-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297396 -utc_datetime: 2022-10-20T20:23:16.733395+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049385 +utc_datetime: 2022-11-10T03:03:05.235913+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** ``` @@ -740,46 +740,46 @@ week_number: 42 ``` Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP32C3_DEV ESPAsync_WiFiManager v1.15.0 -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 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: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:25:16.750043-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:03:15.240199-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297516 -utc_datetime: 2022-10-20T20:25:16.750043+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049395 +utc_datetime: 2022-11-10T03:03:15.240199+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHH ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:26:16.747520-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:03:25.244353-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297576 -utc_datetime: 2022-10-20T20:26:16.747520+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049405 +utc_datetime: 2022-11-10T03:03:25.244353+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** ``` @@ -791,47 +791,47 @@ week_number: 42 ``` Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP32S3_DEV ESPAsync_WiFiManager v1.15.0 -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 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: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:22:16.769386-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:03:35.242713-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297336 -utc_datetime: 2022-10-20T20:22:16.769386+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049415 +utc_datetime: 2022-11-10T03:03:35.242713+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHH ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:23:16.733395-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:03:45.237077-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297396 -utc_datetime: 2022-10-20T20:23:16.733395+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049425 +utc_datetime: 2022-11-10T03:03:45.237077+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** ``` @@ -843,7 +843,7 @@ The terminal output of [AsyncHTTPRequest_ESP_Multi example](examples/AsyncHTTPRe ``` Starting AsyncHTTPRequest_ESP_Multi using ESP32_DEV -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 Connecting to WiFi SSID: HueNet1 ....... AsyncHTTPSRequest @ IP : 192.168.2.88 @@ -904,44 +904,44 @@ The terminal output of [AsyncHTTPRequest_ESP8266_Ethernet example](examples/Asyn ``` Starting AsyncHTTPRequest_ESP8266_Ethernet on ESP8266_NODEMCU_ESP12E using ESP8266_W5500 Ethernet -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 Connecting ethernet.. Ethernet IP address: 192.168.2.187 ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:24:16.747577-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:03:55.235871-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297456 -utc_datetime: 2022-10-20T20:24:16.747577+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049435 +utc_datetime: 2022-11-10T03:03:55.235871+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHH ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:25:16.750043-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:04:05.238020-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297516 -utc_datetime: 2022-10-20T20:25:16.750043+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049445 +utc_datetime: 2022-11-10T03:04:05.238020+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HH ``` @@ -954,44 +954,44 @@ The terminal output of [AsyncHTTPRequest_ESP8266_Ethernet example](examples/Asyn ``` Starting AsyncHTTPRequest_ESP8266_Ethernet on ESP8266_NODEMCU_ESP12E using ESP8266_ENC28J60 Ethernet -AsyncHTTPRequest_Generic v1.10.1 +AsyncHTTPRequest_Generic v1.10.2 Connecting to network : .......................................................... Ethernet IP address: 192.168.2.187 ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:16:16.759058-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:04:15.234850-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666296976 -utc_datetime: 2022-10-20T20:16:16.759058+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049455 +utc_datetime: 2022-11-10T03:04:15.234850+00:00 +utc_offset: -05:00 +week_number: 45 ************************************** HHHHHH ************************************** -abbreviation: EDT +abbreviation: EST client_ip: aaa.bbb.ccc.ddd -datetime: 2022-10-20T16:17:16.713722-04:00 -day_of_week: 4 -day_of_year: 293 -dst: true -dst_from: 2022-03-13T07:00:00+00:00 -dst_offset: 3600 -dst_until: 2022-11-06T06:00:00+00:00 +datetime: 2022-11-09T22:04:25.237068-05:00 +day_of_week: 3 +day_of_year: 313 +dst: false +dst_from: +dst_offset: 0 +dst_until: raw_offset: -18000 timezone: America/Toronto -unixtime: 1666297036 -utc_datetime: 2022-10-20T20:17:16.713722+00:00 -utc_offset: -04:00 -week_number: 42 +unixtime: 1668049465 +utc_datetime: 2022-11-10T03:04:25.237068+00:00 +utc_offset: -05:00 +week_number: 45 ``` @@ -1060,6 +1060,7 @@ Submit issues to: [AsyncHTTPRequest_Generic issues](https://github.com/khoih-pro 21. Remove dependency on `LittleFS_esp32` library to prevent PIO error when using new ESP32 core v1.0.6+ 22. Not try to reconnect to the same `host:port` after connected 23. Fix bug of wrong `reqStates` introduced from `v1.9.0` +24. Default to reconnect to the same `host:port` after connected for new HTTP sites. --- --- @@ -1079,6 +1080,7 @@ This library is based on, modified, bug-fixed and improved from: 9. Thanks to [miwied](https://github.com/miwied) to report [setTimeout() hasn't any effect #38](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/38) leading to new release v1.9.0 10. Thanks to [ValentinsStorre](https://github.com/ValentinsStorre) to report [Release 1.9 breakes previously running code #39](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/39) leading to new release v1.10.1 11. Thanks to [Dirk Vranckaert](https://github.com/dirkvranckaert) to report [Callback behaviour is buggy (ESP8266) #43](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/43) leading to new release v1.10.1 +12. Thanks to [SeeliSoft](https://github.com/SeeliSoft-CH) to report [Host/Headers not always sent with 1.10.1 #44](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/44) leading to new release v1.10.2
miwied |
ValentinsStorre |
Dirk Vranckaert |
+ SeeliSoft |