cloud 断线重连

master
lxw 6 months ago
parent 4568ec8aaa
commit cc18e938d4

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

Loading…
Cancel
Save