Merge "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."
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user