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

Commit 48a17e0

Browse files
authored
v1.8.1 to add example AsyncWebServer_MQTT, etc.
### Releases v1.8.1 1. Add `AsyncWebServer_MQTT` for ESP32 example to demo how to use `AsyncWebServer` and `AsyncMQTT_Generic` together 2. Add `AsyncWebServer_MQTT_RP2040W` example to demo how to use `AsyncWebServer_RP2040W` and `AsyncMQTT_Generic` together 3. Improve `README.md` so that links can be used in other sites, such as `PIO`
1 parent 0a94e3b commit 48a17e0

10 files changed

+133
-95
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,32 @@ 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/AsyncMQTT_Generic/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-
* `ESP8266`,`ESP32`, `STM32`, `arduino-pico` or `Teensyduino` Core Version (e.g. ESP8266 core v3.0.2, ESP32 v2.0.5, STM32 v2.3.0, arduino-pico v2.6.3 or Teensyduino v1.57)
20+
* `ESP8266`,`ESP32`, `STM32`, `arduino-pico` or `Teensyduino` Core Version (e.g. ESP8266 core v3.1.1, ESP32 v2.0.6, STM32 v2.4.0, arduino-pico v2.7.1 or Teensyduino v1.57)
1921
* Contextual information (e.g. what you were trying to achieve)
2022
* Simplest possible steps to reproduce
2123
* Anything that might be relevant in your opinion, such as:
2224
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
2325
* Network configuration
2426

2527

28+
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.
29+
30+
---
31+
2632
### Example
2733

2834
```
2935
Arduino IDE version: 1.8.19
30-
ESP32 Core Version 2.0.5
36+
ESP32 Core Version 2.0.6
3137
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.15.0-53-generic #59~20.04.1-Ubuntu SMP Thu Oct 20 15:10:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
38+
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
3339
3440
Context:
3541
I encountered a crash while using this library

README.md

Lines changed: 87 additions & 75 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
<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>
1010
<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>
1111

12+
1213
---
1314
---
1415

1516
## Table of Contents
1617

1718
* [Changelog](#changelog)
19+
* [Releases v1.8.1](#releases-v181)
1820
* [Releases v1.8.0](#releases-v180)
1921
* [Releases v1.7.0](#releases-v170)
2022
* [Releases v1.6.1](#releases-v161)
@@ -33,6 +35,12 @@
3335

3436
## Changelog
3537

38+
### Releases v1.8.1
39+
40+
1. Add `AsyncWebServer_MQTT` for ESP32 example to demo how to use `AsyncWebServer` and `AsyncMQTT_Generic` together
41+
2. Add `AsyncWebServer_MQTT_RP2040W` example to demo how to use `AsyncWebServer_RP2040W` and `AsyncMQTT_Generic` together
42+
3. Improve `README.md` so that links can be used in other sites, such as `PIO`
43+
3644
### Releases v1.8.0
3745

3846
1. Add support to ESP32 boards using `LwIP W5500 Ethernet`

library.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AsyncMQTT_Generic",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"keywords": "communication, iot, automation, async, async-tcp, async-tcp-ssl, async-mqtt, mqtt, async-mqtt-client, esp8266, esp32, stm32, portenta-h7, wt32-eth01, tls, teensy-41, qn-ethernet, lwip, lan8742a, lan8720",
55
"description": "Arduino Arduino Library for ESP8266, ESP32, Portenta_H7, STM32 and RP2040W asynchronous MQTT client implementation. This library, ported to support ESP32, WT32_ETH01 (ESP32 + LAN8720), (ESP32 + LwIP W5500), (ESP32 + LwIP ENC28J60), ESP8266, Portenta_H7 (Ethernet or WiFi) and STM32 (LAN8742A or LAN8720 Ethernet), Teensy 4.1 using QNEthernet, RASPBERRY_PI_PICO_W with CYW43439 WiFi. Currently supporting TLS/SSL for ESP32 only",
66
"authors":
@@ -58,6 +58,12 @@
5858
"version": ">=1.1.0",
5959
"platforms": ["raspberrypi"]
6060
},
61+
{
62+
"owner": "khoih-prog",
63+
"name": "AsyncWebServer_RP2040W",
64+
"version": ">=1.4.1",
65+
"platforms": ["raspberrypi"]
66+
},
6167
{
6268
"owner": "khoih-prog",
6369
"name": "ESPAsync_WiFiManager",
@@ -73,13 +79,13 @@
7379
{
7480
"owner": "khoih-prog",
7581
"name": "WebServer_ESP32_W5500",
76-
"version": ">=1.5.1",
82+
"version": ">=1.5.3",
7783
"platforms": ["espressif32"]
7884
},
7985
{
8086
"owner": "khoih-prog",
8187
"name": "WebServer_ESP32_ENC",
82-
"version": ">=1.5.1",
88+
"version": ">=1.5.3",
8389
"platforms": ["espressif32"]
8490
},
8591
{
@@ -101,7 +107,7 @@
101107
],
102108
"license": "MIT",
103109
"frameworks": "*",
104-
"platforms": ["espressif8266", "espressif32", "ststm32"],
110+
"platforms": ["espressif8266", "espressif32", "ststm32", "raspberrypi", "teensy", "avr"],
105111
"examples": "examples/*/*/*.ino",
106112
"headers": ["AsyncMQTT_Generic.h"]
107113
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AsyncMQTT_Generic
2-
version=1.8.0
2+
version=1.8.1
33
author=Marvin ROGER,Khoi Hoang <khoih.prog@gmail.com>
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
sentence=Arduino Library for ESP8266, ESP32, Portenta_H7, STM32 and RP2040W asynchronous MQTT client implementation

platformio/platformio.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ upload_protocol = picotool
113113
lib_deps =
114114
; PlatformIO 4.x
115115
; AsyncTCP_RP2040W@>=1.1.0
116+
; AsyncWebServer_RP2040W@>=1.4.1
116117

117118
; PlatformIO 5.x
118119
khoih-prog/AsyncTCP_RP2040W@>=1.1.0
120+
khoih-prog/AsyncWebServer_RP2040W@>=1.4.1
119121

120122
; ============================================================
121123
; ============================================================
@@ -185,16 +187,16 @@ lib_deps =
185187
; PlatformIO 4.x
186188
; AsyncTCP@>=1.1.1
187189
; AsyncTCP_SSL@>=1.3.1
188-
; WebServer_ESP32_W5500@>=1.5.1
189-
; WebServer_ESP32_ENC@>=1.5.1
190+
; WebServer_ESP32_W5500@>=1.5.3
191+
; WebServer_ESP32_ENC@>=1.5.3
190192
; ESPAsync_WiFiManager@>=1.15.1
191193

192194
; PlatformIO 5.x
193195
me-no-dev/AsyncTCP@>=1.1.1
194196
khoih-prog/AsyncTCP_SSL@>=1.3.1
195197
khoih-prog/WebServer_WT32_ETH01@>=1.5.1
196-
khoih-prog/WebServer_ESP32_W5500@>=1.5.1
197-
khoih-prog/WebServer_ESP32_ENC@>=1.5.1
198+
khoih-prog/WebServer_ESP32_W5500@>=1.5.3
199+
khoih-prog/WebServer_ESP32_ENC@>=1.5.3
198200
khoih-prog/ESPAsync_WiFiManager@>=1.15.1
199201

200202
; ============================================================

src/AsyncMqttClient_Generic.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.8.0
13-
12+
Version: 1.8.1
13+
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
1616
1.0.0 K Hoang 10/03/2022 Initial coding to support only ESP32 (with SSL) and ESP8266 (without SSL)
@@ -25,6 +25,7 @@
2525
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
2626
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
2727
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
28+
1.8.1 K Hoang 28/01/2023 Add AsyncWebServer_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#pragma once
@@ -43,15 +44,15 @@
4344

4445
/////////////////////////////////////////////////////////
4546

46-
#define ASYNC_MQTT_GENERIC_SHORT_VERSION "AsyncMQTT_Generic v1.8.0"
47+
#define ASYNC_MQTT_GENERIC_SHORT_VERSION "AsyncMQTT_Generic v1.8.1"
4748

4849
/////////////////////////////////////////////////////////
4950

5051
#define ASYNC_MQTT_GENERIC_VERSION_MAJOR 1
5152
#define ASYNC_MQTT_GENERIC_VERSION_MINOR 8
52-
#define ASYNC_MQTT_GENERIC_VERSION_PATCH 0
53+
#define ASYNC_MQTT_GENERIC_VERSION_PATCH 1
5354

54-
#define ASYNC_MQTT_GENERIC_VERSION_INT 1008000
55+
#define ASYNC_MQTT_GENERIC_VERSION_INT 1008001
5556

5657
/////////////////////////////////////////////////////////
5758

src/AsyncMqttClient_Generic_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.8.0
12+
Version: 1.8.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
2626
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
2727
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
28+
1.8.1 K Hoang 28/01/2023 Add AsyncWebServer_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#pragma once

src/AsyncMqttClient_Generic_Impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.8.0
12+
Version: 1.8.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
2626
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
2727
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
28+
1.8.1 K Hoang 28/01/2023 Add AsyncWebServer_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#pragma once

src/AsyncMqtt_Generic.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.8.0
12+
Version: 1.8.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -25,6 +25,7 @@
2525
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
2626
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
2727
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
28+
1.8.1 K Hoang 28/01/2023 Add AsyncWebServer_MQTT and AsyncWebServer_MQTT_RP2040W examples
2829
*****************************************************************************************************************************/
2930

3031
#pragma once

0 commit comments

Comments
 (0)