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

PlatformException(connect_error, java.io.IOException: gatt status 255, java.io.IOException: java.io.IOException: gatt status 255 #218

Open
mnasirbaloch opened this issue Jul 12, 2024 · 0 comments

Comments

@mnasirbaloch
Copy link

PlatformException(connect_error, java.io.IOException: gatt status 255, java.io.IOException: java.io.IOException: gatt status 255
at io.github.edufolly.flutterbluetoothserial.le.BluetoothConnectionLE.connect(BluetoothConnectionLE.java:103)
at io.github.edufolly.flutterbluetoothserial.FlutterBluetoothSerialPlugin$FlutterBluetoothSerialMethodCallHandler.lambda$onMethodCall$4$io-github-edufolly-flutterbluetoothserial-FlutterBluetoothSerialPlugin$FlutterBluetoothSerialMethodCallHandler(FlutterBluetoothSerialPlugin.java:1018)
at io.github.edufolly.flutterbluetoothserial.FlutterBluetoothSerialPlugin$FlutterBluetoothSerialMethodCallHandler$$ExternalSyntheticLambda9.run(Unknown Source:10)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.io.IOException: gatt status 255
at io.github.edufolly.flutterbluetoothserial.le.SerialSocket.onConnectionStateChange(SerialSocket.java:205)
at android.bluetooth.BluetoothGatt$1$4.run(BluetoothGatt.java:281)
at android.bluetooth.BluetoothGatt.runOrQueueCallback(BluetoothGatt.java:823)
at android.bluetooth.BluetoothGatt.access$200(BluetoothGatt.java:47)
at android.bluetooth.BluetoothGatt$1.onClientConnectionState(BluetoothGatt.java:276)
at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:201)
at android.os.Binder.execTransactInternal(Binder.java:1187)
at android.os.Binder.execTransact(Binder.java:1146)
, null)

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

1 participant