diff options
| author | Nick Pelly <npelly@google.com> | 2010-02-24 11:19:10 -0800 |
|---|---|---|
| committer | Nick Pelly <npelly@google.com> | 2010-02-24 11:19:10 -0800 |
| commit | b5faac489458fa666abbe8de41eb3ecb06a8fb90 (patch) | |
| tree | 8126dedf3ec8dafc40f9bc747d6720787f5329ea /framework/java/android/bluetooth/BluetoothDevice.java | |
| parent | 17e33a122e7e27a2d3a8f1ab69c837f667393486 (diff) | |
Add documentation to help developers make an RFCOMM conection to a Bluetooth
serial board. They all use a well-known UUID that is not really explained
anywhere official, and this always trips developers up.
Change-Id: I53bda44b580f472b1ff1ad196b25485b68f4b5d5
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothDevice.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java index cf9c58f122..e77e76f79b 100644 --- a/framework/java/android/bluetooth/BluetoothDevice.java +++ b/framework/java/android/bluetooth/BluetoothDevice.java @@ -664,6 +664,10 @@ public final class BluetoothDevice implements Parcelable { * determine which channel to connect to. * <p>The remote device will be authenticated and communication on this * socket will be encrypted. + * <p>Hint: If you are connecting to a Bluetooth serial board then try + * using the well-known SPP UUID 00001101-0000-1000-8000-00805F9B34FB. + * However if you are connecting to an Android peer then please generate + * your own unique UUID. * <p>Requires {@link android.Manifest.permission#BLUETOOTH} * * @param uuid service record uuid to lookup RFCOMM channel |
