You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
*[1. Async_AdvancedWebServer on RASPBERRY_PI_PICO_W using CYW43439 WiFi](#1-Async_AdvancedWebServer-on-RASPBERRY_PI_PICO_W-using-CYW43439-WiFi)
@@ -101,6 +102,7 @@
101
102
*[6. Async_AdvancedWebServer_Country on RASPBERRY_PI_PICO_W using CYW43439 WiFi](#6-Async_AdvancedWebServer_Country-on-RASPBERRY_PI_PICO_W-using-CYW43439-WiFi)
102
103
*[7. Async_AdvancedWebServer_favicon on RASPBERRY_PI_PICO_W using CYW43439 WiFi](#7-Async_AdvancedWebServer_favicon-on-RASPBERRY_PI_PICO_W-using-CYW43439-WiFi)
103
104
*[8. Async_AdvancedWebServer_MemoryIssues_Send_CString on RASPBERRY_PI_PICO_W](#8-Async_AdvancedWebServer_MemoryIssues_Send_CString-on-RASPBERRY_PI_PICO_W)
105
+
*[9. Async_WebSocketsServer on RASPBERRY_PI_PICO_W using CYW43439 WiFi](#9-Async_WebSocketsServer-on-RASPBERRY_PI_PICO_W-using-CYW43439-WiFi)
104
106
*[Debug](#debug)
105
107
*[Troubleshooting](#troubleshooting)
106
108
*[Issues](#issues)
@@ -261,7 +263,7 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `AsyncW
261
263
262
264
## Important things to remember
263
265
264
-
- This is fully asynchronous server and as such does not run on the loop thread.
266
+
- This is fully asynchronous server and as such does not run on the `loop()` thread.
265
267
- You can not use `yield()` or `delay()` or any function that uses them inside the callbacks
266
268
- The server is smart enough to know when to close the connection and free resources
267
269
- You can not send more than one response to a single request
@@ -329,7 +331,7 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `AsyncW
#### 9. Async_WebSocketsServer on RASPBERRY_PI_PICO_W using CYW43439 WiFi
1844
+
1845
+
Following is debug terminal output when running example [Async_WebSocketsServer](examples/Async_WebSocketsServer) on RASPBERRY_PI_PICO_W using CYW43439 WiFi. The WSClient is using the provided [WSClient.py](examples/Async_WebSocketsServer/WSClient_Python/WSClient.py)
1846
+
1847
+
1848
+
```
1849
+
Starting Async_WebSocketsServer on RASPBERRY_PI_PICO_W
1850
+
AsyncTCP_RP2040W v1.1.0
1851
+
AsyncWebServer_RP2040W v1.3.0
1852
+
Connecting to SSID: HueNet1
1853
+
SSID: HueNet1
1854
+
Local IP Address: 192.168.2.77
1855
+
ws[Server: /ws][ClientID: 1] WSClient connected
1856
+
ws[Server: /ws][ClientID: 2] WSClient connected
1857
+
ws[Server: /ws][ClientID: 2] text-message[len: 13]: Hello, Server
@@ -1878,6 +1930,8 @@ Submit issues to: [AsyncWebServer_RP2040W issues](https://github.com/khoih-prog/
1878
1930
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)
1879
1931
6. Add functions and example `Async_AdvancedWebServer_favicon` to support `favicon.ico`
1880
1932
7. Support using `CString` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8)
1933
+
8. Fix `crash` when using `AsyncWebSockets server` and add example [Async_WebSocketsServer](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/Async_WebSocketsServer) to demo the AsyncWebSockets Server with a Python [WSClient.py](examples/Async_WebSocketsServer/WSClient_Python/WSClient.py)
1934
+
1881
1935
1882
1936
---
1883
1937
---
@@ -1891,12 +1945,15 @@ Submit issues to: [AsyncWebServer_RP2040W issues](https://github.com/khoih-prog/
1891
1945
3. Thanks to [salasidis](https://github.com/salasidis) aka [rs77can](https://forum.arduino.cc/u/rs77can) to discuss and make the following `marvellous` PRs in [Portenta_H7_AsyncWebServer library](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer)
1892
1946
-[request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8), leading to `v1.2.0` to support using `CString` to save heap to send `very large data`
1893
1947
-[All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11), leading to `v1.2.1` to remove `memmove()` and not to destroy String anymore
1948
+
4. Thanks to [drmue](https://github.com/drmue) to reportthe bug in [Can't connect to AsyncWebSocketServer_RP2040 via javascript #5](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/5), leading to `v1.3.0` to Fix crash when using AsyncWebSockets server
Copy file name to clipboardExpand all lines: changelog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
## Table of Contents
12
12
13
13
*[Changelog](#changelog)
14
+
*[Release v1.3.0](#Release-v130)
14
15
*[Release v1.2.1](#Release-v121)
15
16
*[Release v1.2.0](#Release-v120)
16
17
*[Release v1.1.2](#Release-v112)
@@ -26,6 +27,11 @@
26
27
27
28
## Changelog
28
29
30
+
#### Releases v1.3.0
31
+
32
+
1. Fix `crash` when using `AsyncWebSockets server`. Check [Can't connect to AsyncWebSocketServer_RP2040 via javascript #5](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/5)
33
+
2. Add example [Async_WebSocketsServer](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/Async_WebSocketsServer) to demo the AsyncWebSockets Server with a `Python`[WSClient.py](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/Async_WebSocketsServer/WSClient_Python/WSClient.py)
34
+
29
35
#### Releases v1.2.1
30
36
31
37
1. Don't need `memmove()`, CString no longer destroyed. Check [All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11)
"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 and support using CString to save heap to send very large data",
0 commit comments