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

GATT_ERROR API35 onConnectionFailure on init #173

Open
hpsaturn opened this issue Feb 2, 2025 · 0 comments
Open

GATT_ERROR API35 onConnectionFailure on init #173

hpsaturn opened this issue Feb 2, 2025 · 0 comments
Labels
bug Something isn't working minor Minor issue not critical

Comments

@hpsaturn
Copy link
Member

hpsaturn commented Feb 2, 2025

Summary

We have sometimes on the alpha branch around API34-35 an issue on the first case of use of the app with this output:

10:44:17.615 BluetoothGatt            D  onClientConnectionState() - status=133 clientIf=7 connected=false device=24:6F:28:7A:58:5E
10:44:17.620 RxBle#GattCallback       I  MAC='XX:XX:XX:XX:XX:XX'  onConnectionStateChange(), status=133, value=0
10:44:17.634 RxBle#Conn...ationQueue  D  Connection operations queue to be terminated (MAC='XX:XX:XX:XX:XX:XX')
                                         com.polidea.rxandroidble2.exceptions.BleDisconnectedException: Disconnected from MAC='XX:XX:XX:XX:XX:XX' with status 133 (GATT_ERROR)
                                         	at com.polidea.rxandroidble2.internal.connection.RxBleGattCallback$2.onConnectionStateChange(RxBleGattCallback.java:85)
                                         	at android.bluetooth.BluetoothGatt$1$4.run(BluetoothGatt.java:389)
                                         	at android.bluetooth.BluetoothGatt.runOrQueueCallback(BluetoothGatt.java:1068)
                                         	at android.bluetooth.BluetoothGatt.-$$Nest$mrunOrQueueCallback(Unknown Source:0)
                                         	at android.bluetooth.BluetoothGatt$1.onClientConnectionState(BluetoothGatt.java:383)
                                         	at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:209)
                                         	at android.os.Binder.execTransactInternal(Binder.java:1396)
                                         	at android.os.Binder.execTransact(Binder.java:1335)
10:44:17.636                          V  Terminated (MAC='XX:XX:XX:XX:XX:XX')
10:44:17.638 BLEHandler               E  [BLE] onConnectionFailure: Disconnected from MAC='XX:XX:XX:XX:XX:XX' with status 133 (GATT_ERROR)
10:44:17.638 RecordTrackService       E  [BLE] onConectionFailure
10:44:17.640 RxBle#Clie...ationQueue  D  QUEUED   DisconnectOperation(125234701)
10:44:17.641                          D  FINISHED ConnectOperation(161485843) in 468 ms
10:44:17.641                          D  STARTED  DisconnectOperation(125234701)
10:44:17.641                          I  RUNNING  DisconnectOperation{MAC='XX:XX:XX:XX:XX:XX'}
10:44:17.645 BluetoothGatt            D  close()
10:44:17.645                          D  unregisterApp() - mClientIf=7
@hpsaturn hpsaturn added bug Something isn't working minor Minor issue not critical labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor Minor issue not critical
Projects
None yet
Development

No branches or pull requests

1 participant