monstrenyatko / ArduinoMqtt

MQTT client for Arduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `connected` API to `MqttClient::Network` interface

monstrenyatko opened this issue · comments

Need to add the callback method to detect the network disconnection.
It should speed up the identification of MQTT connection failure.
The keepalive mechanism might be too slow.

The Arduino::Client::connected API could be used to get the network connection status.