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

Commit 201c4a40 authored by Stanley Tng's avatar Stanley Tng
Browse files

Fix spelling errors in BluetoothGatt documentation

Correct "paramter" to "parameter". Correct "connectoin" to connection.

Bug: 79198797
Test: Compile
Change-Id: I98646eec66da2aaa6f74ae2db35ea914c6a105a1
parent 4143ed3a
Loading
Loading
Loading
Loading
+7 −7
Original line number Original line Diff line number Diff line
@@ -98,22 +98,22 @@ public final class BluetoothGatt implements BluetoothProfile {
    public static final int GATT_FAILURE = 0x101;
    public static final int GATT_FAILURE = 0x101;


    /**
    /**
     * Connection paramter update - Use the connection paramters recommended by the
     * Connection parameter update - Use the connection parameters recommended by the
     * Bluetooth SIG. This is the default value if no connection parameter update
     * Bluetooth SIG. This is the default value if no connection parameter update
     * is requested.
     * is requested.
     */
     */
    public static final int CONNECTION_PRIORITY_BALANCED = 0;
    public static final int CONNECTION_PRIORITY_BALANCED = 0;


    /**
    /**
     * Connection paramter update - Request a high priority, low latency connection.
     * Connection parameter update - Request a high priority, low latency connection.
     * An application should only request high priority connection paramters to transfer
     * An application should only request high priority connection parameters to transfer large
     * large amounts of data over LE quickly. Once the transfer is complete, the application
     * amounts of data over LE quickly. Once the transfer is complete, the application should
     * should request {@link BluetoothGatt#CONNECTION_PRIORITY_BALANCED} connectoin parameters
     * request {@link BluetoothGatt#CONNECTION_PRIORITY_BALANCED} connection parameters to reduce
     * to reduce energy use.
     * energy use.
     */
     */
    public static final int CONNECTION_PRIORITY_HIGH = 1;
    public static final int CONNECTION_PRIORITY_HIGH = 1;


    /** Connection paramter update - Request low power, reduced data rate connection parameters. */
    /** Connection parameter update - Request low power, reduced data rate connection parameters. */
    public static final int CONNECTION_PRIORITY_LOW_POWER = 2;
    public static final int CONNECTION_PRIORITY_LOW_POWER = 2;


    /**
    /**