Skip to content Skip to sidebar Skip to footer

Bluetooth Connection In Android > 4.1.2

I wrote the following activity to connect my Nexus 7 with Arduino, to simply exchange 0 and 1 to switch on and off a led. I took example from here: http://developer.android.com/gui

Solution 1:

Android 4.2 has a completely redesigned Bluetooth stack (Bluedroid), while earlier versions used Bluez. In 4.2 Bluedroid is known to have issues connecting to RFCOMM (also known as SPP). See here: https://code.google.com/p/android/issues/detail?id=41110

Android 4.3 supposedly fixes it. You can try upgrading to 4.3 with a firmware image from https://developers.google.com/android/nexus/images and see if that fixes the issue.

Solution 2:

Kindly ensure pairing the device explicitly from your Android phone’s settings. Usually the pair code is 1234. The Hardware Tx,Rx pin are preferred if free on the Arduino. 96200 baud rate is generally better

Post a Comment for "Bluetooth Connection In Android > 4.1.2"