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

Commit da300197 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android (Google) Code Review
Browse files

Merge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev

parents 3f059683 2d5b62dc
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;