Mikael Kanstrup df455d2a5f Add client force reconnect function
esp-mqtt library is unaware of underlying network connectivity states
and current auto reconnect mechanism is built around timed retry
attempts every MQTT_RECONNECT_TIMEOUT_MS.

As application code usually keeps track of network connectity state
export a new function that application can use to request a forced
reconnect attempt as soon as connected to the network.
2019-02-04 08:44:55 +01:00
2018-02-16 02:40:16 +07:00
2016-09-11 10:16:33 +07:00

Twitter Follow GitHub contributors

ESP32 MQTT Library

Features

  • Based on: https://github.com/tuanpmt/esp_mqtt
  • Support MQTT over TCP, SSL with mbedtls, MQTT over Websocket, MQTT over Websocket Secure
  • Easy to setup with URI
  • Multiple instances (Multiple clients in one application)
  • Support subscribing, publishing, authentication, will messages, keep alive pings and all 3 QoS levels (it should be a fully functional client).

How to use

ESP-MQTT is a standard ESP-IDF component. Please refer to instructions in ESP-IDF

Documentation

Please refer to the standard ESP-IDF documentation here https://github.com/espressif/esp-idf/blob/master/docs/en/api-reference/protocols/mqtt.rst

License

S
Description
ESP32 mqtt component
Readme Apache-2.0
2.6 MiB
Languages
C 96.5%
C++ 1.7%
Shell 1.1%
CMake 0.7%