[ANDROID] Unable to reconnect with previously connected device

Issue #27 resolved
Michal Skrabacz created an issue

Video Logs

After successful connection second try always ends up with error:

BleGattException{macAddress=D7:74:2A:0C:51:DF, status=22 (0x16 -> https://android.googlesource.com/platform/external/bluetooth/bluedroid/+/android-5.1.0_r1/stack/include/gatt_api.h), bleGattOperationType=BleGattOperation{description='CONNECTION_STATE'}}
                         E      at com.polidea.rxandroidble.internal.connection.RxBleGattCallback.propagateStatusErrorIfGattErrorOccurred(RxBleGattCallback.java:233)
                         E      at com.polidea.rxandroidble.internal.connection.RxBleGattCallback.access$200(RxBleGattCallback.java:35)
                         E      at com.polidea.rxandroidble.internal.connection.RxBleGattCallback$3.onConnectionStateChange(RxBleGattCallback.java:86)
                         E      at android.bluetooth.BluetoothGatt$1.onClientConnectionState(BluetoothGatt.java:228)
                         E      at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:70)
                         E      at android.os.Binder.execTransact(Binder.java:453)

Comments (4)

  1. Karol Baran Account Deactivated

    Information about @mskrabacz phone: samsung s7edge 6.0.1

    I tested it on Sony Xperia z5 7.0 and Nexus 6p 7.0 and its working fine but will check it with another phones / os versions.

  2. Michal Skrabacz reporter

    Fixed disconnection process in our own implementation (previously we didn't wait for event with information of disconnected device at suunto://MDS/Connected/Devices endpoint)

  3. Log in to comment