Prerepa Viswanadham
b108a6fef1
Unhide the Bluetooth(BLE) offload capability apis
...
Change-Id: Ice3f4f5ff4b8318bf6afe7021b253fe9ea4661d3
2014-07-09 21:23:51 +00:00
Prerepa Viswanadham
8f2e74cac2
OnFound and Onlost callback integration
...
Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
2014-07-09 21:07:13 +00:00
Andre Eisenbach
45a0a1a689
LE: Un-hide new congestion control and MTU APIs
...
Change-Id: I5ce395481620dd7ab611b1ab0eaeb5e29c4f13fa
2014-07-08 17:09:38 -07:00
Prerepa Viswanadham
8e5270fdf5
Tie in BLE hw capabilities with api invocation and support.
...
Change-Id: Ic1f0b3f156cf2fdde8f04b5c4384e4fd3d79623a
2014-07-08 23:34:49 +00:00
Wei Wang
9fb1791e1a
Implement batch scan API
...
Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
2014-07-08 00:42:32 -07:00
Prerepa Viswanadham
0c116e1573
Obtain capabilities from chipset for it's support of various features
...
Change-Id: I01bdb31136be63e4e46fb4e054c902eddc5647ab
2014-07-02 21:24:37 +00:00
Hemant Gupta
8949bfb90c
Bluetooth: Support MAP Client role on Bluedroid.
...
Implementation changes to support MAP client and PBAP client
role on Bluedroid stack.
Change-Id: I1733a67bf5256bd7b181bd5e68e40b476994ebfd
2014-07-01 18:01:27 +00:00
Andre Eisenbach
061cfd0049
LE: Fix GATT server documentation to reflect API updates
...
Change-Id: I21100dd55a7bf9e85a07742f571d5743bad5ece1
2014-07-01 17:16:11 +00:00
Mudumba Ananth
177d078d90
Add WBS support on Bluedroid (6/6)
...
Bug 13764086
Change-Id: I7afbddb02fc247d7799ab0fb264a467c7853cb32
2014-06-30 22:44:24 +00:00
Andre Eisenbach
fad6726724
LE: Hide new congestion constant for now
...
Change-Id: I86455be16bc3356a1ad24db6d6e6835cb299eb5f
2014-06-27 11:42:19 -07:00
Andre Eisenbach
dadefdad8e
LE: Add notification sent and congestion callbacks (3/4)
...
This change introduces two new callbacks for applications to better
handle LE notification flow control and transport congestion. The
notification callback is invoked when the remote platform confirms an
indication or when a local notification has been passed to the
controller. No new notifications should be sent until a callback is
received.
Congestion callbacks are triggered when a GATT operation cannot be sent
to the local Bluetooth controller. Repeatedly calling
writeCharacteristic() for example will eventually trigger a congestion
callback. Applications cannot send additional data until a further
callback is received, indicating that the congestion has cleared up.
Also made server callbacks "oneway" in the AIDL definition file.
Change-Id: I7fa3324712205c79efce58e5e3df8b80a265a442
2014-06-27 10:31:41 -07:00
Paul Jensen
b5f6bf7ad1
Merge "Convert BluetoothTetheringDataTracker into a NetworkFactory."
2014-06-24 07:59:24 +00:00
Paul Jensen
81c884ee52
Convert BluetoothTetheringDataTracker into a NetworkFactory.
...
bug:15407087
Change-Id: I0437ca52dedf73e8ec69ac82e46353f6fafc4a42
2014-06-26 09:13:51 -04:00
Ang Li
39e7a54568
Merge "Fix comment for sendData."
2014-06-26 08:19:24 +00:00
Ang Li
707fd39f8b
Fix comment for sendData.
...
Merging kwd commit dfb40d5c51411b0d10ec22a9af283f349d8904d7
Change-Id: I5f3c16f3e99dce8bbb0011af3322ce3e6487d6d9
2014-06-25 13:45:42 -07:00
Mike J. Chen
2975c683bc
Fix bug where GATT descriptors weren't being added to right characteristic
...
When there's more than one characteristic with the same UUID in
a service, the descriptors for the non-zero instanceID characteristics
were being assigned to the zero instanceID one, so descriptor
fetching wouldn't work. This is particularly bad for HID devices
since separate reports would show up as multiple characteristics
with the same UUID but there'd be no way to identify them
without their descriptor attributes.
Change-Id: I92bb4be34aa941dd3c6750874bef2e8a261ded92
Signed-off-by: Mike J. Chen <mjchen@google.com >
2014-06-24 10:19:45 -07:00
Mike Lockwood
94b59de852
BluetoothAvrcpController: Move AVRCP controller support to new BluetoothProfile subclass
...
Change-Id: Id988040a7ce623ed68e0349920301ff48db1fbce
2014-06-13 09:06:36 -07:00
Hemant Gupta
3b76a4b2b6
Add Support for AVRCP Controller Feature
...
- Provide support for AVRCP Controller CAT 1 and CAT 2
passthrough commands.
Change-Id: Iefbb7fcd6273c49dc8a305b7a25ec6e94c60a5a9
2014-06-13 09:06:36 -07:00
Mike Lockwood
2263dd1ddd
BluetoothA2dpSink: Add new BluetoothProfile subclass for A2DP sink
...
Change-Id: I09d5cb8fdaea4c4828f333949b7c18deffd22722
2014-06-13 09:06:35 -07:00
Mike Lockwood
0b611b5f3b
Add BluetoothHeadsetClientCall.toString method
...
Change-Id: I8a95fda4f67daa09dfefedffec804c06af53ebe0
2014-06-13 09:06:35 -07:00
Mike Lockwood
cf916d3467
Rename BluetoothHandsfreeClient to BluetoothHeadsetClient
...
This makes our terminology consistent with the existing BluetoothHeadset profile
Also updated arguments to Context.bindService()
Change-Id: I27cc5a6fde256b1f5dccca53a7a15ec8f58691c2
2014-06-13 09:06:35 -07:00
Hemant Gupta
7aca90fcc0
Bluetooth: Add support for HFP Client role.
...
Implementation changes in frameworks to support
HFP Client role.
Change-Id: Ifb10527cd6c1301297cae4f923b20734af672034
2014-06-13 09:06:35 -07:00
Wei Wang
53fe28b7b6
LE: Add oneway attribute to Gatt callbacks
...
Adding the 'oneway' attribute to the GattService interface definition
prevents applications from blocking callbacks.
Bug: 15489651
Change-Id: Id7fcf7f95539092f03e5773ca318b5472b55cb4d
2014-06-12 23:48:41 +00:00
Prerepa Viswanadham
58a01d6ab1
Take out startScanWithUuidScanParam as part of refactoring
...
Change-Id: Icfb9083571e22c0853fc64ad4d09a20cbf754257
2014-06-12 10:39:29 -07:00
Jay Civelli
174928c0aa
Adding a method to know if there is a connection to a BluetoothDevice.
...
Adding a new method to BluetoothDevice that lets callers know whether a remote device is
connected.
Change-Id: I6f7cb99147f3cdad1d676a93183856dbb4083a06
2014-06-04 12:15:35 -07:00
Wei Wang
75f5b3a8dd
am 19bdd64c: Merge "Address API review comments. 1. Moved le stuff to it\'s subpackage. Remove BluetoothLe for all classes except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings. 2. Make all callbacks abstract classes instead of interfaces. 3. Moved Advertis
...
* commit '19bdd64c3b9dd16778575164c13c8af798832f01':
Address API review comments. 1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings. 2. Make all callbacks abstract classes instead of interfaces. 3. Moved AdvertisementData and ScanRecord out and removed AdvertiseBaseData 4. Removed newBuild and use new Builder for all builders. 5. Using setxxx in builders. 6. Misc other changes.
2014-05-30 21:38:59 +00:00
Wei Wang
6d81118032
Address API review comments.
...
1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes
except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings.
2. Make all callbacks abstract classes instead of interfaces.
3. Moved AdvertisementData and ScanRecord out and removed
AdvertiseBaseData
4. Removed newBuild and use new Builder for all builders.
5. Using setxxx in builders.
6. Misc other changes.
Fixes b/15140940
Change-Id: I32ae3d24a9491baf96048040b5ac78f6f731e468
NO_SQ: multi-project submit
2014-05-29 17:21:54 -07:00
Mike Lockwood
0a40ec2192
Add Audio Manager support for Bluetooth A2DP Sink profile
...
Change-Id: Iff6035e85faf52647cc41a59f98ba2924300eb8d
2014-05-28 13:32:08 -07:00
Wei Wang
ab39cb7f6a
Add scan response as an advertising parameter(1/2).
...
Change-Id: I75c500dd7b5f2609d3092f50ba284a5ec4a41987
2014-05-20 20:38:29 -07:00
Wei Wang
05ee041453
Remove a hide tag link.
...
Change-Id: I6781dcfcaf89c6b00e0641549f946b90e4543218
2014-05-20 02:43:02 -07:00
Wei Wang
adf6aff5b0
Revert "Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising.""
...
This reverts commit b1d9fbc0f8dea0c77ed810190b325bfdaaf21789.
Change-Id: Ic8dec9385a7c763170ebeb1bcddd221c72f46e88
2014-05-19 23:52:45 -07:00
Wei Wang
319b40c9cf
Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising."
...
This reverts commit 2c4e68a86b7a9b9f760a8907b93ff40ccad56c80.
Change-Id: I98c91343d886ebe22d0bf75a710fa0b0abf738b6
2014-05-20 04:52:35 +00:00
Wei Wang
62d5bc745a
APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple
...
advertising.
Change-Id: I1655eb9cffa890b6fe38108bf51078662e90bc03
2014-05-19 19:40:49 -07:00
Wei Wang
51800847d9
Add a method to check whether a UUID is 32bit.
...
Change-Id: I92e8bab560b2083e9f4855d28b3f54f2120ef628
2014-05-19 19:37:05 -07:00
Joe LaPenna
a0fc1b3730
am 3e1bbaf7: am 45734b4a: Merge "Log accept and close debug statements in BluetoothSocket." into klp-modular-dev
...
* commit '3e1bbaf786c12e66624c42c13a58095bc8133117':
Log accept and close debug statements in BluetoothSocket.
2014-05-17 02:01:42 +00:00
Prerepa Viswanadham
63da5bf55e
Improve name of api.
...
Change-Id: I4db24db621ab746f5e5efcbaf87b8856cf234e3e
2014-05-15 17:37:38 +00:00
Prerepa Viswanadham
01c92da4c9
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
2014-05-15 17:37:24 +00:00
Joe LaPenna
f3de98a2d0
Log accept and close debug statements in BluetoothSocket.
...
Bug: 14902781
Bug: 14784262
Change-Id: Id0c2cd216244e05c218568427bda863a538b1041
2014-05-13 18:53:11 -07:00
Robert Greenwalt
f9cb86aebe
Replace LinkCapabilities with NetworkCapabilities
...
Also remove unused LinkSocket and LinkSocketNotifier.
bug:13885501
Change-Id: Id426e31b201fa4f29109b5fea485d8efb34519d3
2014-05-12 16:52:56 -07:00
Ganesh Ganapathi Batta
b88fa824ab
Add transport param to Connect APIs
...
Support for passing preferred transport for GATT connections as part of
Connect APIs
Change-Id: I93938dce519b8fa12de41d7e8690dc9355ce2dc5
2014-05-06 19:20:46 -07:00
Sharvil Nanavati
37fce07bea
Tear down PAN if we can't successfully complete a DHCP request
...
after establishing a PANU connection.
http://b/13731957
Change-Id: I0c808d5196c66783b52942ba7b7212bdce9f1c07
2014-05-06 19:20:46 -07:00
Wei Wang
82500dd866
Add parse method to parse UUID from bytes for 16 bit, 32 bit and 128 bit
...
Bluetooth UUIDs. Added unit tests.
Change-Id: I4ecf0ede02561a5e9815acf8a5a1309d5756b887
2014-05-06 19:20:46 -07:00
Sharvil Nanavati
3e8eb40950
Make sure BluetoothSocket#connect throws on error.
...
It sometimes fails silently, resulting in callers using the socket
even though it hasn't been initialized.
http://b/13909270
Change-Id: Ied08982b51d44c3d2dec72785888ea6c6497a664
2014-05-06 19:20:45 -07:00
Ariel Gertzenstein
a2d8706ca8
DO NOT MERGE Tear down PAN if we can't successfully complete a DHCP request
...
after establishing a PANU connection.
http://b/13731957
Change-Id: I0c808d5196c66783b52942ba7b7212bdce9f1c07
2014-04-21 14:26:56 -04:00
Zhihai Xu
7e6fe14f02
am 54499194: am 2e8a2d20: Merge "LE: Return false if an attribute read/write is in progress" into klp-modular-dev
...
* commit '544991946287bdd3a9e6a71855642e378594bf73':
LE: Return false if an attribute read/write is in progress
2014-04-10 01:07:26 +00:00
Andre Eisenbach
cc68cc962d
LE: Return false if an attribute read/write is in progress
...
bug:12109128
Change-Id: I0155fcddc850aba47a1bf3e174d4ee582d50b187
2014-04-09 10:59:44 -07:00
Zhihai Xu
6b96c1b2ea
am 7d394df2: am ae1b763c: Merge "LE: Add API to configure MTU for a given connection (3/4)" into klp-modular-dev
...
* commit '7d394df2ab8f951215a775df8d2bd9e6518e746a':
LE: Add API to configure MTU for a given connection (3/4)
2014-03-31 21:35:38 +00:00
Zhihai Xu
ae1b763cde
Merge "LE: Add API to configure MTU for a given connection (3/4)" into klp-modular-dev
2014-03-31 21:21:54 +00:00
Wei Wang
ab4fc115e9
am 1b09c97d: am 4447405d: Merge "Callback on correct method when status is unsuccessful." into klp-modular-dev
...
* commit '1b09c97d8a7156a9f35ebab3c98db7b103852a58':
Callback on correct method when status is unsuccessful.
2014-03-29 02:03:03 +00:00
Wei Wang
c07a5dd709
Callback on correct method when status is unsuccessful.
...
Change-Id: I63c07bbae559765af1aecb492379ab18268336d8
2014-03-29 01:42:41 +00:00