mqttReConnect static method
Implementation
static bool mqttReConnect() {
bool isConnected = BytedeskMqtt().isConnected();
if (!isConnected) {
BytedeskMqtt().connect();
return true;
}
return false;
}
static bool mqttReConnect() {
bool isConnected = BytedeskMqtt().isConnected();
if (!isConnected) {
BytedeskMqtt().connect();
return true;
}
return false;
}