mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 02:25:50 +01:00
For a start, connect with "false" #156
My connection problems went away with this. Let's see how it works out.
This commit is contained in:
parent
d8960c4e16
commit
58cfd0fef9
@ -158,7 +158,7 @@ public final class BtLEQueue {
|
||||
BluetoothDevice remoteDevice = mBluetoothAdapter.getRemoteDevice(mGbDevice.getAddress());
|
||||
boolean result;
|
||||
synchronized (mGattMonitor) {
|
||||
mBluetoothGatt = remoteDevice.connectGatt(mContext, true, internalGattCallback);
|
||||
mBluetoothGatt = remoteDevice.connectGatt(mContext, false, internalGattCallback);
|
||||
result = mBluetoothGatt.connect();
|
||||
}
|
||||
if (result) {
|
||||
|
Loading…
Reference in New Issue
Block a user