summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrerepa Viswanadham <dham@google.com>2014-04-21 10:13:44 -0700
committerPrerepa Viswanadham <dham@google.com>2014-05-15 17:37:24 +0000
commit01c92da4c938b1a37b263d7c452a6f4f2bb4fe76 (patch)
tree5ceee1a607f933ec3da487c7f2109d78d111cbf6
parent10ef24631f28f09dcc39a820e6f059a0c6b69d41 (diff)
downloadframeworks_base-01c92da4c938b1a37b263d7c452a6f4f2bb4fe76.zip
frameworks_base-01c92da4c938b1a37b263d7c452a6f4f2bb4fe76.tar.gz
frameworks_base-01c92da4c938b1a37b263d7c452a6f4f2bb4fe76.tar.bz2
set scan parameters in BT stack. Apply the most demanding request
in terms of duty cycle for all outstanding requests.Add api to set scan parameters. Change-Id: Iee460003d210455ab180367f3518bfb10a6c2539
-rw-r--r--core/java/android/bluetooth/IBluetoothGatt.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/IBluetoothGatt.aidl b/core/java/android/bluetooth/IBluetoothGatt.aidl
index 49b156d..6e9f871 100644
--- a/core/java/android/bluetooth/IBluetoothGatt.aidl
+++ b/core/java/android/bluetooth/IBluetoothGatt.aidl
@@ -31,6 +31,8 @@ interface IBluetoothGatt {
void startScan(in int appIf, in boolean isServer);
void startScanWithUuids(in int appIf, in boolean isServer, in ParcelUuid[] ids);
+ void startScanWithUuidsAndScanWindowInterval(in int appIf, in boolean isServer,
+ in ParcelUuid[] ids, int scanWindow, int scanInterval);
void stopScan(in int appIf, in boolean isServer);
void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback);