Jayutmb
USA
Asked
— Edited
Resolved by Dunning-Kruger!
What is the quickest way to set up the EZb to re-connect automatically if connection is lost when it is the host going right to my laptop?
Have a script running in the background (in a loop) checking the connection status with the command IsConnected()... if IsConnected() comes back false then use the ControlCommand Connect() to reconnect...
Check a script for these commands
This is a bit sloppy but I threw it together just now. Between Rich and this, you should be able to see what is happening. I would put in a monitor script that monitors connection status and other things like maybe temp or whatever else you decide is necessary. Then call this script (or richards) from the monitor script that can loop multiple times.
thx guys always a help
Even simpler...
That should loop forever, check every ten seconds if it's connected, if it isn't it will attempt to connect every second until connected. It should connect within a second if able to, you can reduce the ten second checks to 5 seconds or even every second if you wish. The more frequent the checks the more processing power it'll take though.