summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/BluetoothDevice.java
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2010-02-24 11:19:10 -0800
committerNick Pelly <npelly@google.com>2010-02-24 11:19:10 -0800
commitea5056e5a705048f8495131ab0dcf087a2633fed (patch)
tree9eb33c0e32d23282cc9831bc6c0e79d95e2aab58 /core/java/android/bluetooth/BluetoothDevice.java
parentc1ba7431a45dbf10f211e7b0bbf5b03e64bf020c (diff)
downloadframeworks_base-ea5056e5a705048f8495131ab0dcf087a2633fed.zip
frameworks_base-ea5056e5a705048f8495131ab0dcf087a2633fed.tar.gz
frameworks_base-ea5056e5a705048f8495131ab0dcf087a2633fed.tar.bz2
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 'core/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r--core/java/android/bluetooth/BluetoothDevice.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothDevice.java b/core/java/android/bluetooth/BluetoothDevice.java
index cf9c58f..e77e76f 100644
--- a/core/java/android/bluetooth/BluetoothDevice.java
+++ b/core/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