You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all thank you for creating and sharing this library.
I'm facing a problem using the arduino-mqtt library in combination with SSLClient and WiFi.h WiFiClient to connect to a HiveMQ server.
The goal is to get a reliable reconnection setup of the client going using Arduino's Connection Handler to detect network disconnects.
When starting the application I can publish messages without any issues. The frequency of published messages is once every two seconds, and the MQTT QoS is set to 1. As soon as the WiFi connection is lost, one of four things occur, seemingly random:
The client keeps trying to publish messages, and reports a publish success.
The client keeps trying to publish a message and reports a publish failure.
The board stops responding to input and also doesn't print Serial outputs anymore.
The connection handler recognizes the network disconnect and I stop trying to publish messages until the connection has been reestablished.
The development board in use is a Arduino Portenta H7.
I created a minimal (working) example for the Arduino IDE:
Hi, first of all thank you for creating and sharing this library.
I'm facing a problem using the arduino-mqtt library in combination with SSLClient and WiFi.h WiFiClient to connect to a HiveMQ server.
The goal is to get a reliable reconnection setup of the client going using Arduino's Connection Handler to detect network disconnects.
When starting the application I can publish messages without any issues. The frequency of published messages is once every two seconds, and the MQTT QoS is set to 1. As soon as the WiFi connection is lost, one of four things occur, seemingly random:
The development board in use is a Arduino Portenta H7.
I created a minimal (working) example for the Arduino IDE:
Hope someone can help me figure this out :)
The text was updated successfully, but these errors were encountered: