kmccormick
00c5620acf
am 30c8973f: am 75c59fb9: am dc22fa92: Merge "Doc change: new Bluetooth LE doc" into jb-mr2-dev
...
* commit '30c8973f66ad035a1734c8e53173b58ac1fbd32d':
Doc change: new Bluetooth LE doc
2013-06-21 16:34:40 -07:00
kmccormick
f14ff1c9ce
Doc change: new Bluetooth LE doc
...
Change-Id: Ib6d67497a9b4d54d13b4da8f1f9ee991bc5ef562
2013-06-21 14:52:05 -07:00
Jeff Sharkey
fea17de7aa
Explicit locale when formatting machine strings.
...
Bug: 9390451
Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
2013-06-11 14:36:41 -07:00
Matthew Xie
703ea1862e
am 0fdb05a7: am b190890a: Merge "Update javadoc to give app write better guidence" into jb-mr2-dev
...
* commit '0fdb05a770ce3ea0bd7f6ee9bae2283a38284607':
Update javadoc to give app write better guidence
2013-05-30 15:16:00 -07:00
Matthew Xie
b190890a94
Merge "Update javadoc to give app write better guidence" into jb-mr2-dev
2013-05-30 18:45:42 +00:00
Matthew Xie
b30f91e38c
Update javadoc to give app write better guidence
...
Update javadoc of close methods of GATT cliet and server
Update javadoc of BluetoothAdapter
bug 8963528
Change-Id: I45ec618fd495225ed11a6171f33bfdc218397d4c
2013-05-30 11:42:26 -07:00
Matthew Xie
16a90db8d7
am 897d98a7: am 6ea0636a: Merge "Revert "Revert "Change GATT_FAILURE from 0 to 0x101""" into jb-mr2-dev
...
* commit '897d98a7530109bff8d73b3651d8884c76f54c42':
Revert "Revert "Change GATT_FAILURE from 0 to 0x101""
2013-05-28 22:30:10 -07:00
Matthew Xie
90ca807f7b
Revert "Revert "Change GATT_FAILURE from 0 to 0x101""
...
This reverts commit d21f674c15
bug 9109238
Change-Id: Ie1fc3d7420e6c401d3db29499d8846e6b70a61bb
2013-05-28 15:28:24 -07:00
Matthew Xie
67cc127186
am e7e6bf9f: am 27e45361: Merge "Revert "Change GATT_FAILURE from 0 to 0x101"" into jb-mr2-dev
...
* commit 'e7e6bf9f02a0a74f0a8d3812d2a3a3f3ec855086':
Revert "Change GATT_FAILURE from 0 to 0x101"
2013-05-28 13:50:13 -07:00
Matthew Xie
d78afea78d
am 84e1afcc: am 413f6293: Merge "Change GATT_FAILURE from 0 to 0x101" into jb-mr2-dev
...
* commit '84e1afcccc328e7a52bfde16e824a3ed37889d1d':
Change GATT_FAILURE from 0 to 0x101
2013-05-28 13:50:09 -07:00
Matthew Xie
d21f674c15
Revert "Change GATT_FAILURE from 0 to 0x101"
...
This reverts commit 8310e6196f
Change-Id: I467f7cfc8626b0fc54509a89158cd2d84a0c10b8
2013-05-26 21:03:16 +00:00
Matthew Xie
8310e6196f
Change GATT_FAILURE from 0 to 0x101
...
GATT_FAILURE 0 clashes with GATT_SUCCESS. For now, they represent different
kind of faiure. One for Gatt operation, one for Gatt registration. But we
should separate them as good practice.
bug 9109238
Change-Id: I686bb6004bc8831aa3e3bbffe2f7c8e24412e3c3
2013-05-23 17:39:35 -07:00
Ravi Nagarajan
69925b149f
Remove roamChanged API
...
Roam state listerner will be handled inside the Bluetooth apk. Remove
the binder API from wrapper class
bug 8781689
Change-Id: I31c2b899069774620b1406faeb3c68ad1e60b599
2013-05-13 18:06:09 -07:00
Mike Lockwood
24dc818055
Merge "BluetoothGatt: Print stack trace if an exception occurs in a callback"
2013-05-13 21:42:10 +00:00
Mike Lockwood
0998ff1349
BluetoothGatt: Print stack trace if an exception occurs in a callback
...
Change-Id: Iaaaaca8347197aae5c7fcecb2325ef4836969434
2013-05-13 14:11:33 -07:00
Matthew Xie
32ab77b4c5
Donot bind to GATT service when BLE is not supported
...
bug 8664724
Change-Id: I9b9222cd5877babcded73798a5d1ff13fd10e791
2013-05-08 19:26:57 -07:00
Matthew Xie
7f3c5d164f
Merge "Added flush() for bluetooth output stream" into jb-mr2-dev
2013-04-26 01:18:34 +00:00
Matthew Xie
d575233c53
Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
...
bug 8667898
Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b
2013-04-24 17:51:37 -07:00
zzy
71bfafc84a
Added flush() for bluetooth output stream
...
Bug 8498784
Zebra QL420 Plus Bluetooth printer fails on Android 4.2.2
2013-04-24 00:24:34 -07:00
Matthew Xie
cdd94e3647
Remove BluetoothAdapterCallback. Simplify leScan Api
...
App does not need to explicitly register/unregister callback
bug 8599881
Change-Id: I18cfef14d7ddb344722945e657dcb959823b412b
2013-04-17 20:49:33 -07:00
Andre Eisenbach
3b64f38a16
Make BluetoothGattServer.close() public
...
This functino is needed for applications to un-register from the
Bluetooth stack.
bug 8591003
Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c
2013-04-10 19:13:10 -07:00
Matthew Xie
26cd4d658f
Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev
2013-04-04 03:16:40 +00:00
Matthew Xie
33ec9840c7
Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
...
Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt
Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt
Add BluetoothGatt#connect() to reconnect back to the server.
Make BluetoothGatt#close() public to clean up/unregister callback
Add BluetoothDevice.getType() to return int of
bug 8529188
Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2
2013-04-03 18:20:13 -07:00
Andre Eisenbach
6f0ed128e4
Fix minor LE descriptor permissions issue
...
Change-Id: Idded482a08f17a1373adf3e3a51709ff585d4f24
2013-04-03 14:54:12 -07:00
Matthew Xie
84e594f7db
Merge "Unhide Bluetooth Low Energy public APIs" into jb-mr2-dev
2013-03-28 23:04:48 +00:00
Matthew Xie
ddf7e4756c
Unhide Bluetooth Low Energy public APIs
...
Updated API headers. Add BluetoothManager to be retrieved by
context.getSystemService(Context.BLUETOOTH_SERVICE).
LE scan functions are placed in BluetoothAdapter
The GATT API are device driven instead of a profile-driver.
bug 8450158
Change-Id: I424a4cedaac3ef8120a05996500008dd210d2553
2013-03-28 15:36:10 -07:00
Elliott Hughes
94eaab4a5d
am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"
...
* commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30':
Correct executable bit for source files [Take 2]
2013-03-28 14:29:21 -07:00
Robert Greenwalt
665e1aed5e
Add BT - DataTracker connection
...
Allows the external BT stack the means to communicate with
ConnectivityService during reverse tethering.
bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
2013-03-27 15:45:12 -07:00
Chirayu Desai
3e4a3ea2ff
Correct executable bit for source files [Take 2]
...
Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some
files, this fixes them.
Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
2013-03-27 16:52:35 +05:30
Lorenzo Colitti
69edd64d9b
Add stacking to the NetworkStateTrackers.
...
Bug: 8276725
Change-Id: I55a107fea78f9cc84f15bd6c75292138fb35a1b6
2013-03-15 14:35:35 +09:00
Andre Eisenbach
3f36660a60
Fixed 32 bit characteristic value assignment
...
Also fixed link in comment.
Change-Id: I27223b8aadae2fc7c8037abc6396760e23f6f161
2013-03-12 10:53:56 -07:00
Stephen Hines
41cf8f354f
Fix docs bug.
...
Change-Id: I8c69963b339d703757bf1cd8f43161175783566d
2013-02-28 14:23:00 -08:00
Ganesh Ganapathi Batta
9908112fd0
Initial version of BLE support for Bluedroid
...
The API classes are hidden for now. Will unhide after API console
approval.
Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109
2013-02-27 18:08:14 -08:00
Matthew Xie
90bd55f179
am 3b5c4382: am b8e80eb5: am 4fd38e8d: Merge "Clean up debug messages" into jb-mr1.1-dev
...
* commit '3b5c43825eaf8096c01eac77e03a8aac8e9fab4a':
Clean up debug messages
2012-12-03 11:30:56 -08:00
Matthew Xie
d77982ef29
Clean up debug messages
...
bug 7626174
Change-Id: I65cdcaf2c48a78468b6cef0b8591289435068b24
2012-11-29 20:26:19 -08:00
zzy
0a3b9017ed
am de95a276: am 3fe63ce4: am 652678af: timeout support for accept() and added check for signal size
...
* commit 'de95a276e7caf3b9918c21a4f43f91c7c25b3a6b':
timeout support for accept() and added check for signal size
2012-11-29 14:33:14 -08:00
zzy
652678af4d
timeout support for accept() and added check for signal size
...
bug 7592240
Change-Id: Ide1868da669c190cdfed90f7af3f739ec9da690b
2012-11-28 22:12:27 -08:00
Robert Greenwalt
4717c261b2
Remove DhcpInfoInternal
...
First step in accepting a set of patches.
bug:6799630
Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
2012-11-09 09:46:32 -08:00
Zhihai Xu
fa0fd39a4b
License of files Bluetooth package is not updated to ASL2
...
bug 7385618
Change-Id: I6232f537f4fda979d3aabe3a059c11d3299de9b8
2012-10-23 17:31:56 -07:00
zzy
b49a896359
Add serial port profile support and allow to connect to rfcomm channel without sdp discovery
...
bug 7272974
Change-Id: Idc10edc056b48da2fd96bea84eba3fb73b97bab1
2012-10-15 22:30:29 -07:00
Matthew Xie
563e414784
Reduce android.bluetooth package debug messages
...
bug 7174712
Change-Id: I8d3fdc8edbe42068b5a550660d7b24854c3c4af4
2012-10-09 22:10:37 -07:00
Matthew Xie
9e3045c75c
Merge "Turn off verbose debug message in BluetoothAdapter Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f" into jb-mr1-dev
2012-08-29 16:30:14 -07:00
Matthew Xie
3b6214f373
Turn off verbose debug message in BluetoothAdapter
...
Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f
2012-08-29 15:47:41 -07:00
Irfan Sheriff
da6da0907b
Captive portal handling
...
We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.
Also, moved out captive portal handling out of wifi as a seperate component.
Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
2012-08-27 22:27:06 -07:00
Ganesh Ganapathi Batta
fffa86ba83
Implement enableNoAutoconnect()
...
Adding enableNoAutoconnect() API support in Bluetooth service
to let BT enable in quiet mode
Change-Id: I546f3ceb298082a9c9a698f406379470e3cc0d4f
2012-08-14 00:18:07 -07:00
Ganesh Ganapathi Batta
6f6c54519a
Auto connection/disconnection related changes
...
Remove ACTION_CONNECT_OTHER_PROFILES as it is no longer used
Allow only PRIORITY_ON and PRIORTY_OFF as priority params for SetPriority()
API in BluetoothA2DP and BluetoothHeadset
BluetoothPBAP: Pass on proxy object as part of Service Connected callback
Change-Id: Ida00fc2b7d1dcb91b01f7ddd2cea482367a3b334
2012-08-06 23:24:26 -07:00
Martijn Coenen
10d7e8afb2
Bluetooth: fix enableNoAutoConnect() call.
...
For now, just do a regular connect.
Change-Id: Ibc43098d45c82177298cb17d72a32c7904924021
2012-08-03 08:36:02 -07:00
Ravi Nagarajan
82e57fe174
Reset priority on unbond
...
Change-Id: I8232c666bde26235ad527c96e5218fc1b3e7a1db
2012-07-26 19:20:32 -07:00
Swaminatha Balaji
c61eb2617d
Fix for When Hf is rejected the device should initiate A2dp if a2dp is enabled
...
Change-Id: I82d05eacb6c7fae6eb1ebf246d2fce7314ff0a75
2012-07-26 19:19:51 -07:00
Syed Ibrahim M
305f240dc1
handle NullPointerException in cases where a proxy
...
call to AdapterService is called after Adapter
Service is stopped.
Change-Id: I009787f03f9a013b9b06fcb7e3f6241c850f8cd2
2012-07-26 18:11:23 -07:00