arduino-mqtt
arduino-mqtt copied to clipboard
MQTT library for Arduino
Hi, I'm using an ESP32 board, and when I subscribe to multiple topics, only a few subscription methods return a result, while the rest seem to get stuck in a...
I've got some sensors generating floating point and integer data. I'd like to send this over MQTT, and ideally without converting back and forth to the Ascii. The docs have...
Example for ESP8266 - just WiFi library has different name
Hi, first of all thanks for the great lib. I'm trying to find a way to check if the received message have the Retained Flag set. In other words i...
Added a method to set the maximum data length to be written into the network buffer in segments, as well as a method to set the delay between each successive...
``` void fetchDeviceData() { WiFiSSLClient ssl_client; // Define GET url const char* serverName = "xd6v8fwy40.execute-api.eu-north-1.amazonaws.com"; const char* resourcePath = "/prod?thermostat_id="; if (WiFi.status() == WL_CONNECTED) { Serial.println("\nStarting connection to server..."); if...
Sending a large payload, 2162 bytes as an example, disconnects the client immediately and reports `-6` as an error, which corresponds to: ```c++ LWMQTT_NETWORK_FAILED_WRITE = -6 ``` Edit: The buffer...
Hello, Could you please add a secure exemple for Arduino MKR NB 1500 ? Thanks
Added subscribeMultiple and unsubscribeMultiple
I encountered an issue when using the MQTT library. When sending data twice quickly to the cloud, the WIFIESP failed to respond during reading; it neither returned -1 nor provided...