The official source would be documents about specific profiles on BT SIG (bluetooth.com). Or you may just take a look at sdptool or other sources (here's pretty long list: http://32feet.codeplex.com/sourcecontrol/network/Show?projectName=32feet&changeSetId=64636#51271).
On Mar 11, 7:16 pm, Arun <[email protected]> wrote: > You're right on the money! :-) > Thank you! 00000003-0000-1000-8000-00805F9B34FB did not work. I could > connect to BT headset on 00001101-0000-1000-8000-00805F9B34FB! > Where can I find more information on these well known UUIDs like HFP, > OBEX, etc? > > On Mar 10, 11:08 pm, moneytoo <[email protected]> wrote: > > > > > 00000003-0000-1000-8000-00805F9B34FB is 128 bit UUID. > > 00000003 is 32 bit UUID. > > 0003 is 16 bit UUID. > > > To create record advertising serial service, use the SPP 16 bit UUID > > and add the BT part. > > 00001101-0000-1000-8000-00805F9B34FB is UUID for SPP on Android. > > > On Mar 11, 4:26 am, Arun <[email protected]> wrote: > > > > I am trying to connect to a Bluetooth headset, and it fails at the > > > time of connect with an error: "Service Discovery Failed". Following > > > is the code snippet. > > > > BluetoothSocket btsock = > > > device.createRfcommSocketToServiceRecord(UUID.fromString("00000003-0000-1000-8000-00805F9B34FB")); > > > btsock.connect(); > > > > Obviously, the problem is with the UUID. > > > > We've a J2ME implementation that can connect to the headset with UUID > > > as: > > > final UUID RFCOMM_UUID = new UUID(0x0003); > > > > Same headset can be connected on Symbian implementation using: > > > KSerialPortUUID = 0x1101; > > > > We do not have the folks who worked on both J2ME and Symbian. > > > What should be the UUID in Android? What would be the 128 bit UUID for > > > SerialPort service? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

