LuisMelendez / backport-android-bluetooth

Automatically exported from code.google.com/p/backport-android-bluetooth
0 stars 0 forks source link

How to determine a connection lost #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect to a remove device
2. Disconnect remote device from power

What is the expected output? What do you see instead?

The currently open socket should indicate a connect loss, but nothing
happens at all. When I disconnect the remote device by a disconnect command
rather than just remove them from power then it works and the socket throws
an expected exception. But why not when the remote device disappears by a
power loss?

What version of the product are you using? On what operating system?
HTC Magic with Android 1.6

Please provide any additional information below.

regards

spachner

Original issue reported on code.google.com by stefanpa...@googlemail.com on 24 Mar 2010 at 2:50