mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
use native method of setting MTU on Pebble 2 Duo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
### Changelog
|
||||
|
||||
#### Next
|
||||
* Initial support for Pebble 2 Duo (Experimental)
|
||||
|
||||
#### 0.87.1
|
||||
|
||||
* Garmin: Fix strength workout fetching and parsing
|
||||
|
||||
+2
-1
@@ -247,7 +247,8 @@ class PebbleGATTClient extends BluetoothGattCallback {
|
||||
NotifyAction.writeDescriptor(gatt, descriptor, BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
|
||||
gatt.setCharacteristicNotification(gatt.getService(SERVICE_UUID).getCharacteristic(MTU_CHARACTERISTIC), true);
|
||||
} else {
|
||||
LOG.info("Could not find MTU Characteristic. This seems to be a 2025 Pebble");
|
||||
LOG.info("Could not find MTU Characteristic. This seems to be a 2025 Pebble, requesting MTU via gatt");
|
||||
gatt.requestMtu(339);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user