diff --git a/README.md b/README.md index 3ae59da..d9486bc 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ * [Principles of operation](#principles-of-operation) * [Currently supported Boards](#currently-supported-boards) * [Changelog](#changelog) + * [Releases v1.1.5](#releases-v115) * [Releases v1.1.4](#releases-v114) * [Releases v1.1.3](#releases-v113) * [Releases v1.1.2](#releases-v112) @@ -153,6 +154,10 @@ This library is based on, modified from: ## Changelog +### Releases v1.1.5 + +1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](https://github.com/khoih-prog/AsyncWebServer_STM32/issues/4) and [how to run one of the examples?](https://github.com/khoih-prog/AsyncWebServer_STM32/issues/2). + ### Releases v1.1.4 1. Fix `library.properties` dependency @@ -208,7 +213,7 @@ This library is based on, modified from: 7. [`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP) for ESP32. 8. [`STM32Ethernet library v1.2.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.0+`](https://github.com/philbowles/STM32AsyncTCP) for STM32 using built-in Ethernet LAN8742A on (Nucleo-144, Discovery). +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.6.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) 12. [`LittleFS_esp32 v1.0.5+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). @@ -825,7 +830,7 @@ IPAddress ip(192, 168, 2, 232); ``` Start AsyncHTTPRequest_STM32 on NUCLEO_F767ZI -AsyncHTTPRequest_Generic v1.1.3 +AsyncHTTPRequest_Generic v1.1.5 AsyncHTTPRequest @ IP : 192.168.2.72 ************************************** @@ -870,7 +875,7 @@ week_number: 37 ``` Starting AsyncHTTPRequest_ESP_WiFiManager using LittleFS on ESP8266_NODEMCU -AsyncHTTPRequest_Generic v1.1.3 +AsyncHTTPRequest_Generic v1.1.5 Stored: SSID = HueNet1, Pass = 12345678 Got stored Credentials. Timeout 120s ConnectMultiWiFi in setup @@ -903,7 +908,7 @@ HHHHHH ``` Starting AsyncHTTPRequest_ESP_WiFiManager using SPIFFS on ESP32_DEV -AsyncHTTPRequest_Generic v1.1.3 +AsyncHTTPRequest_Generic v1.1.5 Stored: SSID = HueNet1, Pass = 12345678 Got stored Credentials. Timeout 120s ConnectMultiWiFi in setup @@ -954,7 +959,7 @@ HHHHHHHHH HHHHHHHHHH HHHHHHHHHH ``` Starting AsyncHTTPRequest_ESP using ESP8266_NODEMCU -AsyncHTTPRequest_Generic v1.1.3 +AsyncHTTPRequest_Generic v1.1.5 Connecting to WiFi SSID: HueNet1 ........... HTTP WebServer is @ IP : 192.168.2.81 @@ -986,7 +991,7 @@ HHHHHHHHH HHHHHHHHHH HHHHHHHHHH H ``` Start AsyncWebClientRepeating_STM32 on NUCLEO_F767ZI -AsyncHTTPRequest_Generic v1.1.3 +AsyncHTTPRequest_Generic v1.1.5 AsyncHTTPRequest @ IP : 192.168.2.72 ************************************** @@ -1085,6 +1090,10 @@ Submit issues to: [AsyncHTTPRequest_Generic issues](https://github.com/khoih-pro ## Releases +### Releases v1.1.5 + +1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](https://github.com/khoih-prog/AsyncWebServer_STM32/issues/4) and [how to run one of the examples?](https://github.com/khoih-prog/AsyncWebServer_STM32/issues/2). + ### Releases v1.1.4 1. Fix `library.properties` dependency diff --git a/examples/AsyncCustomHeader_STM32/AsyncCustomHeader_STM32.ino b/examples/AsyncCustomHeader_STM32/AsyncCustomHeader_STM32.ino index 00f6978..12a02cb 100644 --- a/examples/AsyncCustomHeader_STM32/AsyncCustomHeader_STM32.ino +++ b/examples/AsyncCustomHeader_STM32/AsyncCustomHeader_STM32.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #include "defines.h" diff --git a/examples/AsyncCustomHeader_STM32/defines.h b/examples/AsyncCustomHeader_STM32/defines.h index 264966f..7e73c81 100644 --- a/examples/AsyncCustomHeader_STM32/defines.h +++ b/examples/AsyncCustomHeader_STM32/defines.h @@ -18,18 +18,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 . - - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug *****************************************************************************************************************************/ /* Currently support diff --git a/examples/AsyncDweetGet_STM32/AsyncDweetGet_STM32.ino b/examples/AsyncDweetGet_STM32/AsyncDweetGet_STM32.ino index 52d1b83..8532e06 100644 --- a/examples/AsyncDweetGet_STM32/AsyncDweetGet_STM32.ino +++ b/examples/AsyncDweetGet_STM32/AsyncDweetGet_STM32.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ /** diff --git a/examples/AsyncDweetGet_STM32/defines.h b/examples/AsyncDweetGet_STM32/defines.h index 264966f..7e73c81 100644 --- a/examples/AsyncDweetGet_STM32/defines.h +++ b/examples/AsyncDweetGet_STM32/defines.h @@ -18,18 +18,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 . - - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug *****************************************************************************************************************************/ /* Currently support diff --git a/examples/AsyncDweetPost_STM32/AsyncDweetPost_STM32.ino b/examples/AsyncDweetPost_STM32/AsyncDweetPost_STM32.ino index f868638..d7a27a3 100644 --- a/examples/AsyncDweetPost_STM32/AsyncDweetPost_STM32.ino +++ b/examples/AsyncDweetPost_STM32/AsyncDweetPost_STM32.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ // Dweet.io POST client. Connects to dweet.io once every ten seconds, sends a POST request and a request body. diff --git a/examples/AsyncDweetPost_STM32/defines.h b/examples/AsyncDweetPost_STM32/defines.h index 264966f..7e73c81 100644 --- a/examples/AsyncDweetPost_STM32/defines.h +++ b/examples/AsyncDweetPost_STM32/defines.h @@ -18,18 +18,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 . - - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug *****************************************************************************************************************************/ /* Currently support diff --git a/examples/AsyncHTTPMultiRequests_ESP/AsyncHTTPMultiRequests_ESP.ino b/examples/AsyncHTTPMultiRequests_ESP/AsyncHTTPMultiRequests_ESP.ino index f90ba02..4c6ef49 100644 --- a/examples/AsyncHTTPMultiRequests_ESP/AsyncHTTPMultiRequests_ESP.ino +++ b/examples/AsyncHTTPMultiRequests_ESP/AsyncHTTPMultiRequests_ESP.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ //************************************************************************************************************ // diff --git a/examples/AsyncHTTPRequest_ESP/AsyncHTTPRequest_ESP.ino b/examples/AsyncHTTPRequest_ESP/AsyncHTTPRequest_ESP.ino index c8ed46e..28415f6 100644 --- a/examples/AsyncHTTPRequest_ESP/AsyncHTTPRequest_ESP.ino +++ b/examples/AsyncHTTPRequest_ESP/AsyncHTTPRequest_ESP.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ //************************************************************************************************************ // diff --git a/examples/AsyncHTTPRequest_ESP_WiFiManager/AsyncHTTPRequest_ESP_WiFiManager.ino b/examples/AsyncHTTPRequest_ESP_WiFiManager/AsyncHTTPRequest_ESP_WiFiManager.ino index fb428f9..c80d986 100644 --- a/examples/AsyncHTTPRequest_ESP_WiFiManager/AsyncHTTPRequest_ESP_WiFiManager.ino +++ b/examples/AsyncHTTPRequest_ESP_WiFiManager/AsyncHTTPRequest_ESP_WiFiManager.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ //************************************************************************************************************ // diff --git a/examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino b/examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino index 08e171b..06ea736 100644 --- a/examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino +++ b/examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ //************************************************************************************************************ // diff --git a/examples/AsyncHTTPRequest_STM32/defines.h b/examples/AsyncHTTPRequest_STM32/defines.h index 264966f..7e73c81 100644 --- a/examples/AsyncHTTPRequest_STM32/defines.h +++ b/examples/AsyncHTTPRequest_STM32/defines.h @@ -18,18 +18,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 . - - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug *****************************************************************************************************************************/ /* Currently support diff --git a/examples/AsyncSimpleGET_STM32/AsyncSimpleGET_STM32.ino b/examples/AsyncSimpleGET_STM32/AsyncSimpleGET_STM32.ino index 3373178..417d718 100644 --- a/examples/AsyncSimpleGET_STM32/AsyncSimpleGET_STM32.ino +++ b/examples/AsyncSimpleGET_STM32/AsyncSimpleGET_STM32.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #include "defines.h" diff --git a/examples/AsyncSimpleGET_STM32/defines.h b/examples/AsyncSimpleGET_STM32/defines.h index a9f9fd3..20649fc 100644 --- a/examples/AsyncSimpleGET_STM32/defines.h +++ b/examples/AsyncSimpleGET_STM32/defines.h @@ -18,18 +18,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 . - - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug *****************************************************************************************************************************/ /* Currently support diff --git a/examples/AsyncWebClientRepeating_STM32/AsyncWebClientRepeating_STM32.ino b/examples/AsyncWebClientRepeating_STM32/AsyncWebClientRepeating_STM32.ino index 83fcc05..20689a1 100644 --- a/examples/AsyncWebClientRepeating_STM32/AsyncWebClientRepeating_STM32.ino +++ b/examples/AsyncWebClientRepeating_STM32/AsyncWebClientRepeating_STM32.ino @@ -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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #include "defines.h" diff --git a/examples/AsyncWebClientRepeating_STM32/defines.h b/examples/AsyncWebClientRepeating_STM32/defines.h index 264966f..7e73c81 100644 --- a/examples/AsyncWebClientRepeating_STM32/defines.h +++ b/examples/AsyncWebClientRepeating_STM32/defines.h @@ -18,18 +18,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 . - - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug *****************************************************************************************************************************/ /* Currently support diff --git a/library.json b/library.json index 668bf13..2c7176b 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name":"AsyncHTTPRequest_Generic", - "version": "1.1.4", + "version": "1.1.5", "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), ESP8266 and currently STM32 with built-in LAN8742A Ethernet.", "keywords":"async,tcp,http,ESP8266,ESP32,ESP32-S2,ESPAsyncTCP,AsyncTCP,stm32,ethernet,wifi,lan8742a", "authors": [ @@ -62,7 +62,7 @@ }, { "name": "external-repo", - "version": "https://github.com/philbowles/STM32AsyncTCP" + "version": "https://github.com/khoih-prog/STM32AsyncTCP" } ], "platforms": ["espressif8266", "espressif32", "ststm32"] diff --git a/library.properties b/library.properties index 510a9ce..2ea4314 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AsyncHTTPRequest_Generic -version=1.1.4 +version=1.1.5 author=Bob Lemaire,Khoi Hoang maintainer=Khoi Hoang license=MIT diff --git a/platformio/platformio.ini b/platformio/platformio.ini index cb5d2c7..dd512f6 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -35,21 +35,22 @@ upload_speed = 921600 lib_deps = ; PlatformIO 4.x - AsyncTCP@>=1.1.1 - ESPAsyncTCP@>=1.2.2 - STM32AsyncTCP@>=1.0.0 - STM32duino LwIP@>=2.1.2 - STM32duino STM32Ethernet@>=1.2.0 - ESPAsync_WiFiManager@>=1.6.0 - LittleFS_esp32@>=1.0.5 +; AsyncTCP@>=1.1.1 +; ESPAsyncTCP@>=1.2.2 +; https://github.com/khoih-prog/STM32AsyncTCP.git +; STM32duino LwIP@>=2.1.2 +; STM32duino STM32Ethernet@>=1.2.0 +; ESPAsync_WiFiManager@>=1.6.0 +; LittleFS_esp32@>=1.0.5 ; PlatformIO 5.x -; me-no-dev/AsyncTCP@>=1.1.1 -; me-no-dev/ESPAsyncTCP@>=1.2.2 -; philbowles/STM32AsyncTCP@>=1.0.0 -; stm32duino/STM32duino LwIP@>=2.1.2 -; stm32duino/STM32duino STM32Ethernet@>=1.2.0 -; khoih-prog/ESPAsync_WiFiManager@>=1.6.0 -; lorol/LittleFS_esp32@>=1.0.5 + me-no-dev/AsyncTCP@>=1.1.1 + me-no-dev/ESPAsyncTCP@>=1.2.2 +; philbowles/STM32AsyncTCP + https://github.com/khoih-prog/STM32AsyncTCP.git + stm32duino/STM32duino LwIP@>=2.1.2 + stm32duino/STM32duino STM32Ethernet@>=1.2.0 + khoih-prog/ESPAsync_WiFiManager@>=1.6.0 + lorol/LittleFS_esp32@>=1.0.5 build_flags = ; set your debug output (default=Serial) diff --git a/src/AsyncHTTPRequest_Debug_Generic.h b/src/AsyncHTTPRequest_Debug_Generic.h index 6396018..336fa89 100644 --- a/src/AsyncHTTPRequest_Debug_Generic.h +++ b/src/AsyncHTTPRequest_Debug_Generic.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once diff --git a/src/AsyncHTTPRequest_Generic.h b/src/AsyncHTTPRequest_Generic.h index 644cf38..16529dd 100644 --- a/src/AsyncHTTPRequest_Generic.h +++ b/src/AsyncHTTPRequest_Generic.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once @@ -35,7 +37,7 @@ #ifndef ASYNC_HTTP_REQUEST_GENERIC_H #define ASYNC_HTTP_REQUEST_GENERIC_H -#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.1.3" +#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.1.5" #include diff --git a/src/AsyncHTTPRequest_Impl_Generic.h b/src/AsyncHTTPRequest_Impl_Generic.h index ae236f4..4a1d2f4 100644 --- a/src/AsyncHTTPRequest_Impl_Generic.h +++ b/src/AsyncHTTPRequest_Impl_Generic.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once diff --git a/src/utility/xbuf.h b/src/utility/xbuf.h index 1dd8493..a610b03 100644 --- a/src/utility/xbuf.h +++ b/src/utility/xbuf.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ /******************************************************************************************** diff --git a/src/utility/xbuf_Impl.h b/src/utility/xbuf_Impl.h index 333c6e9..84f6e7c 100644 --- a/src/utility/xbuf_Impl.h +++ b/src/utility/xbuf_Impl.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once diff --git a/src_cpp/AsyncHTTPRequest_Debug_Generic.h b/src_cpp/AsyncHTTPRequest_Debug_Generic.h index 6396018..8fb1b69 100644 --- a/src_cpp/AsyncHTTPRequest_Debug_Generic.h +++ b/src_cpp/AsyncHTTPRequest_Debug_Generic.h @@ -17,17 +17,13 @@ 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 . - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + x-special/nautilus-clipboard +copy +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/utility +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Debug_Generic.h +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Generic.h +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Impl_Generic.h + *****************************************************************************************************************************/ #pragma once diff --git a/src_cpp/AsyncHTTPRequest_Generic.cpp b/src_cpp/AsyncHTTPRequest_Generic.cpp index 8281d3d..ad033f2 100644 --- a/src_cpp/AsyncHTTPRequest_Generic.cpp +++ b/src_cpp/AsyncHTTPRequest_Generic.cpp @@ -17,17 +17,13 @@ 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 . - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + x-special/nautilus-clipboard +copy +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/utility +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Debug_Generic.h +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Generic.h +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Impl_Generic.h + *****************************************************************************************************************************/ #include "AsyncHTTPRequest_Debug_Generic.h" diff --git a/src_cpp/AsyncHTTPRequest_Generic.h b/src_cpp/AsyncHTTPRequest_Generic.h index e57f8da..d38a99b 100644 --- a/src_cpp/AsyncHTTPRequest_Generic.h +++ b/src_cpp/AsyncHTTPRequest_Generic.h @@ -17,17 +17,13 @@ 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 . - Version: 1.1.3 - - Version Modified By Date Comments - ------- ----------- ---------- ----------- - 1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc). - 1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code. - 1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof - 1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods - 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. - 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library - 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + x-special/nautilus-clipboard +copy +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/utility +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Debug_Generic.h +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Generic.h +file:///home/kh/Arduino/libraries/AsyncHTTPRequest_Generic/src/AsyncHTTPRequest_Impl_Generic.h + *****************************************************************************************************************************/ #pragma once @@ -35,7 +31,7 @@ #ifndef ASYNC_HTTP_REQUEST_GENERIC_H #define ASYNC_HTTP_REQUEST_GENERIC_H -#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.1.3" +#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.1.5" #include diff --git a/src_h/AsyncHTTPRequest_Debug_Generic.h b/src_h/AsyncHTTPRequest_Debug_Generic.h index 6396018..336fa89 100644 --- a/src_h/AsyncHTTPRequest_Debug_Generic.h +++ b/src_h/AsyncHTTPRequest_Debug_Generic.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once diff --git a/src_h/AsyncHTTPRequest_Generic.h b/src_h/AsyncHTTPRequest_Generic.h index 644cf38..16529dd 100644 --- a/src_h/AsyncHTTPRequest_Generic.h +++ b/src_h/AsyncHTTPRequest_Generic.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once @@ -35,7 +37,7 @@ #ifndef ASYNC_HTTP_REQUEST_GENERIC_H #define ASYNC_HTTP_REQUEST_GENERIC_H -#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.1.3" +#define ASYNC_HTTP_REQUEST_GENERIC_VERSION "AsyncHTTPRequest_Generic v1.1.5" #include diff --git a/src_h/AsyncHTTPRequest_Impl_Generic.h b/src_h/AsyncHTTPRequest_Impl_Generic.h index ae236f4..4a1d2f4 100644 --- a/src_h/AsyncHTTPRequest_Impl_Generic.h +++ b/src_h/AsyncHTTPRequest_Impl_Generic.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once diff --git a/src_h/utility/xbuf.h b/src_h/utility/xbuf.h index 1dd8493..a610b03 100644 --- a/src_h/utility/xbuf.h +++ b/src_h/utility/xbuf.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ /******************************************************************************************** diff --git a/src_h/utility/xbuf_Impl.h b/src_h/utility/xbuf_Impl.h index 333c6e9..84f6e7c 100644 --- a/src_h/utility/xbuf_Impl.h +++ b/src_h/utility/xbuf_Impl.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 . - Version: 1.1.3 + Version: 1.1.5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -28,6 +28,8 @@ 1.1.1 K Hoang 24/12/2020 Prevent crash if request and/or method not correct. 1.1.2 K Hoang 11/02/2021 Rename _lock and _unlock to avoid conflict with AsyncWebServer library 1.1.3 K Hoang 25/02/2021 Fix non-persistent Connection header bug + 1.1.4 K Hoang 21/03/2021 Fix `library.properties` dependency + 1.1.5 K Hoang 22/03/2021 Fix dependency on STM32AsyncTCP Library *****************************************************************************************************************************/ #pragma once