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