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

Commit 83d0a87

Browse files
authored
v1.1.0 to add support to WT32_ETH01
### Releases v1.1.0 1. Add support to **WT32_ETH01 (SSL and non-SSL)** 2. Add examples for `WT32_ETH01`
1 parent 1677e1d commit 83d0a87

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+206
-69
lines changed

README.md

Lines changed: 78 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
* [2. FullyFeaturedSSL_ESP32](examples/ESP32/FullyFeaturedSSL_ESP32)
4141
* [2. For ESP8266](#1-for-ESP8266)
4242
* [1. FullyFeatured_ESP8266](examples/ESP8266/FullyFeatured_ESP8266)
43+
* [3. For WT32_ETH01](#1-for-WT32_ETH01)
44+
* [1. FullyFeatured_WT32_ETH01](examples/WT32_ETH01/FullyFeatured_WT32_ETH01) **New**
45+
* [2. FullyFeaturedSSL_WT32_ETH01](examples/WT32_ETH01/FullyFeaturedSSL_WT32_ETH01) **New**
4346
* [Example FullyFeaturedSSL_ESP32](#example-FullyFeaturedSSL_ESP32)
4447
* [1. File FullyFeaturedSSL_ESP32.ino](#1-file-FullyFeaturedSSL_ESP32ino)
4548
* [2. File defines.h](#2-file-definesh)
@@ -48,6 +51,9 @@
4851
* [ 2. FullyFeature_ESP32 on ESP32_DEV](#2-FullyFeature_ESP32-on-ESP32_DEV)
4952
* [ 3. FullyFeatureSSL_ESP32 on ESP32_DEV](#3-FullyFeatureSSL_ESP32-on-ESP32_DEV)
5053
* [ 4. FullyFeatureSSL_ESP32 on ESP32_DEV with _ASYNC_MQTT_LOGLEVEL_](#4-fullyfeaturessl_esp32-on-esp32_dev-with-async_mqtt_loglevel)
54+
* [ 5. FullyFeatureSSL_WT32_ETH01 on WT32-ETH01 with ETH_PHY_LAN8720](#5-FullyFeatureSSL_WT32_ETH01-on-WT32-ETH01-with-ETH_PHY_LAN8720)
55+
56+
5. FullyFeatureSSL_WT32_ETH01 on WT32-ETH01 with ETH_PHY_LAN8720
5157
* [Debug](#debug)
5258
* [Troubleshooting](#troubleshooting)
5359
* [Issues](#issues)
@@ -91,6 +97,7 @@ This [**AsyncMQTT_Generic** library](https://github.com/khoih-prog/AsyncMQTT_Gen
9197

9298
1. **ESP32**
9399
2. **ESP8266**
100+
3. **WT32_ETH01 (ESP32 + LAN8720A)** from v1.1.0
94101

95102
---
96103

@@ -109,9 +116,7 @@ This [**AsyncMQTT_Generic** library](https://github.com/khoih-prog/AsyncMQTT_Gen
109116
- **Discovery (DISCO_F746NG)**
110117
- **STM32F4 boards (BLACK_F407VE, BLACK_F407VG, BLACK_F407ZE, BLACK_F407ZG, BLACK_F407VE_Mini, DIYMORE_F407VGT, FK407M1)**
111118

112-
3. **WT32_ETH01 (ESP32 + LAN8720A)**
113-
114-
4. **Portenta_H7** using either `Murata WiFi` or `Vision-shield Ethernet`
119+
3. **Portenta_H7** using either `Murata WiFi` or `Vision-shield Ethernet`
115120

116121

117122
---
@@ -125,7 +130,7 @@ This [**AsyncMQTT_Generic** library](https://github.com/khoih-prog/AsyncMQTT_Gen
125130
3. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/).
126131
4. [`Arduino Core for STM32 v2.2.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/stm32duino/Arduino_Core_STM32.svg)](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest). **Not ready yet**
127132
5. [`Arduino mbed_portenta core 2.8.0+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) Portenta_H7-based boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest). **Not ready yet**
128-
6. [`WebServer_WT32_ETH01 library v1.4.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) to use WT32_ETH01 (ESP32 + LAN8720). To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01). **Not ready yet**
133+
6. [`WebServer_WT32_ETH01 library v1.4.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) to use WT32_ETH01 (ESP32 + LAN8720). To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01). **Ready from v1.1.0**
129134

130135
---
131136
---
@@ -292,6 +297,10 @@ Please check [API documentation](https://github.com/khoih-prog/AsyncMQTT_Generic
292297

293298
1. [FullyFeatured_ESP8266](examples/ESP8266/FullyFeatured_ESP8266)
294299

300+
#### 3. For WT32_ETH01
301+
302+
1. [FullyFeatured_WT32_ETH01](examples/WT32_ETH01/FullyFeatured_WT32_ETH01) **New**
303+
2. [FullyFeaturedSSL_WT32_ETH01](examples/WT32_ETH01/FullyFeaturedSSL_WT32_ETH01) **New**
295304

296305
---
297306
---
@@ -320,7 +329,7 @@ This is terminal debug output when running [FullyFeature_ESP8266](examples/ESP82
320329

321330
```
322331
Starting FullyFeature_ESP8266 on ESP8266_NODEMCU_ESP12E
323-
AsyncMQTT_Generic v1.0.1 for ESP8266
332+
AsyncMQTT_Generic v1.1.0 for ESP8266
324333
Connecting to Wi-Fi...
325334
Connected to Wi-Fi. IP address: 192.168.2.82
326335
Connecting to MQTT...
@@ -382,7 +391,7 @@ This is terminal debug output when running [FullyFeature_ESP32](examples/ESP32/F
382391

383392
```
384393
Starting FullyFeature_ESP32 on ESP32_DEV
385-
AsyncMQTT_Generic v1.0.1 for ESP32 core v2.0.0+
394+
AsyncMQTT_Generic v1.1.0 for ESP32 core v2.0.0+
386395
Connecting to Wi-Fi...
387396
WiFi ready
388397
WiFi STA starting
@@ -448,7 +457,7 @@ This is terminal debug output when running [FullyFeatureSSL_ESP32](examples/ESP3
448457

449458
```
450459
Starting FullyFeatureSSL_ESP32 on ESP32_DEV
451-
AsyncMQTT_Generic v1.0.1 for ESP32 core v2.0.0+
460+
AsyncMQTT_Generic v1.1.0 for ESP32 core v2.0.0+
452461
Connecting to Wi-Fi...
453462
WiFi ready
454463
WiFi STA starting
@@ -515,7 +524,7 @@ This is terminal debug output when running [FullyFeatureSSL_ESP32](examples/ESP3
515524

516525
```
517526
Starting FullyFeatureSSL_ESP32 on ESP32_DEV
518-
AsyncMQTT_Generic v1.0.1 for ESP32 core v2.0.0+
527+
AsyncMQTT_Generic v1.1.0 for ESP32 core v2.0.0+
519528
Connecting to Wi-Fi...
520529
WiFi ready
521530
WiFi STA starting
@@ -676,6 +685,64 @@ Publish acknowledged
676685
[AMQTT] PINGRESP
677686
```
678687

688+
---
689+
690+
#### 5. FullyFeatureSSL_WT32_ETH01 on WT32-ETH01 with ETH_PHY_LAN8720
691+
692+
This is terminal debug output when running [FullyFeatureSSL_WT32_ETH01](examples/WT32_ETH01/FullyFeatureSSL_WT32_ETH01) on **WT32-ETH01** connecting to `broker.emqx.io` secured MQTT server (port 8883).
693+
694+
695+
```
696+
Starting FullyFeatureSSL_WT32_ETH01 on WT32-ETH01 with ETH_PHY_LAN8720
697+
WebServer_WT32_ETH01 v1.4.1 for core v2.0.0+
698+
AsyncMQTT_Generic v1.1.0 for ESP32 core v2.0.0+
699+
ETH starting
700+
ETH connected
701+
ETH got IP
702+
IP address: 192.168.2.97
703+
Connecting to MQTT...
704+
Connected to MQTT broker: broker.emqx.io, port: 8883
705+
PubTopic: async-mqtt/WT32_ETH01_SSL_Pub
706+
************************************************
707+
Session present: 0
708+
Subscribing at QoS 2, packetId: 1
709+
Publishing at QoS 0
710+
Publishing at QoS 1, packetId: 2
711+
Publishing at QoS 2, packetId: 3
712+
************************************************
713+
Subscribe acknowledged.
714+
packetId: 1
715+
qos: 2
716+
Publish received.
717+
topic: async-mqtt/WT32_ETH01_SSL_Pub
718+
qos: 0
719+
dup: 0
720+
retain: 0
721+
len: 15
722+
index: 0
723+
total: 15
724+
Publish acknowledged
725+
packetId: 2
726+
Publish received.
727+
topic: async-mqtt/WT32_ETH01_SSL_Pub
728+
qos: 1
729+
dup: 0
730+
retain: 0
731+
len: 6
732+
index: 0
733+
total: 6
734+
Publish received.
735+
topic: async-mqtt/WT32_ETH01_SSL_Pub
736+
qos: 2
737+
dup: 0
738+
retain: 0
739+
len: 6
740+
index: 0
741+
total: 6
742+
Publish acknowledged
743+
packetId: 3
744+
```
745+
679746
---
680747
---
681748

@@ -721,9 +788,9 @@ Submit issues to: [AsyncMQTT_Generic issues](https://github.com/khoih-prog/Async
721788

722789
### DONE
723790

724-
1. Add support to ESP32 (SSL and non-SSL)
725-
2. Add support to ESP8266 (non-SSL).
726-
791+
1. Add support to **ESP32 (SSL and non-SSL)**
792+
2. Add support to **ESP8266 (non-SSL)**
793+
3. Add support to **WT32_ETH01 (SSL and non-SSL)**
727794

728795
---
729796
---

changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
## Table of Contents
1212

1313
* [Changelog](#changelog)
14+
* [Releases v1.1.0](#releases-v110)
1415
* [Releases v1.0.1](#releases-v101)
1516
* [Initial Releases v1.0.0](#Initial-Releases-v100)
1617

@@ -19,6 +20,12 @@
1920

2021
## Changelog
2122

23+
### Releases v1.1.0
24+
25+
1. Add support to **WT32_ETH01 (SSL and non-SSL)**
26+
2. Add examples for `WT32_ETH01`
27+
28+
2229
### Releases v1.0.1
2330

2431
1. Fix Library Manager warnings

library.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "AsyncMQTT_Generic",
3-
"version": "1.0.1",
4-
"keywords": "communication, iot, home, automation, async, async-tcp, async-tcl-ssl, mqtt, client, esp8266, esp32, stm32, portenta-h7",
5-
"description": "Arduino Library for ESP8266, ESP32, Portenta_H7 and STM32 asynchronous MQTT client implementation. This library, ported to support ESP32, WT32_ETH01, ESP8266, Portenta_H7 (Ethernet or WiFi) and STM32 (LAN8742A Ethernet), is currently supporting only ESP32 (SSL and non-SSL), ESP8266 (non-SSL). Support for Portenta_H7 and STM32 will be added gradually",
3+
"version": "1.1.0",
4+
"keywords": "communication, iot, home, automation, async, async-tcp, async-tcp-ssl, async-mqtt, mqtt, async-mqtt-client, esp8266, esp32, stm32, portenta-h7, wt32-eth01, tls",
5+
"description": "Arduino Library for ESP8266, ESP32, Portenta_H7 and STM32 asynchronous MQTT client implementation. This library, ported to support ESP32, WT32_ETH01, ESP8266, Portenta_H7 (Ethernet or WiFi) and STM32 (LAN8742A Ethernet), is currently supporting ESP32, WT32_ETH01 (SSL and non-SSL), ESP8266 (non-SSL). Support for Portenta_H7 and STM32 will be added gradually",
66
"authors":
77
[
88
{
@@ -24,7 +24,7 @@
2424
"dependencies":
2525
[
2626
{
27-
"name": "ESP AsyncTCP",
27+
"name": "ESPAsyncTCP",
2828
"version": ">=1.2.2",
2929
"platforms": "espressif8266"
3030
},
@@ -37,6 +37,22 @@
3737
"name": "AsyncTCP_SSL",
3838
"version": ">=1.2.0",
3939
"platforms": "espressif32"
40+
},
41+
{
42+
"owner": "stm32duino",
43+
"name": "STM32duino LwIP",
44+
"version": "^2.1.2",
45+
"platforms": "ststm32"
46+
},
47+
{
48+
"owner": "stm32duino",
49+
"name": "STM32Ethernet",
50+
"version": "^1.2.0",
51+
"platforms": "ststm32"
52+
},
53+
{
54+
"name": "STM32AsyncTCP",
55+
"version": "https://github.com/khoih-prog/STM32AsyncTCP"
4056
}
4157
],
4258
"license": "MIT",

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.0.1
2+
version=1.1.0
33
author=Marvin ROGER,Khoi Hoang <[email protected]>
44
maintainer=Khoi Hoang <[email protected]>
55
sentence=Arduino Library for ESP8266, ESP32, Portenta_H7 and STM32 asynchronous MQTT client implementation
6-
paragraph=This library, ported to support ESP32, WT32_ETH01, ESP8266, Portenta_H7 (Ethernet or WiFi) and STM32 (LAN8742A Ethernet), is currently supporting only ESP32 (SSL and non-SSL), ESP8266 (non-SSL). Support for Portenta_H7 and STM32 will be added gradually.
6+
paragraph=This library, ported to support ESP32, WT32_ETH01, ESP8266, Portenta_H7 (Ethernet or WiFi) and STM32 (LAN8742A Ethernet), is currently supporting ESP32, WT32_ETH01 (SSL and non-SSL), ESP8266 (non-SSL). Support for Portenta_H7 and STM32 will be added gradually.
77
category=Communication
88
url=https://github.com/khoih-prog/AsyncMQTT_Generic
99
architectures=*
1010
license=MIT
11-
depends=ESP AsyncTCP, AsyncTCP, AsyncTCP_SSL, WebServer_WT32_ETH01, Portenta_H7_AsyncTCP, STM32duino LwIP, STM32duino STM32Ethernet, STM32AsyncTCP
11+
depends=ESP AsyncTCP, AsyncTCP, AsyncTCP_SSL, WebServer_WT32_ETH01, Portenta_H7_AsyncTCP, STM32duino LwIP, STM32duino STM32Ethernet
1212
includes=AsyncMQTT_Generic.h

src/AsyncMqttClient/Callbacks.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.1
12+
Version: 1.1.0
1313
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)
1717
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
18+
1.1.0 K Hoang 11/03/2022 Add support to WT32_ETH01 (with or without TLS/SSL)
1819
*****************************************************************************************************************************/
1920

2021
#pragma once

src/AsyncMqttClient/DisconnectReasons.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.1
12+
Version: 1.1.0
1313
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)
1717
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
18+
1.1.0 K Hoang 11/03/2022 Add support to WT32_ETH01 (with or without TLS/SSL)
1819
*****************************************************************************************************************************/
1920

2021
#pragma once

src/AsyncMqttClient/Errors.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.1
12+
Version: 1.1.0
1313
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)
1717
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
18+
1.1.0 K Hoang 11/03/2022 Add support to WT32_ETH01 (with or without TLS/SSL)
1819
*****************************************************************************************************************************/
1920

2021
#pragma once

src/AsyncMqttClient/Flags.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.1
12+
Version: 1.1.0
1313
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)
1717
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
18+
1.1.0 K Hoang 11/03/2022 Add support to WT32_ETH01 (with or without TLS/SSL)
1819
*****************************************************************************************************************************/
1920

2021
#pragma once

src/AsyncMqttClient/Helpers.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.1
12+
Version: 1.1.0
1313
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)
1717
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
18+
1.1.0 K Hoang 11/03/2022 Add support to WT32_ETH01 (with or without TLS/SSL)
1819
*****************************************************************************************************************************/
1920

2021
#pragma once

src/AsyncMqttClient/MessageProperties.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.1
12+
Version: 1.1.0
1313
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)
1717
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
18+
1.1.0 K Hoang 11/03/2022 Add support to WT32_ETH01 (with or without TLS/SSL)
1819
*****************************************************************************************************************************/
1920

2021
#pragma once

0 commit comments

Comments
 (0)