[android-developers] Re: How to find available services in a bluetooth connected device
Hi try - Hint: If you are connecting to a Bluetooth serial board then try using the well-known SPP UUID 1101--1000-8000-00805F9B34FB. However if you are connecting to an Android peer then please generate your own unique UUID. see http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html regards On Jul 31, 2:46 pm, CBD androi...@gmail.com wrote: I am having exactly the same problem. I need to connect to a device and the docs for it do not say anything about what profiles it supports.. The device is paired, that was no problem, but I have no idea what UUID the device supports.. Been through the Blutooth API a few times, and since I'm on 3.1 I can use the latest. It must be there I'm just missing it in the docs.. Thanks in advance for any light you guys can shed.. -Charlie On Jul 30, 7:03 pm, guich guiha...@gmail.com wrote: Hi, I'm trying to establish a connection between an Android device and a cell phone (this is my first test, in the real world, i'll be connecting to any device, like a printer). I was already able to discover the device, and now i'm trying to connect to it. However, i didn't find in the android API a way to retrieve the services available and their UUIDs, so i can communicate to each one separately. Is there a way to do this on Android? Just as a simple test i tried to use the SPP UUID but it failed to connect (yes, all devices have bt on and are discoverable). Any help is appreciated regards guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to find available services in a bluetooth connected device
This thread answers the question: http://groups.google.com/group/android-developers/browse_thread/thread/bc36724593613382/312a1805eb4f2721?lnk=gstq=bluetooth+service#312a1805eb4f2721 Basically, Android does not provide such thing. guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to find available services in a bluetooth connected device
I am having exactly the same problem. I need to connect to a device and the docs for it do not say anything about what profiles it supports.. The device is paired, that was no problem, but I have no idea what UUID the device supports.. Been through the Blutooth API a few times, and since I'm on 3.1 I can use the latest. It must be there I'm just missing it in the docs.. Thanks in advance for any light you guys can shed.. -Charlie On Jul 30, 7:03 pm, guich guiha...@gmail.com wrote: Hi, I'm trying to establish a connection between an Android device and a cell phone (this is my first test, in the real world, i'll be connecting to any device, like a printer). I was already able to discover the device, and now i'm trying to connect to it. However, i didn't find in the android API a way to retrieve the services available and their UUIDs, so i can communicate to each one separately. Is there a way to do this on Android? Just as a simple test i tried to use the SPP UUID but it failed to connect (yes, all devices have bt on and are discoverable). Any help is appreciated regards guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en