Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Bluetooth

If I wanted to connect to another device via bluetooth how would I do it?

Nothing I've done seems to work. The phone I'm trying to connect to is non android and has bluetooth on and discoverable.

like image 840
Mitchell Avatar asked Jun 22 '26 13:06

Mitchell


1 Answers

Bluetooth API is realy poor in this case... let's have look at java-doc:

Hint: If you are connecting to a Bluetooth serial board then try using the well-known SPP UUID 00001101-0000-1000-8000-00805F9B34FB. However if you are connecting to an Android peer then please generate your own unique UUID.

from: link text

According to this, your peer should be visible under the 00001101-0000-1000-8000-00805F9B34FB service record.

like image 105
Damian Kołakowski Avatar answered Jun 24 '26 01:06

Damian Kołakowski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!