|
|
@ -343,7 +343,10 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Log.Info("cloud disconnect");
|
|
|
|
Log.Info("cloud disconnect");
|
|
|
|
Connected = false;
|
|
|
|
Connected = false;
|
|
|
|
|
|
|
|
if (AutoReConnect)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Connect();
|
|
|
|
|
|
|
|
}
|
|
|
|
return Task.CompletedTask;
|
|
|
|
return Task.CompletedTask;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|