arduino-mqtt
arduino-mqtt copied to clipboard
MQTT library for Arduino
I have been using this library with both MKR NB1500 and MKR Zero + Ethernet Shield with a lot of success, I am attempting to use a Portenta H7, using...
The `README.md` says to search for "MQTT" to find this in the Arduino IDE's builtin Library Manager. However that will list dozens and dozens of projects that mention "mqtt" in...
Hello, I'm experiencing a bug when mqtt connection is closed (error `LWMQTT_MISSING_OR_WRONG_PACKET`) as soon as external callback is executed. It looks like `WiFiClientSecure` which `arduino-mqtt` uses under the hood, is...
If a client receives a message that is bigger than its receive buffer if will crash and return the error "LWMQTT_BUFFER_TOO_SHORT". For this library the better approach would be to...
I used GMS module sim 800 (client: GSM1) and Ethernet shiled (clinet: net) to conect MQTT, i use fumcion: client.begin(mqtt.sever_mqtt,GSM1); to change client but not works can connect to MQTT
In the code here (https://github.com/256dpi/arduino-mqtt/blob/master/src/MQTTClient.cpp#L333 ) its closing the connection when publish fails. Publish can fail for multiple reasons some temporary and some permanent. In my case the failures are...
When the broker is not avaiable it seems there is no timeout function and the code hangs with this call!?!
Hi When my internet connection lost, my loop function run every 9 seconds because stuck in mqtt connection and publish part of code. why ? and how can pass this...
Hi Joël, May I ask your help. I want to connect to an MQTT broker that needs a username and password. Where in the "mqtt.begin();" function do I put the...
Hello, i'm working with the Arduino MKR NB 1500 board and this MQTT library. The connection is done via TLS and after some optimizations it is more or less working....