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

Commit

Permalink
v1.8.0 for ESP32 with W5500 and ENC28J60
Browse files Browse the repository at this point in the history
### 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
  • Loading branch information
khoih-prog committed Dec 1, 2022
1 parent 655e866 commit f848a40
Show file tree
Hide file tree
Showing 9 changed files with 259 additions and 51 deletions.
250 changes: 212 additions & 38 deletions README.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
## Table of Contents

* [Changelog](#changelog)
* [Releases v1.8.0](#releases-v180)
* [Releases v1.7.0](#releases-v170)
* [Releases v1.6.1](#releases-v161)
* [Releases v1.6.0](#releases-v160)
Expand All @@ -34,6 +35,12 @@

## Changelog

### 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

### Releases v1.7.0

1. Fix ESP32 compile error. Check [Missing default case in switch causes #10](https://github.com/khoih-prog/AsyncMQTT_Generic/issues/10)
Expand Down
16 changes: 14 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "AsyncMQTT_Generic",
"version": "1.7.0",
"version": "1.8.0",
"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",
"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",
"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",
"authors":
[
{
Expand Down Expand Up @@ -70,6 +70,18 @@
"version": ">=1.5.1",
"platforms": ["espressif32"]
},
{
"owner": "khoih-prog",
"name": "WebServer_ESP32_W5500",
"version": ">=1.5.1",
"platforms": ["espressif32"]
},
{
"owner": "khoih-prog",
"name": "WebServer_ESP32_ENC",
"version": ">=1.5.1",
"platforms": ["espressif32"]
},
{
"owner": "stm32duino",
"name": "STM32duino LwIP",
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name=AsyncMQTT_Generic
version=1.7.0
version=1.8.0
author=Marvin ROGER,Khoi Hoang <[email protected]>
maintainer=Khoi Hoang <[email protected]>
sentence=Arduino Library for ESP8266, ESP32, Portenta_H7, STM32 and RP2040W asynchronous MQTT client implementation
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
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
category=Communication
url=https://github.com/khoih-prog/AsyncMQTT_Generic
architectures=*
license=MIT
depends=AsyncTCP_SSL, WebServer_WT32_ETH01, Portenta_H7_AsyncTCP, STM32duino LwIP, STM32duino STM32Ethernet, Teensy41_AsyncTCP, AsyncTCP_RP2040W
depends=AsyncTCP_SSL, WebServer_WT32_ETH01, WebServer_ESP32_W5500, WebServer_ESP32_ENC, Portenta_H7_AsyncTCP, STM32duino LwIP, STM32duino STM32Ethernet, Teensy41_AsyncTCP, AsyncTCP_RP2040W
includes=AsyncMQTT_Generic.h
13 changes: 12 additions & 1 deletion platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ framework = arduino
lib_deps =
; PlatformIO 4.x
; https://github.com/khoih-prog/ESPAsyncTCP.git
; ESPAsync_WiFiManager@>=1.15.1
; PlatformIO 5.x
https://github.com/khoih-prog/ESPAsyncTCP.git
khoih-prog/ESPAsync_WiFiManager@>=1.15.1

; ============================================================
; Board configuration
Expand Down Expand Up @@ -182,10 +184,19 @@ framework = arduino
lib_deps =
; PlatformIO 4.x
; AsyncTCP@>=1.1.1
; AsyncTCP_SSL@>=1.3.1
; WebServer_ESP32_W5500@>=1.5.1
; WebServer_ESP32_ENC@>=1.5.1
; ESPAsync_WiFiManager@>=1.15.1

; PlatformIO 5.x
me-no-dev/AsyncTCP@>=1.1.1

khoih-prog/AsyncTCP_SSL@>=1.3.1
khoih-prog/WebServer_WT32_ETH01@>=1.5.1
khoih-prog/WebServer_ESP32_W5500@>=1.5.1
khoih-prog/WebServer_ESP32_ENC@>=1.5.1
khoih-prog/ESPAsync_WiFiManager@>=1.15.1

; ============================================================
; Board configuration
; choose your board by uncommenting one of the following lines
Expand Down
9 changes: 5 additions & 4 deletions src/AsyncMqttClient_Generic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
*****************************************************************************************************************************/

#pragma once
Expand All @@ -42,15 +43,15 @@

/////////////////////////////////////////////////////////

#define ASYNC_MQTT_GENERIC_SHORT_VERSION "AsyncMQTT_Generic v1.7.0"
#define ASYNC_MQTT_GENERIC_SHORT_VERSION "AsyncMQTT_Generic v1.8.0"

/////////////////////////////////////////////////////////

#define ASYNC_MQTT_GENERIC_VERSION_MAJOR 1
#define ASYNC_MQTT_GENERIC_VERSION_MINOR 7
#define ASYNC_MQTT_GENERIC_VERSION_MINOR 8
#define ASYNC_MQTT_GENERIC_VERSION_PATCH 0

#define ASYNC_MQTT_GENERIC_VERSION_INT 1007000
#define ASYNC_MQTT_GENERIC_VERSION_INT 1008000

/////////////////////////////////////////////////////////

Expand Down
3 changes: 2 additions & 1 deletion src/AsyncMqttClient_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncMqttClient_Generic_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncMqtt_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 14/08/2022 Add support to RP2040W with CYW43439 WiFi using arduino-pico core
1.6.1 K Hoang 17/08/2022 Better workaround for RP2040W WiFi.status() bug using ping() to local gateway
1.7.0 K Hoang 13/09/2022 Fix ESP32 and ESP8266 compile error
1.8.0 K Hoang 30/11/2022 Add support to ESP32 boards using LwIP W5500 or ENC28J60 Ethernet
*****************************************************************************************************************************/

#pragma once
Expand Down

0 comments on commit f848a40

Please sign in to comment.