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

Commit 58343bc

Browse files
authored
v1.0.1 to optimize library, etc.
### Releases v1.0.1 1. Fix Library Manager warnings 2. Suppress all compiler warnings 3. Optimize library code by using `reference-passing` instead of `value-passing`
1 parent a2db21c commit 58343bc

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

+148
-64
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ Please check [API documentation](https://github.com/khoih-prog/AsyncMQTT_Generic
300300

301301
#### 1. File [FullyFeaturedSSL_ESP32.ino](examples/ESP32/FullyFeaturedSSL_ESP32/FullyFeaturedSSL_ESP32.ino)
302302

303-
https://github.com/khoih-prog/AsyncMQTT_Generic/blob/61ead13f2192fb3a21c4f8c26692642799382276/examples/ESP32/FullyFeaturedSSL_ESP32/FullyFeaturedSSL_ESP32.ino#L13-L220
303+
https://github.com/khoih-prog/AsyncMQTT_Generic/blob/a2db21ca2e68487560c0718529e5e83dee4d6b3f/examples/ESP32/FullyFeaturedSSL_ESP32/FullyFeaturedSSL_ESP32.ino#L13-L225
304304

305305

306306

307307
#### 2. File [defines.h](examples/ESP32/FullyFeaturedSSL_ESP32/defines.h)
308308

309-
https://github.com/khoih-prog/AsyncMQTT_Generic/blob/61ead13f2192fb3a21c4f8c26692642799382276/examples/ESP32/FullyFeaturedSSL_ESP32/defines.h#L12-L20
309+
https://github.com/khoih-prog/AsyncMQTT_Generic/blob/a2db21ca2e68487560c0718529e5e83dee4d6b3f/examples/ESP32/FullyFeaturedSSL_ESP32/defines.h#L12-L20
310310

311311

312312
---
@@ -320,7 +320,7 @@ This is terminal debug output when running [FullyFeature_ESP8266](examples/ESP82
320320

321321
```
322322
Starting FullyFeature_ESP8266 on ESP8266_NODEMCU_ESP12E
323-
AsyncMQTT_Generic v1.0.0 for ESP8266
323+
AsyncMQTT_Generic v1.0.1 for ESP8266
324324
Connecting to Wi-Fi...
325325
Connected to Wi-Fi. IP address: 192.168.2.82
326326
Connecting to MQTT...
@@ -382,7 +382,7 @@ This is terminal debug output when running [FullyFeature_ESP32](examples/ESP32/F
382382

383383
```
384384
Starting FullyFeature_ESP32 on ESP32_DEV
385-
AsyncMQTT_Generic v1.0.0 for ESP32 core v2.0.0+
385+
AsyncMQTT_Generic v1.0.1 for ESP32 core v2.0.0+
386386
Connecting to Wi-Fi...
387387
WiFi ready
388388
WiFi STA starting
@@ -448,7 +448,7 @@ This is terminal debug output when running [FullyFeatureSSL_ESP32](examples/ESP3
448448

449449
```
450450
Starting FullyFeatureSSL_ESP32 on ESP32_DEV
451-
AsyncMQTT_Generic v1.0.0 for ESP32 core v2.0.0+
451+
AsyncMQTT_Generic v1.0.1 for ESP32 core v2.0.0+
452452
Connecting to Wi-Fi...
453453
WiFi ready
454454
WiFi STA starting
@@ -515,7 +515,7 @@ This is terminal debug output when running [FullyFeatureSSL_ESP32](examples/ESP3
515515

516516
```
517517
Starting FullyFeatureSSL_ESP32 on ESP32_DEV
518-
AsyncMQTT_Generic v1.0.0 for ESP32 core v2.0.0+
518+
AsyncMQTT_Generic v1.0.1 for ESP32 core v2.0.0+
519519
Connecting to Wi-Fi...
520520
WiFi ready
521521
WiFi STA starting

changelog.md

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

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

1617
---
1718
---
1819

1920
## Changelog
2021

22+
### Releases v1.0.1
23+
24+
1. Fix Library Manager warnings
25+
2. Suppress all compiler warnings
26+
3. Optimize library code by using `reference-passing` instead of `value-passing`
27+
2128
### Initial Releases v1.0.0
2229

2330
1. Initial porting and coding to support **ESP32 (SSL and non-SSL) and ESP8266 (non-SSL)**

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AsyncMQTT_Generic",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"keywords": "communication, iot, home, automation, async, async-tcp, async-tcl-ssl, mqtt, client, esp8266, esp32, stm32, portenta-h7",
55
"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",
66
"authors":
@@ -24,7 +24,7 @@
2424
"dependencies":
2525
[
2626
{
27-
"name": "ESPAsyncTCP",
27+
"name": "ESP AsyncTCP",
2828
"version": ">=1.2.2",
2929
"platforms": "espressif8266"
3030
},

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AsyncMQTT_Generic
2-
version=1.0.0
2+
version=1.0.1
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
@@ -8,5 +8,5 @@ category=Communication
88
url=https://github.com/khoih-prog/AsyncMQTT_Generic
99
architectures=*
1010
license=MIT
11-
depends=ESPAsyncTCP, 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, STM32AsyncTCP
1212
includes=AsyncMQTT_Generic.h

src/AsyncMqttClient/Callbacks.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.0
12+
Version: 1.0.1
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)
17+
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
1718
*****************************************************************************************************************************/
1819

1920
#pragma once

src/AsyncMqttClient/DisconnectReasons.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.0
12+
Version: 1.0.1
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)
17+
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
1718
*****************************************************************************************************************************/
1819

1920
#pragma once

src/AsyncMqttClient/Errors.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.0
12+
Version: 1.0.1
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)
17+
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
1718
*****************************************************************************************************************************/
1819

1920
#pragma once

src/AsyncMqttClient/Flags.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.0
12+
Version: 1.0.1
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)
17+
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
1718
*****************************************************************************************************************************/
1819

1920
#pragma once

src/AsyncMqttClient/Helpers.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.0
12+
Version: 1.0.1
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)
17+
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
1718
*****************************************************************************************************************************/
1819

1920
#pragma once

src/AsyncMqttClient/MessageProperties.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/AsyncMqttClient_Generic
1111
12-
Version: 1.0.0
12+
Version: 1.0.1
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)
17+
1.0.1 K Hoang 10/03/2022 Fix Library Manager warnings
1718
*****************************************************************************************************************************/
1819

1920
#pragma once

0 commit comments

Comments
 (0)