I have a Bluetooth service that I programmed for .Net on a Windows computer and I would like my Android 2.1 phone to connect to it. The server is listening on the same UUID that Android uses to connect. But the connection does not work.
When I try to connect to devices that do not listen to this UUID, I get an exception with the message "Service discovery failed," but when I try to connect to a server that listens for the correct UUID, a message box pops up:
"The problem was with the Bluetooth device."
And I get an exception with the message "Connection timeout". Thus, it looks like the server and Android are communicating, but there is some kind of failure in the process of establishing a connection. I know that Android requires the server to be paired with the phone and also encrypted the communication channel. Does anyone know what specifications are used for this? I would like my server to correctly respond to a connection attempt.
Thanks!
android cross-platform bluetooth
Philipp
source share