-
Notifications
You must be signed in to change notification settings - Fork 453
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
Connect error, cant connect to device #146
Comments
@awaisjamil-vd did you find any solution for this? |
Nope, I had to write whole bluetooth module in native android and then used it with flutter. |
Oh, okay. Can you share some sample or something which could help ease the integration for me and others as well. |
class BluetoothChatUtils {
} |
@awaisjamil-vd thanks. |
have you update this? |
no. I haven't. |
Hi @awaisjamil-vd, I would like to know an example of flutter application. I'm looking forward to hearing from you. |
Hi @awaisjamil-vd , is it possible for you to share an example of how you are using the andriod library with flutter? |
Hi @awaisjamil-vd , Can you share the flutter integration? it will be helpful for many. Thanks |
Hi @awaisjamil-vd , Can you please tell me what was the occurance rate of this issue using this library? After integrating your library was this issue completely resolved for you? Thanks |
@sasikdar, @amiruljack , @BrenoNaSa is this issue resolved for you? |
no. |
I did not check if there are new fixes. But it did not work for me. I ended up using Flutter_nearby. There is a similar package from Huwaeii too :-) |
@amiruljack okay. |
@sasikdar okay. |
@sasikdar were you able to solve this connection issue using this flutter_nearby package? |
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:970)
at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:984)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:536)
at io.github.edufolly.flutterbluetoothserial.BluetoothConnection.connect(BluetoothConnection.java:57)
at io.github.edufolly.flutterbluetoothserial.BluetoothConnection.connect(BluetoothConnection.java:64)
at io.github.edufolly.flutterbluetoothserial.FlutterBluetoothSerialPlugin$FlutterBluetoothSerialMethodCallHandler.lambda$onMethodCall$4$FlutterBluetoothSerialPlugin$FlutterBluetoothSerialMethodCallHandler(FlutterBluetoothSerialPlugin.java:1007)
at io.github.edufolly.flutterbluetoothserial.-$$Lambda$FlutterBluetoothSerialPlugin$FlutterBluetoothSerialMethodCallHandler$Q4kMxByjf_xgX66iy8HZNeJ0z8I.run(Unknown Source:10)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
The text was updated successfully, but these errors were encountered: