I am trying to establish Bluetooth connectivity between an Android device and the Ubuntu version of the Stick. When I run the server-side JAR file that looks for a connection, then try to connect to the device via an app that works with this code, I'll get an error from the Android device saying that it couldn't connect to the device because of a PIN/passkey mismatch. (I would never be asked for one; only to ask if I wanted to connect.)
I've tried the same client code on an old computer with XP and the Windows version of the Stick. In that case, I was given the option on the tablet to enter the passkey, and upon confirming the device connection on the other end, I would have a successful Bluetooth connection through that app. This has led me to believe that there is some sort of driver issue with regards to the Ubuntu Stick. This is the same server-side JAR file and SDK, and I'm assuming that the Bluetooth hardware is the same for both Windows and Ubuntu Sticks.
Here's what I've done so far:
None of the above have fixed my issue. Could there be any particular drivers that I'm missing? Or does Ubuntu handle Bluetooth information differently than Windows, and I'm SOL?
(app I'm testing is from http://luugiathuy.com/2011/02/android-java-bluetooth/ http://luugiathuy.com/2011/02/android-java-bluetooth/)
We haven't received any issues like the one you reported, however let me perform a lab under these circumstances and I will be updating this thread.
I performed the lab under your circumstances but the issue you mentioned did not occur, the android device I connected through the Bluetooth worked fine, I was able to sent files through the connection without any issue. At this point since you're using a third-party application I would recommend to check with the app support team and the http://ubuntuforums.org/ Ubuntu Forums about this matter.