Android Question When does Serial_Connected (Success as boolean) fire?

DIYRicey

New Member
I am trying to connect to a Bluetooth device. I can connect OK! Success gets True and all is well.
But I don't understand what happens if I choose a device to connect to that is not available i.e. I have connected to it before, it's on my device's list of previous connections, but it's now off or out of range. I kind of expected some timeout and Success to be cleared False, but this doesn't seem to happen. What does happen? How should I catch the error?
 

DIYRicey

New Member
Thanks for quick reply! On more patient investigation I find it takes about 20 seconds for my system to timeout and raise Connected (False).
 
Upvote 0
Top