Skip to content
Permalink
Browse files

For a start, connect with "false" #156

My connection problems went away with this. Let's see how it works out.
  • Loading branch information...
cpfeiffer committed Nov 3, 2015
1 parent d8960c4 commit 58cfd0fef9972e45aa24da325e870d7f912ca012
@@ -158,7 +158,7 @@ public boolean connect() {
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) {

0 comments on commit 58cfd0f

Please sign in to comment.
You can’t perform that action at this time.