Restoring a serial connection

AlpVir

Well-Known Member
Licensed User
Longtime User
After establishing a serial connection (eg an external antenna Bluetooth) if the antenna is turned "off" and then "on" the connection is no longer valid and I am no longer able to receive data.
How to find the end of the connection and how to restore ?
For example, I refer to post "GPS - via Bluetooth; decode NMEA strings and convert to LOCAL datum" by blong and "Android Serial tutorial" by Erel.
Thanks in advance
 
Top