akexorcist / BluetoothSPPLibrary

[UNMAINTAINED][Android] Bluetooth Serial Port Profile which comfortable to developer application to communication with microcontroller via bluetooth
Apache License 2.0
1.7k stars 570 forks source link

java.io.IOException: bt socket closed, read return: -1 #79

Open swallowsonny opened 7 years ago

swallowsonny commented 7 years ago

java.io.IOException: bt socket closed, read return: -1

vidyajejurkar commented 7 years ago

@swallowsonny :And also not able to connect right na? I am facing same problem :-(

swallowsonny commented 7 years ago

@vidyajejurkar 连接成功后,发送数据后,出现了这个问题,蓝牙断开连接了,不知道什么原因

faken commented 7 years ago

+1

songliao-branch commented 6 years ago

Same problem here, believe something happened with the InputStream

kashyapasrc commented 6 years ago

Facing same issue. Any solution please.

JoaoMarques95 commented 4 years ago

I´m in the same situation, there is any solution to it?

kashyapasrc commented 4 years ago

Turn off and Turn on your Bluetooth device programmatically to fix this issue.