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

Commit 0e3463c

Browse files
authored
v1.4.2 to add examples AsyncWebServer + MQTT
#### Release v1.4.2 1. Add examples [Async_AdvancedWebServer_SendChunked_MQTT](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/Async_AdvancedWebServer_SendChunked_MQTT) and [AsyncWebServer_MQTT_RP2040W](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/AsyncWebServer_MQTT_RP2040W) to demo how to use `AsyncWebServer_RP2040W` and `AsyncMQTT_Generic` libraries together 2. Improve `README.md` so that links can be used in other sites, such as `PIO`
1 parent c3bd893 commit 0e3463c

25 files changed

+240
-101
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ However, before reporting a bug please check through the following:
1010

1111
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/AsyncWebServer_RP2040W/issues/new).
1212

13+
---
14+
1315
### How to submit a bug report
1416

1517
Please ensure to specify the following:
1618

1719
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* `RP2040` Core Version (e.g. RP2040 core v2.6.3)
20+
* `RP2040` Core Version (e.g. RP2040 core v2.7.1)
1921
* `RP2040` Board type (e.g. RASPBERRY_PI_PICO_W)
2022
* Contextual information (e.g. what you were trying to achieve)
2123
* Simplest possible steps to reproduce
@@ -24,14 +26,18 @@ Please ensure to specify the following:
2426
* Network configuration
2527

2628

29+
Please be educated, civilized and constructive as you've always been. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
30+
31+
---
32+
2733
### Example
2834

2935
```
3036
Arduino IDE version: 1.8.19
31-
RP2040 core v2.6.3
37+
RP2040 core v2.7.1
3238
RASPBERRY_PI_PICO_W Module
3339
OS: Ubuntu 20.04 LTS
34-
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
40+
Linux xy-Inspiron-3593 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3541
3642
Context:
3743
I encountered a crash while using this library

README.md

Lines changed: 170 additions & 71 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Donate to my libraries using BuyMeACoffee" style="height: 50px !important;width: 181px !important;" ></a>
99
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00" style="height: 20px !important;width: 200px !important;" ></a>
1010

11+
1112
---
1213
---
1314

1415
## Table of Contents
1516

1617
* [Changelog](#changelog)
18+
* [Release v1.4.2](#Release-v142)
1719
* [Release v1.4.1](#Release-v141)
1820
* [Release v1.4.0](#Release-v140)
1921
* [Release v1.3.1](#Release-v131)
@@ -33,12 +35,16 @@
3335

3436
## Changelog
3537

38+
#### Release v1.4.2
39+
40+
1. Add examples [Async_AdvancedWebServer_SendChunked_MQTT](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/Async_AdvancedWebServer_SendChunked_MQTT) and [AsyncWebServer_MQTT_RP2040W](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/AsyncWebServer_MQTT_RP2040W) to demo how to use `AsyncWebServer_RP2040W` and `AsyncMQTT_Generic` libraries together
41+
2. Improve `README.md` so that links can be used in other sites, such as `PIO`
42+
3643
#### Release v1.4.1
3744

3845
1. Add examples [Async_AdvancedWebServer_SendChunked](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/Async_AdvancedWebServer_SendChunked) and [AsyncWebServer_SendChunked](https://github.com/khoih-prog/AsyncWebServer_RP2040W/tree/main/examples/AsyncWebServer_SendChunked) to demo how to use `beginChunkedResponse()` to send large `html` in chunks
3946
2. Use `allman astyle` and add `utils`
4047

41-
4248
#### Release v1.4.0
4349

4450
1. Add `LittleFS` functions such as AsyncFSWebServer

library.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AsyncWebServer_RP2040W",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
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, support using CString to save heap to send very large data and examples to demo how to use beginChunkedResponse() to send large html in chunks",
66
"authors":
@@ -34,7 +34,14 @@
3434
{
3535
"owner": "khoih-prog",
3636
"name": "AsyncTCP_RP2040W",
37-
"version": "^1.1.0"
37+
"version": "^1.1.0",
38+
"platforms": ["raspberrypi"]
39+
},
40+
{
41+
"owner": "khoih-prog",
42+
"name": "AsyncMQTT_Generic",
43+
"version": "^1.8.1",
44+
"platforms": ["raspberrypi"]
3845
}
3946
],
4047
"license": "LGPL-3.0",

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AsyncWebServer_RP2040W
2-
version=1.4.1
2+
version=1.4.2
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.
@@ -9,5 +9,5 @@ url=https://github.com/khoih-prog/AsyncWebServer_RP2040W
99
architectures=rp2040
1010
repository=https://github.com/khoih-prog/AsyncWebServer_RP2040W
1111
license=GPLv3
12-
depends=AsyncTCP_RP2040W
12+
depends=AsyncTCP_RP2040W, AsyncMQTT_Generic
1313
includes=AsyncWebServer_RP2040W.h, AsyncFSEditor_RP2040W.h

platformio/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ lib_ldf_mode = chain+
4646
lib_deps =
4747
; PlatformIO 4.x
4848
; AsyncTCP_RP2040W@>=1.1.0
49+
; AsyncMQTT_Generic@>=1.8.1
4950
;
5051
; PlatformIO 5.x
5152
khoih-prog/AsyncTCP_RP2040W@>=1.1.0
53+
khoih-prog/AsyncMQTT_Generic@>=1.8.1
5254

5355

5456
build_flags =

src/AsyncEventSource_RP2040W.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncWebServer_RP2040W
1010
Licensed under GPLv3 license
1111
12-
Version: 1.4.1
12+
Version: 1.4.2
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.3.1 K Hoang 10/10/2022 Improve robustness of AsyncWebSockets server
2626
1.4.0 K Hoang 20/10/2022 Add LittleFS functions such as AsyncFSWebServer
2727
1.4.1 K Hoang 10/11/2022 Add examples to demo how to use beginChunkedResponse() to send in chunks
28+
1.4.2 K Hoang 28/01/2023 Add Async_AdvancedWebServer_SendChunked_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#if !defined(_RP2040W_AWS_LOGLEVEL_)

src/AsyncEventSource_RP2040W.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncWebServer_RP2040W
1010
Licensed under GPLv3 license
1111
12-
Version: 1.4.1
12+
Version: 1.4.2
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.3.1 K Hoang 10/10/2022 Improve robustness of AsyncWebSockets server
2626
1.4.0 K Hoang 20/10/2022 Add LittleFS functions such as AsyncFSWebServer
2727
1.4.1 K Hoang 10/11/2022 Add examples to demo how to use beginChunkedResponse() to send in chunks
28+
1.4.2 K Hoang 28/01/2023 Add Async_AdvancedWebServer_SendChunked_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#pragma once

src/AsyncFSEditor_RP2040W.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncWebServer_RP2040W
1010
Licensed under GPLv3 license
1111
12-
Version: 1.4.1
12+
Version: 1.4.2
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.3.1 K Hoang 10/10/2022 Improve robustness of AsyncWebSockets server
2626
1.4.0 K Hoang 20/10/2022 Add LittleFS functions such as AsyncFSWebServer
2727
1.4.1 K Hoang 10/11/2022 Add examples to demo how to use beginChunkedResponse() to send in chunks
28+
1.4.2 K Hoang 28/01/2023 Add Async_AdvancedWebServer_SendChunked_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#include "AsyncFSEditor_RP2040W.h"

src/AsyncFSEditor_RP2040W.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/AsyncWebServer_RP2040W
1010
Licensed under GPLv3 license
1111
12-
Version: 1.4.1
12+
Version: 1.4.2
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.3.1 K Hoang 10/10/2022 Improve robustness of AsyncWebSockets server
2626
1.4.0 K Hoang 20/10/2022 Add LittleFS functions such as AsyncFSWebServer
2727
1.4.1 K Hoang 10/11/2022 Add examples to demo how to use beginChunkedResponse() to send in chunks
28+
1.4.2 K Hoang 28/01/2023 Add Async_AdvancedWebServer_SendChunked_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#ifndef RP2040W_ASYNC_FSEDITOR_H_

0 commit comments

Comments
 (0)