F FFMan Member Licensed User Longtime User Sep 30, 2011 #1 I'm using Sub Serial1_Connected (Success As Boolean) If Success Then to detect a successful connect. Is there a way of detecting the loss of link so the program can attempt a reconnect ? thanks
I'm using Sub Serial1_Connected (Success As Boolean) If Success Then to detect a successful connect. Is there a way of detecting the loss of link so the program can attempt a reconnect ? thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2011 #2 If you are using AsyncStreams then the Error event or Terminated event should be raised when the connection is lost. You can also send a "heartbeat" every ten seconds to make sure that the connection is still alive. Upvote 0
If you are using AsyncStreams then the Error event or Terminated event should be raised when the connection is lost. You can also send a "heartbeat" every ten seconds to make sure that the connection is still alive.