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

Commit f848a40

Browse files
authored
v1.8.0 for ESP32 with W5500 and ENC28J60
### Releases v1.8.0 1. Add support to ESP32 boards using `LwIP W5500 Ethernet` 2. Add support to ESP32 boards using `LwIP ENC28J60 Ethernet` 3. Use `allman astyle` and add `utils`. Restyle the library
1 parent 655e866 commit f848a40

9 files changed

+259
-51
lines changed

README.md

Lines changed: 212 additions & 38 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
## Table of Contents
1818

1919
* [Changelog](#changelog)
20+
* [Releases v1.8.0](#releases-v180)
2021
* [Releases v1.7.0](#releases-v170)
2122
* [Releases v1.6.1](#releases-v161)
2223
* [Releases v1.6.0](#releases-v160)
@@ -34,6 +35,12 @@
3435

3536
## Changelog
3637

38+
### Releases v1.8.0
39+
40+
1. Add support to ESP32 boards using `LwIP W5500 Ethernet`
41+
2. Add support to ESP32 boards using `LwIP ENC28J60 Ethernet`
42+
3. Use `allman astyle` and add `utils`. Restyle the library
43+
3744
### Releases v1.7.0
3845

3946
1. Fix ESP32 compile error. Check [Missing default case in switch causes #10](https://github.com/khoih-prog/AsyncMQTT_Generic/issues/10)

library.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "AsyncMQTT_Generic",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
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",
5-
"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), 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",
5+
"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":
77
[
88
{
@@ -70,6 +70,18 @@
7070
"version": ">=1.5.1",
7171
"platforms": ["espressif32"]
7272
},
73+
{
74+
"owner": "khoih-prog",
75+
"name": "WebServer_ESP32_W5500",
76+
"version": ">=1.5.1",
77+
"platforms": ["espressif32"]
78+
},
79+
{
80+
"owner": "khoih-prog",
81+
"name": "WebServer_ESP32_ENC",
82+
"version": ">=1.5.1",
83+
"platforms": ["espressif32"]
84+
},
7385
{
7486
"owner": "stm32duino",
7587
"name": "STM32duino LwIP",

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name=AsyncMQTT_Generic
2-
version=1.7.0
2+
version=1.8.0
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
6-
paragraph=This library, ported to support ESP32, WT32_ETH01 (ESP32 + LAN8720), 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
6+
paragraph=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
77
category=Communication
88
url=https://github.com/khoih-prog/AsyncMQTT_Generic
99
architectures=*
1010
license=MIT
11-
depends=AsyncTCP_SSL, WebServer_WT32_ETH01, Portenta_H7_AsyncTCP, STM32duino LwIP, STM32duino STM32Ethernet, Teensy41_AsyncTCP, AsyncTCP_RP2040W
11+
depends=AsyncTCP_SSL, WebServer_WT32_ETH01, WebServer_ESP32_W5500, WebServer_ESP32_ENC, Portenta_H7_AsyncTCP, STM32duino LwIP, STM32duino STM32Ethernet, Teensy41_AsyncTCP, AsyncTCP_RP2040W
1212
includes=AsyncMQTT_Generic.h

platformio/platformio.ini

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ framework = arduino
127127
lib_deps =
128128
; PlatformIO 4.x
129129
; https://github.com/khoih-prog/ESPAsyncTCP.git
130+
; ESPAsync_WiFiManager@>=1.15.1
130131
; PlatformIO 5.x
131132
https://github.com/khoih-prog/ESPAsyncTCP.git
133+
khoih-prog/ESPAsync_WiFiManager@>=1.15.1
132134

133135
; ============================================================
134136
; Board configuration
@@ -182,10 +184,19 @@ framework = arduino
182184
lib_deps =
183185
; PlatformIO 4.x
184186
; AsyncTCP@>=1.1.1
187+
; AsyncTCP_SSL@>=1.3.1
188+
; WebServer_ESP32_W5500@>=1.5.1
189+
; WebServer_ESP32_ENC@>=1.5.1
190+
; ESPAsync_WiFiManager@>=1.15.1
185191

186192
; PlatformIO 5.x
187193
me-no-dev/AsyncTCP@>=1.1.1
188-
194+
khoih-prog/AsyncTCP_SSL@>=1.3.1
195+
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/ESPAsync_WiFiManager@>=1.15.1
199+
189200
; ============================================================
190201
; Board configuration
191202
; choose your board by uncommenting one of the following lines

src/AsyncMqttClient_Generic.hpp

Lines changed: 5 additions & 4 deletions
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.7.0
12+
Version: 1.8.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
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
27+
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
2728
*****************************************************************************************************************************/
2829

2930
#pragma once
@@ -42,15 +43,15 @@
4243

4344
/////////////////////////////////////////////////////////
4445

45-
#define ASYNC_MQTT_GENERIC_SHORT_VERSION "AsyncMQTT_Generic v1.7.0"
46+
#define ASYNC_MQTT_GENERIC_SHORT_VERSION "AsyncMQTT_Generic v1.8.0"
4647

4748
/////////////////////////////////////////////////////////
4849

4950
#define ASYNC_MQTT_GENERIC_VERSION_MAJOR 1
50-
#define ASYNC_MQTT_GENERIC_VERSION_MINOR 7
51+
#define ASYNC_MQTT_GENERIC_VERSION_MINOR 8
5152
#define ASYNC_MQTT_GENERIC_VERSION_PATCH 0
5253

53-
#define ASYNC_MQTT_GENERIC_VERSION_INT 1007000
54+
#define ASYNC_MQTT_GENERIC_VERSION_INT 1008000
5455

5556
/////////////////////////////////////////////////////////
5657

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.7.0
12+
Version: 1.8.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
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
27+
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
2728
*****************************************************************************************************************************/
2829

2930
#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.7.0
12+
Version: 1.8.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
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
27+
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
2728
*****************************************************************************************************************************/
2829

2930
#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.7.0
12+
Version: 1.8.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -24,6 +24,7 @@
2424
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
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
27+
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
2728
*****************************************************************************************************************************/
2829

2930
#pragma once

0 commit comments

Comments
 (0)