In my application i want to receive bluetooth data at 1.15kbps baud
rate, which i am sending from a remote bluetooth adaptor. I am using
bluetooth chat demo application for this purpose. after receiving the
few frames of data my application throws the following exception:
java.io.IOException: socket closed 06-08 16:23:04.700: WARN/
System.err(8102): at
android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:306) 06-08
16:23:04.700: WARN/System.err(8102): at
android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:
96) 06-08 16:23:04.700: WARN/System.err(8102): at
java.io.InputStream.read(InputStream.java:158) 06-08 16:23:04.700:
WARN/System.err(8102): at
com.example.android.ECGPlotter.BluetoothChatService
$ConnectedThread.run(BluetoothChatService.java:438)

It gives an exception when i tries to read data from connected socket
input stream. My application works fine when i send data at 9600 bps
from remote device. Any idea, what is wrong with my application??

Regards, RAIJ1

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to