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

Commit 740a15b

Browse files
authored
v1.1.0 to fix issue with slow browsers or network
### Release v1.1.0 1. Fix issue with slow browsers or network. Check [Target stops responding after variable time when using Firefox on Windows 10 #3](#3)
1 parent 9398ece commit 740a15b

30 files changed

+306
-55
lines changed

README.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ to apply the better and faster **asynchronous** feature of the **powerful** [ESP
152152

153153
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
154154
2. [`Earle Philhower's arduino-pico core v2.5.4+`](https://github.com/earlephilhower/arduino-pico) for **RASPBERRY_PI_PICO_W with CYW43439 WiFi**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
155-
3. [`AsyncTCP_RP2040W library v1.0.0+`](https://github.com/khoih-prog/AsyncTCP_RP2040W) for RASPBERRY_PI_PICO_W with CYW43439 WiFi. [![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncTCP_RP2040W.svg)](https://github.com/khoih-prog/AsyncTCP_RP2040W/releases/latest). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/AsyncTCP_RP2040W.svg?)](https://www.ardu-badge.com/AsyncTCP_RP2040W)
155+
3. [`AsyncTCP_RP2040W library v1.1.0+`](https://github.com/khoih-prog/AsyncTCP_RP2040W) for RASPBERRY_PI_PICO_W with CYW43439 WiFi. [![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncTCP_RP2040W.svg)](https://github.com/khoih-prog/AsyncTCP_RP2040W/releases/latest)
156156

157157
---
158158

@@ -1451,8 +1451,8 @@ Following is the debug terminal when running example [Async_AdvancedWebServer](e
14511451

14521452
```
14531453
Start Async_AdvancedWebServer on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
1454-
AsyncTCP_RP2040W v1.0.0
1455-
AsyncWebServer_RP2040W v1.0.3
1454+
AsyncTCP_RP2040W v1.1.0
1455+
AsyncWebServer_RP2040W v1.1.0
14561456
Connecting to SSID: HueNet1
14571457
SSID: HueNet1
14581458
Local IP Address: 192.168.2.180
@@ -1475,8 +1475,8 @@ Following is debug terminal output when running example [WebClient](examples/Web
14751475

14761476
```
14771477
Start WebClient on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
1478-
AsyncTCP_RP2040W v1.0.0
1479-
AsyncWebServer_RP2040W v1.0.3
1478+
AsyncTCP_RP2040W v1.1.0
1479+
AsyncWebServer_RP2040W v1.1.0
14801480
Connecting to SSID: HueNet1
14811481
SSID: HueNet1
14821482
Local IP Address: 192.168.2.180
@@ -1553,8 +1553,8 @@ Following is debug terminal output when running example [MQTTClient_Auth](exampl
15531553

15541554
```
15551555
Start MQTTClient_Auth on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
1556-
AsyncTCP_RP2040W v1.0.0
1557-
AsyncWebServer_RP2040W v1.0.3
1556+
AsyncTCP_RP2040W v1.1.0
1557+
AsyncWebServer_RP2040W v1.1.0
15581558
Connecting to SSID: HueNet1
15591559
SSID: HueNet1
15601560
Local IP Address: 192.168.2.180
@@ -1575,8 +1575,8 @@ Following is debug terminal output when running example [MQTTClient_Basic](examp
15751575

15761576
```
15771577
Start MQTTClient_Basic on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
1578-
AsyncTCP_RP2040W v1.0.0
1579-
AsyncWebServer_RP2040W v1.0.3
1578+
AsyncTCP_RP2040W v1.1.0
1579+
AsyncWebServer_RP2040W v1.1.0
15801580
Connecting to SSID: HueNet1
15811581
SSID: HueNet1
15821582
Local IP Address: 192.168.2.180
@@ -1597,8 +1597,8 @@ Following is debug terminal output when running example [MQTT_ThingStream](examp
15971597

15981598
```
15991599
Start MQTT_ThingStream on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
1600-
AsyncTCP_RP2040W v1.0.0
1601-
AsyncWebServer_RP2040W v1.0.3
1600+
AsyncTCP_RP2040W v1.1.0
1601+
AsyncWebServer_RP2040W v1.1.0
16021602
Connecting to SSID: HueNet1
16031603
SSID: HueNet1
16041604
Local IP Address: 192.168.2.180
@@ -1625,8 +1625,8 @@ Following is the debug terminal when running example [Async_AdvancedWebServer_Co
16251625

16261626
```
16271627
Start Async_AdvancedWebServer_Country on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
1628-
AsyncTCP_RP2040W v1.0.0
1629-
AsyncWebServer_RP2040W v1.0.3
1628+
AsyncTCP_RP2040W v1.1.0
1629+
AsyncWebServer_RP2040W v1.1.0
16301630
Connecting to SSID: HueNet1
16311631
SSID: HueNet1
16321632
Local IP Address: 192.168.2.180
@@ -1639,7 +1639,18 @@ HTTP EthernetWebServer is @ IP : 192.168.2.180
16391639
<img src="https://github.com/khoih-prog/AsyncWebServer_RP2040W/blob/main/pics/Async_AdvancedWebServer_Country.png">
16401640
</p>
16411641

1642-
---
1642+
##### Chrome, Vivaldi and Firefox running simultaneously
1643+
1644+
<p align="center">
1645+
<img src="https://github.com/khoih-prog/AsyncWebServer_RP2040W/blob/main/pics/Async_AdvancedWebServer_Country_Multi.png">
1646+
</p>
1647+
1648+
##### Only Firefox running
1649+
1650+
<p align="center">
1651+
<img src="https://github.com/khoih-prog/AsyncWebServer_RP2040W/blob/main/pics/Async_AdvancedWebServer_Country_Firefox.png">
1652+
</p>
1653+
16431654

16441655
---
16451656
---
@@ -1681,14 +1692,17 @@ Submit issues to: [AsyncWebServer_RP2040W issues](https://github.com/khoih-prog/
16811692
2. Add Table of Contents
16821693
3. Modify examples to display `country-code`
16831694
4. Add tempo method to modify `arduino-pico` core to change `country-code`
1695+
5. Fix issue with slow browsers or network. Check [Target stops responding after variable time when using Firefox on Windows 10 #3](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/3)
16841696

16851697
---
16861698
---
16871699

16881700
### Contributions and Thanks
16891701

16901702
1. Based on and modified from [Hristo Gochkov's ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer). Many thanks to [Hristo Gochkov](https://github.com/me-no-dev) for great [ESPAsyncWebServer Library](https://github.com/me-no-dev/ESPAsyncWebServer)
1691-
2. Thanks to [revell1](https://github.com/revell1) to report the bug in [LED state appears to be reversed. #2](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/2), leading to v1.0.2
1703+
2. Thanks to [revell1](https://github.com/revell1) to
1704+
- report the bug in [LED state appears to be reversed. #2](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/2), leading to v1.0.2
1705+
- request enhancement in [Target stops responding after variable time when using Firefox on Windows 10 #3](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/3), leading to v1.1.0
16921706

16931707
<table>
16941708
<tr>

changelog.md

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

1313
* [Changelog](#changelog)
14+
* [Release v1.1.0](#Release-v110)
1415
* [Release v1.0.3](#Release-v103)
1516
* [Release v1.0.2](#Release-v102)
1617
* [Release v1.0.1](#Release-v101)
@@ -21,6 +22,11 @@
2122

2223
## Changelog
2324

25+
### Release v1.1.0
26+
27+
1. Fix issue with slow browsers or network. Check [Target stops responding after variable time when using Firefox on Windows 10 #3](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/3)
28+
29+
2430
### Release v1.0.3
2531

2632
1. Modify examples to display `country-code`

examples/Async_AdvancedWebServer/Async_AdvancedWebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void drawGraph(AsyncWebServerRequest *request)
129129
{
130130
String out;
131131

132-
out.reserve(3000);
132+
out.reserve(4000);
133133
char temp[70];
134134

135135
digitalWrite(LED_BUILTIN, LED_ON);

examples/Async_AdvancedWebServer_Country/Async_AdvancedWebServer_Country.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
#error For RASPBERRY_PI_PICO_W only
4848
#endif
4949

50-
#define _RP2040W_AWS_LOGLEVEL_ 1
50+
#define _ASYNCTCP_RP2040W_LOGLEVEL_ 4
51+
#define _RP2040W_AWS_LOGLEVEL_ 3
5152

5253
///////////////////////////////////////////////////////////////////
5354

@@ -131,7 +132,7 @@ void drawGraph(AsyncWebServerRequest *request)
131132
{
132133
String out;
133134

134-
out.reserve(3000);
135+
out.reserve(4000);
135136
char temp[70];
136137

137138
digitalWrite(LED_BUILTIN, LED_ON);

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AsyncWebServer_RP2040W",
3-
"version": "1.0.3",
3+
"version": "1.1.0",
44
"keywords": "http, async, websocket, webserver, async-webserver, async-tcp, async-udp, async-websocket, async-http, ssl, tls, rp2040, rp2040w, raspberry-pi-pico-w, cyw43439, wifi",
55
"description": "Asynchronous WebServer Library for RASPBERRY_PI_PICO_W using CYW43439 WiFi with arduino-pico core. This library, which is relied on AsyncTCP_RP2040W, is part of a series of advanced Async libraries for RP2040W, such as AsyncTCP_RP2040W, AsyncUDP_RP2040W, AsyncWebServer_RP2040W, AsyncHTTPRequest_RP2040W, AsyncHTTPSRequest_RP2040W, etc. Now can display programmed WiFi country-code",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AsyncWebServer_RP2040W
2-
version=1.0.3
2+
version=1.1.0
33
author=Hristo Gochkov,Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
sentence=Asynchronous WebServer Library for RASPBERRY_PI_PICO_W using CYW43439 WiFi with arduino-pico core.
79.5 KB
Loading
112 KB
Loading

platformio/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ upload_speed = 921600
3838
;monitor_port = COM11
3939

4040
; Checks for the compatibility with frameworks and dev/platforms
41+
; Adjust as necessary
4142
lib_compat_mode = strict
4243
lib_ldf_mode = chain+
4344
;lib_ldf_mode = deep+

src/AsyncEventSource_RP2040W.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncWebServer_RP2040W
1010
Licensed under GPLv3 license
1111
12-
Version: 1.0.3
12+
Version: 1.1.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 13/08/2022 Initial coding for RP2040W with CYW43439 WiFi
1717
1.0.1 K Hoang 15/08/2022 Fix bug in examples, `library.json`
1818
1.0.2 K Hoang 15/08/2022 Fix LED bug in examples
1919
1.0.3 K Hoang 22/09/2022 To display country-code and tempo method to modify in arduino-pico core
20+
1.1.0 K Hoang 25/09/2022 Fix issue with slow browsers or network
2021
*****************************************************************************************************************************/
2122

2223
#if !defined(_RP2040W_AWS_LOGLEVEL_)

0 commit comments

Comments
 (0)