Android Bluetooth Cross Platform Interoperability

Posted by Philipp on Stack Overflow See other posts from Stack Overflow or by Philipp
Published on 2010-02-15T19:23:13Z Indexed on 2010/03/27 11:13 UTC
Read the original article Hit count: 262

Filed under:
|
|

Hi, I have a Bluetooth service that I programmed for .Net on a Windows machine and I would like my Android 2.1 phone to connect to it. The server is listening for the same UUID which the Android is using to connect. But the connection is failing.

When I try to connect to devices that are not listening for that UUID, I get an exception with the message "Service discovery failed", but when I try to connect to the server that is listening for the right UUID a message box pops up saying:

"There was a problem pairing with bluetooth device."

And I get an exception with the message "Connection timed out." So it looks like the server and the Android are communicating, but there is some sort of failure during handshaking. I know that the Android requires that the server is paired with the phone and also encrypts the communication channel. Does anyone know which specifications are used to do this? I would love to get my server to respond properly to the connection attempt.

Thanks!

© Stack Overflow or respective owner

Related posts about android

Related posts about bluetooth