Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d5b62dc authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Prerepa Viswanadham
Browse files

LE: Rename new MTU and connection paramter update APIs

bug 17005342
Change-Id: Ic773b5c4bb3da9777613c8094ad21ea6f720110d
parent 7c8f05fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1542,12 +1542,12 @@ public class GattService extends ProfileService {

        switch (connectionPriority)
        {
            case BluetoothGatt.GATT_CONNECTION_HIGH_PRIORITY:
            case BluetoothGatt.CONNECTION_PRIORITY_HIGH:
                minInterval = 6; // 7.5ms
                maxInterval = 8; // 10ms
                break;

            case BluetoothGatt.GATT_CONNECTION_LOW_POWER:
            case BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER:
                minInterval = 80; // 100ms
                maxInterval = 100; // 125ms
                latency = 2;