Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while connecting bluetooth #16

Closed
dharmita1990 opened this issue Jan 31, 2019 · 1 comment
Closed

Error while connecting bluetooth #16

dharmita1990 opened this issue Jan 31, 2019 · 1 comment

Comments

@dharmita1990
Copy link

dharmita1990 commented Jan 31, 2019

While connecting Bluetooth with other device getting following error:

getBluetoothService() called with no BluetoothManagerCallback
D/FlutterBluePlugin(29010): android.bluetooth.device.action.ACL_CONNECTED
E/FlutterBluePlugin(29010): read failed, socket might closed or timeout, read ret: -1
E/FlutterBluePlugin(29010): java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/FlutterBluePlugin(29010): at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:686)
E/FlutterBluePlugin(29010): at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:698)
E/FlutterBluePlugin(29010): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:375)
E/FlutterBluePlugin(29010): at io.github.edufolly.flutterbluetoothserial.FlutterBluetoothSerialPlugin.lambda$connect$0(FlutterBluetoothSerialPlugin.java:278)

@vguttmann
Copy link

What did you do to fix it? Where did you have an error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants