diff options
author | Casper Bonde <c.bonde@samsung.com> | 2015-04-09 09:24:48 +0200 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2015-04-11 01:49:11 +0000 |
commit | 238e0f934f1f47263b384bc745ae0678c777130d (patch) | |
tree | aad2caae161654624cbe93003ed8027f96aaf923 /api/system-current.txt | |
parent | 31a94f48bf8014cf6a1127bd23cf9a8541a9abed (diff) | |
download | frameworks_base-238e0f934f1f47263b384bc745ae0678c777130d.zip frameworks_base-238e0f934f1f47263b384bc745ae0678c777130d.tar.gz frameworks_base-238e0f934f1f47263b384bc745ae0678c777130d.tar.bz2 |
OBEX Over L2CAP + SDP search API for BT profiles
- Updated OBEX to support SRM
- Added support for OBEX over l2cap and SRM.
- Minor bugfixes, and reduce CPU load ALOT
- Added support to send responses without body data.
- Extend BluetoothSocket to support L2CAP
- Added functionality to get the channel number
needed to be able to create an SDP record with the channel number.
- Added interface to get socket type and max packet sizes.
- Added interface to perform SDP search and get the resulting
SDP record data.
Change-Id: I9d37a00ce73dfffc0e3ce03eab5511ba3a86e5b8
Diffstat (limited to 'api/system-current.txt')
-rw-r--r-- | api/system-current.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 0e5af53..aefa999 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -6721,10 +6721,16 @@ package android.bluetooth { public final class BluetoothSocket implements java.io.Closeable { method public void close() throws java.io.IOException; method public void connect() throws java.io.IOException; + method public int getConnectionType(); method public java.io.InputStream getInputStream() throws java.io.IOException; + method public int getMaxReceivePacketSize(); + method public int getMaxTransmitPacketSize(); method public java.io.OutputStream getOutputStream() throws java.io.IOException; method public android.bluetooth.BluetoothDevice getRemoteDevice(); method public boolean isConnected(); + field public static final int TYPE_L2CAP = 3; // 0x3 + field public static final int TYPE_RFCOMM = 1; // 0x1 + field public static final int TYPE_SCO = 2; // 0x2 } } |