Android Bluetooth stack and Low Energy

From Variscite Wiki
VAR-SOM-MX6 - Android Nougat N7.1.1 Creating Android Development Environment

Android Bluetooth Stack

We recommend you go through https://developer.android.com/guide/topics/connectivity/bluetooth-le to understand the software stack.
For more details: https://www.youtube.com/watch?v=2fZThdNbHcQ
VAR-SOM-MX6 is capable of supporting BLE 4.0.

Paring Device

Make sure your device you want to pair is discoverable

Turn on the Bluetooth from the Android Settings

Make sure you can see your device(s) in the discovered list

Click on the device and click on pair

The prompt may ask you to enter the PIN, or may try with default pin 0000/1111

  • Note: For pin, you must refer to the device manual trying to connect.

Using Device as Bluetooth client

Using Device as Bluetooth Server