mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Pebble: Specify Transport as LE when connecting via BLE
This commit is contained in:
+1
-1
@@ -249,7 +249,7 @@ class PebbleGATTClient extends BluetoothGattCallback implements PairingCallback
|
||||
if (mBluetoothGatt != null) {
|
||||
this.close();
|
||||
}
|
||||
mBluetoothGatt = btDevice.connectGatt(mContext, false, this);
|
||||
mBluetoothGatt = btDevice.connectGatt(mContext, false, this, BluetoothDevice.TRANSPORT_LE);
|
||||
}
|
||||
|
||||
private void subscribeToConnectivity(BluetoothGatt gatt) {
|
||||
|
||||
Reference in New Issue
Block a user