Bluetooth connection times out

FFMan

Member
Licensed User
Longtime User
I have a serial bluetooth connection going between PC and Android Nexus which works fine, but after a while (of inactivity ?) the connection is dropped and java reports it has timed out.

Is this due to inactivity, and if so can i increase the timeout or prevent it ?
 

FFMan

Member
Licensed User
Longtime User
sending data on a regular basis stops the timeout. i had a session of over an hour in testing so this is easily worked around. the sender sends a heartbeat packet anyway so it won't be a problem when fitted to my project.

thanks
 
Upvote 0
Top