How to reconnect manually to mqtt if it disconnect?

There is away to implement a custom implementation to reconnect if the client disconnect

Hi Kevin,

The article provides info about handling MQTT client reconnects effectively. If you have any further questions or need additional assistance with the implementation, please feel free to ask.

If you encounter any difficulties during implementation, please don’t hesitate to share your project repository with us.

Best,
Dasha from the HiveMQ Team