Saturday, July 30, 2011

[android-developers] How to find available services in a bluetooth connected device

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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment