im building my own home automation, and im using arduino to measure the elements in the environment and send the results to computer(using bluetooth) for datalogging. im using Gobetwino on the PC, now the thing is- when arduino is being shut down and then turned on after a while(say power failure...) the connection is not being resumed unless i restart Gobetwino, which is a major problem.
so my question is - how do i ressurect the connection after failure?