WLED/wled00/src/dependencies/async-mqtt-client
Louis Beaudoin b460d0f533
Fix Warnings (#1744)
* Remove -w (Suppress all warnings, including those which GNU CPP issues by default.) and add back in -Wall (Turn on all optional warnings which are desirable for normal code.) from build_flags

* Fixes warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

* Fixes warning: "CONFIG_LITTLEFS_FOR_IDF_3_2" redefined

* Fixes warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]

* Fixes warning: enumeration value 'onoff' not handled in switch [-Wswitch]

* Fixes warning: "ntohl" redefined, warning: "ntohs" redefined, warning: "htonl" redefined, warning: "htons" redefined
- Original fix: 858f8f4ee9

* Fixes warning: unused variable 'mainSeg' [-Wunused-variable]

* Fixes warning: unused variable 'start' [-Wunused-variable]

* (untested!) Fixes warning: operation on '...' may be undefined [-Wsequence-point]

* Fixes warning: unused variable

* Fixes warning: unused variable and warning: narrowing conversion

* Fixes warning: unused variable

* Fixes warning: unused variable

* (untested!) Fixes warning: statement has no effect [-Wunused-value]

* Fixes warning: control reaches end of non-void function

* Fixes warning: unused variable

* Fixes warning: left operand of comma operator has no effect

* Fixes warning: no return statement in function returning non-void

* (untested!) Fixes warning: ISO C++ forbids converting a string constant to 'char*' and fixes warning: unused variable 'nPins'

* Fixes warning: deleting array 'dmxData'

* Fixes warning: unused variable

* Remove all warning suppression buildflags

Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-27 00:20:31 +01:00
..
AsyncMqttClient Switched from PubSubClient to AsyncMqttClient 2019-02-17 19:21:09 +01:00
AsyncMqttClient.cpp Fix Warnings (#1744) 2021-02-27 00:20:31 +01:00
AsyncMqttClient.h Switched from PubSubClient to AsyncMqttClient 2019-02-17 19:21:09 +01:00
AsyncMqttClient.hpp Update MQTT library 2019-10-20 12:48:29 +02:00
LICENSE Switched from PubSubClient to AsyncMqttClient 2019-02-17 19:21:09 +01:00
README.md Switched from PubSubClient to AsyncMqttClient 2019-02-17 19:21:09 +01:00

Async MQTT client for ESP8266 and ESP32 (Github: https://github.com/marvinroger/async-mqtt-client)

Build Status

An Arduino for ESP8266 and ESP32 asynchronous MQTT client implementation, built on me-no-dev/ESPAsyncTCP (ESP8266) | me-no-dev/AsyncTCP (ESP32) .

Features

  • Compliant with the 3.1.1 version of the protocol
  • Fully asynchronous
  • Subscribe at QoS 0, 1 and 2
  • Publish at QoS 0, 1 and 2
  • SSL/TLS support
  • Available in the PlatformIO registry

Requirements, installation and usage

The project is documented in the /docs folder.