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

Commit 40e15e3

Browse files
authored
v1.10.1 to fix bug of wrong reqStates
### Releases v1.10.1 1. Fix bug of wrong `reqStates` 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
1 parent fb494ca commit 40e15e3

File tree

21 files changed

+110
-94
lines changed

21 files changed

+110
-94
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.10.1](#releases-v1101)
1516
* [Releases v1.10.0](#releases-v1100)
1617
* [Releases v1.9.2](#releases-v192)
1718
* [Releases v1.9.1](#releases-v191)
@@ -43,6 +44,11 @@
4344

4445
## Changelog
4546

47+
### Releases v1.10.1
48+
49+
1. Fix bug of wrong `reqStates`
50+
2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
51+
4652
### Releases v1.10.0
4753

4854
1. Fix bug.

examples/AsyncCustomHeader_STM32/AsyncCustomHeader_STM32.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
//char GET_ServerAddress[] = "192.168.2.110/";
2525
char GET_ServerAddress[] = "http://worldtimeapi.org/api/timezone/America/Toronto.txt";
2626

27-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
28-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
27+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
28+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
2929

3030
// 600s = 10 minutes to not flooding, 60s in testing
3131
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000

examples/AsyncDweetGet_STM32/AsyncDweetGet_STM32.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const char GET_ServerAddress[] = "dweet.io";
3535
// use your own thing name here
3636
String dweetName = "/dweet/for/currentSecond?second=";
3737

38-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
39-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
38+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
39+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
4040

4141
// 600s = 10 minutes to not flooding, 60s in testing
4242
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000

examples/AsyncDweetPost_STM32/AsyncDweetPost_STM32.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const char POST_ServerAddress[] = "dweet.io";
2929
// use your own thing name here
3030
String dweetName = "/dweet/for/pinA0-Read?";
3131

32-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
33-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
32+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
33+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
3434

3535
// 600s = 10 minutes to not flooding, 60s in testing
3636
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000

examples/AsyncHTTPMultiRequests_ESP/AsyncHTTPMultiRequests_ESP.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
4545
#endif
4646

47-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
48-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
47+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
48+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
4949

5050
// Level from 0-4
5151
#define ASYNC_HTTP_DEBUG_PORT Serial
@@ -68,6 +68,9 @@ const char* password = "your_pass";
6868
#include <WiFi.h>
6969
#endif
7070

71+
// Seconds for timeout, default is 3s
72+
#define DEFAULT_RX_TIMEOUT 10
73+
7174
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
7275
#include <AsyncHTTPRequest_Generic.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Generic
7376

examples/AsyncHTTPRequest_ESP/AsyncHTTPRequest_ESP.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ const char* password = "your_pass";
6565
#include <WiFi.h>
6666
#endif
6767

68-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
69-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
68+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
69+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
70+
71+
// Seconds for timeout, default is 3s
72+
#define DEFAULT_RX_TIMEOUT 10
7073

7174
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
7275
#include <AsyncHTTPRequest_Generic.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Generic

examples/AsyncHTTPRequest_ESP8266_Ethernet/AsyncHTTPRequest_ESP8266_Ethernet.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,11 @@ using TCPClient = WiFiClient;
9595

9696
//////////////////////////////////////////////////////////
9797

98-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
99-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
98+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
99+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
100+
101+
// Seconds for timeout, default is 3s
102+
#define DEFAULT_RX_TIMEOUT 10
100103

101104
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
102105
#include <AsyncHTTPRequest_Generic.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Generic

examples/AsyncHTTPRequest_ESP_Multi/AsyncHTTPRequest_ESP_Multi.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ const char* password = "your_pass";
4444
#include <WiFi.h>
4545
#endif
4646

47+
// Seconds for timeout, default is 3s
48+
#define DEFAULT_RX_TIMEOUT 10
49+
4750
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
4851
#include <AsyncHTTPRequest_Generic.h> // http://github.com/khoih-prog/AsyncHTTPRequest_Generic
4952

examples/AsyncHTTPRequest_ESP_WiFiManager/AsyncHTTPRequest_ESP_WiFiManager.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.15.0"
5050
#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN 1015000
5151

52-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
53-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
52+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
53+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
5454

5555
// Level from 0-4
5656
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/AsyncHTTPRequest_STM32/AsyncHTTPRequest_STM32.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343
#include "defines.h"
4444

45-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.0"
46-
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010000
45+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN_TARGET "AsyncHTTPRequest_Generic v1.10.1"
46+
#define ASYNC_HTTP_REQUEST_GENERIC_VERSION_MIN 1010001
4747

4848
// 600s = 10 minutes to not flooding, 60s in testing
4949
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000

0 commit comments

Comments
 (0)