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

Commit e7dabe5

Browse files
authored
Releases v1.1.0
### Releases v1.1.0 1. Add HTTP PUT, PATCH, DELETE and HEAD methods. Check [Add support for sending PUT, PATCH, DELETE request](#5) 2. Add Table of Contents 3. Add Version String
1 parent ccad41d commit e7dabe5

27 files changed

+856
-146
lines changed

README.md

+79-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,62 @@
99
---
1010
---
1111

12+
## Table of Contents
13+
14+
15+
* [Why do we need the new Async AsyncHTTPRequest_Generic library](#why-do-we-need-this-async-asynchttprequest_generic-library)
16+
* [Features](#features)
17+
* [Supports](#supports)
18+
* [Principles of operation](#principles-of-operation)
19+
* [Changelog](#changelog)
20+
* [Releases v1.1.0](#releases-v110)
21+
* [Releases v1.0.2](#releases-v102)
22+
* [Releases v1.0.1](#releases-v101)
23+
* [Releases v1.0.0](#releases-v100)
24+
* [AsyncHTTPRequest_Generic for ESP32, ESP8266 using built-in WiFi and STM32 boards using built-in LAN8742A Ethernet](#asynchttprequest_generic-for-esp32-esp8266-using-built-in-wifi-and-stm32-boards-using-built-in-lan8742a-ethernet)
25+
* [Prerequisites](#prerequisites)
26+
* [Installation](#installation)
27+
* [Use Arduino Library Manager](#use-arduino-library-manager)
28+
* [Manual Install](#manual-install)
29+
* [VS Code & PlatformIO](#vs-code--platformio)
30+
* [Packages' Patches](#packages-patches)
31+
* [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
32+
* [HOWTO Use analogRead() with ESP32 running WiFi and/or BlueTooth (BT/BLE)](#howto-use-analogread-with-esp32-running-wifi-andor-bluetooth-btble)
33+
* [1. ESP32 has 2 ADCs, named ADC1 and ADC2](#1--esp32-has-2-adcs-named-adc1-and-adc2)
34+
* [2. ESP32 ADCs functions](#2-esp32-adcs-functions)
35+
* [3. ESP32 WiFi uses ADC2 for WiFi functions](#3-esp32-wifi-uses-adc2-for-wifi-functions)
36+
* [Examples](#examples)
37+
* [AsyncHTTPRequest_ESP](examples/AsyncHTTPRequest_ESP)
38+
* [AsyncHTTPRequest_ESP_WiFiManager](examples/AsyncHTTPRequest_ESP_WiFiManager)
39+
* [AsyncHTTPRequest_STM32](examples/AsyncHTTPRequest_STM32)
40+
* [AsyncCustomHeader_STM32](examples/AsyncCustomHeader_STM32)
41+
* [AsyncDweetGet_STM32](examples/AsyncDweetGet_STM32)
42+
* [AsyncDweetPost_STM32](examples/AsyncDweetPost_STM32)
43+
* [AsyncSimpleGET_STM32](examples/AsyncSimpleGET_STM32)
44+
* [AsyncWebClientRepeating_STM32](examples/AsyncWebClientRepeating_STM32)
45+
* [Example AsyncHTTPRequest_STM32](#example-asynchttprequest_stm32)
46+
* [File AsyncHTTPRequest_STM32.ino](#1-file-asynchttprequest_stm32ino)
47+
* [2. File defines.h](#2-file-definesh)
48+
* [Debug Terminal Output Samples](#debug-termimal-output-samples)
49+
* [1. AsyncHTTPRequest_STM32 running on STM32F7 Nucleo-144 NUCLEO_F767ZI using built-in LAN8742A ](#1-asynchttprequest_stm32-running-on-stm32f7-nucleo-144-nucleo_f767zi-using-built-in-lan8742a)
50+
* [2. AsyncHTTPRequest_ESP_WiFiManager running on ESP8266_NODEMCU](#2-asynchttprequest_esp_wifimanager-running-on-esp8266_nodemcu)
51+
* [3. AsyncHTTPRequest_ESP_WiFiManager running on ESP32_DEV](#3-asynchttprequest_esp_wifimanager-running-on-esp32_dev)
52+
* [4. AsyncHTTPRequest_ESP running on ESP8266_NODEMCU](#4-asynchttprequest_esp-running-on-esp8266_nodemcu)
53+
* [5. AsyncWebClientRepeating_STM32 running on STM32F7 Nucleo-144 NUCLEO_F767ZI using built-in LAN8742A](#5-asyncwebclientrepeating_stm32-running-on-stm32f7-nucleo-144-nucleo_f767zi-using-built-in-lan8742a)
54+
* [Debug](#debug)
55+
* [Troubleshooting](#troubleshooting)
56+
* [Issues](#issues)
57+
* [Releases](#releases)
58+
* [TO DO](#to-do)
59+
* [DONE](#done)
60+
* [Contributions and Thanks](#contributions-and-thanks)
61+
* [Contributing](#contributing)
62+
* [License and credits](#license-and-credits)
63+
* [Copyright](#copyright)
64+
65+
---
66+
---
67+
1268
## Why do we need this Async [AsyncHTTPRequest_Generic library](https://github.com/khoih-prog/AsyncHTTPRequest_Generic)
1369

1470
#### Features
@@ -19,9 +75,9 @@
1975
4. Relying on **[`STM32duino LwIP`](https://github.com/stm32duino/LwIP)/[`STM32duino STM32Ethernet`](https://github.com/stm32duino/STM32Ethernet)/[`STM32AsyncTCP`](https://github.com/philbowles/STM32AsyncTCP) for STM32 using built-in LAN8742A Ethernet.**
2076
5. Methods similar in format and usage to XmlHTTPrequest in Javascript.
2177

22-
#### Supports:
78+
#### Supports
2379

24-
1. **GET and POST**
80+
1. **GET, POST, PUT, PATCH, DELETE and HEAD**
2581
2. Request and response headers
2682
3. Chunked response
2783
4. Single String response for short (<~5K) responses (heap permitting).
@@ -45,6 +101,16 @@ Chunked responses are recognized and handled transparently.
45101
---
46102
---
47103

104+
105+
## Changelog
106+
107+
### Releases v1.1.0
108+
109+
1. Add HTTP PUT, PATCH, DELETE and HEAD methods. Check [Add support for sending PUT, PATCH, DELETE request](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/5)
110+
2. Add Table of Contents
111+
3. Add Version String
112+
113+
48114
### Releases v1.0.2
49115

50116
1. Make Mutex Lock and delete more reliable and error-proof to prevent random crash.
@@ -509,7 +575,7 @@ IPAddress ip(192, 168, 2, 232);
509575
---
510576
---
511577

512-
### Debug Terminal Oouput Samples
578+
### Debug Terminal Ouput Samples
513579

514580
#### 1. [AsyncHTTPRequest_STM32](examples/AsyncHTTPRequest_STM32) running on STM32F7 Nucleo-144 NUCLEO_F767ZI using built-in LAN8742A
515581

@@ -763,10 +829,17 @@ Submit issues to: [AsyncHTTPRequest_Generic issues](https://github.com/khoih-pro
763829
1. Initially add support to STM32 using built-in LAN8742A Etnernet. Tested on **STM32F7 Nucleo-144 F767ZI**.
764830
2. Add more examples.
765831
3. Add debugging features.
832+
4. Add PUT, PATCH, DELETE and HEAD besides GET and POST.
766833

767834
---
768835
---
769836

837+
## Releases
838+
839+
### Releases v1.1.0
840+
841+
1. Add HTTP PUT, PATCH, DELETE and HEAD methods. Check [Add support for sending PUT, PATCH, DELETE request](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/5)
842+
770843
### Releases v1.0.2
771844

772845
1. Make Mutex Lock and delete more reliable and error-proof to prevent random crash.
@@ -791,10 +864,13 @@ This library is based on, modified, bug-fixed and improved from:
791864

792865
2. Thanks to [Daniel Brunner](https://github.com/0xFEEDC0DE64) to report and make PR in [Fixed linker errors when included in multiple .cpp files](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/pull/1) leading to v1.0.1. See [**HOWTO Fix `Multiple Definitions` Linker Error**](https://github.com/khoih-prog/AsyncHTTPRequest_Generic#HOWTO-Fix-Multiple-Definitions-Linker-Error)
793866

867+
3. Thanks to [gleniat](https://github.com/gleniat) to make enhancement request in[Add support for sending PUT, PATCH, DELETE request](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/5) leading to v1.1.0.
868+
794869
<table>
795870
<tr>
796871
<td align="center"><a href="https://github.com/boblemaire"><img src="https://github.com/boblemaire.png" width="100px;" alt="boblemaire"/><br /><sub><b>⭐️ Bob Lemaire</b></sub></a><br /></td>
797872
<td align="center"><a href="https://github.com/0xFEEDC0DE64"><img src="https://github.com/0xFEEDC0DE64.png" width="100px;" alt="0xFEEDC0DE64"/><br /><sub><b>Daniel Brunner</b></sub></a><br /></td>
873+
<td align="center"><a href="https://github.com/gleniat"><img src="https://github.com/gleniat.png" width="100px;" alt="gleniat"/><br /><sub><b>gleniat</b></sub></a><br /></td>
798874
</tr>
799875
</table>
800876

examples/AsyncCustomHeader_STM32/AsyncCustomHeader_STM32.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.0.2
20+
Version: 1.1.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc).
2525
1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code.
2626
1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof
27+
1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods
2728
*****************************************************************************************************************************/
2829

2930
#include "defines.h"
@@ -76,6 +77,7 @@ void setup(void)
7677
while (!Serial);
7778

7879
Serial.println("\nStart AsyncCustomHeader_STM32 on " + String(BOARD_NAME));
80+
Serial.println(ASYNC_HTTP_REQUEST_GENERIC_VERSION);
7981

8082
// start the ethernet connection and the server
8183
// Use random mac

examples/AsyncDweetGet_STM32/AsyncDweetGet_STM32.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.0.2
20+
Version: 1.1.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc).
2525
1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code.
2626
1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof
27+
1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods
2728
*****************************************************************************************************************************/
2829

2930
/**
@@ -123,6 +124,7 @@ void setup(void)
123124
while (!Serial);
124125

125126
Serial.println("\nStart AsyncDweetGET_STM32 on " + String(BOARD_NAME));
127+
Serial.println(ASYNC_HTTP_REQUEST_GENERIC_VERSION);
126128

127129
// start the ethernet connection and the server
128130
// Use random mac

examples/AsyncDweetPost_STM32/AsyncDweetPost_STM32.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.0.2
20+
Version: 1.1.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc).
2525
1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code.
2626
1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof
27+
1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods
2728
*****************************************************************************************************************************/
2829

2930
// Dweet.io POST client. Connects to dweet.io once every ten seconds, sends a POST request and a request body.
@@ -122,6 +123,7 @@ void setup(void)
122123
while (!Serial);
123124

124125
Serial.println("\nStart AsyncDweetPOST_STM32 on " + String(BOARD_NAME));
126+
Serial.println(ASYNC_HTTP_REQUEST_GENERIC_VERSION);
125127

126128
// start the ethernet connection and the server
127129
// Use random mac

examples/AsyncHTTPRequest_ESP/AsyncHTTPRequest_ESP.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.0.2
20+
Version: 1.1.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.0.0 K Hoang 14/09/2020 Initial coding to add support to STM32 using built-in Ethernet (Nucleo-144, DISCOVERY, etc).
2525
1.0.1 K Hoang 09/10/2020 Restore cpp code besides Impl.h code.
2626
1.0.2 K Hoang 09/11/2020 Make Mutex Lock and delete more reliable and error-proof
27+
1.1.0 K Hoang 23/12/2020 Add HTTP PUT, PATCH, DELETE and HEAD methods
2728
*****************************************************************************************************************************/
2829
//************************************************************************************************************
2930
//
@@ -133,6 +134,7 @@ void setup()
133134
while (!Serial);
134135

135136
Serial.println("\nStarting AsyncHTTPRequest_ESP using " + String(ARDUINO_BOARD));
137+
Serial.println(ASYNC_HTTP_REQUEST_GENERIC_VERSION);
136138

137139
WiFi.mode(WIFI_STA);
138140

0 commit comments

Comments
 (0)