Android Bluetooth stack and Low Energy: Difference between revisions

From Variscite Wiki
Line 1: Line 1:
<!-- Set release according to "release" parameter in URL and use RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6 as default
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!--
--> {{PageHeader|{{#var:HARDWARE_NAME}} - Android {{#var:ANDROID_NAME}} {{#var:ANDROID_VERSION}} Creating Android Development Environment}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Android}} __toc__
==Android Bluetooth Stack==
==Android Bluetooth Stack==
We recommend you go through https://developer.android.com/guide/topics/connectivity/bluetooth-le to understand the software stack.<br>
We recommend you go through https://developer.android.com/guide/topics/connectivity/bluetooth-le to understand the software stack.<br>
For more details: https://www.youtube.com/watch?v=2fZThdNbHcQ<br>
For more details: https://www.youtube.com/watch?v=2fZThdNbHcQ<br>
VAR-SOM-MX6, DART-MX6 and VAR-SOM-SOLO/Dual are capable of supporting BLE 4.0.
{{#var:HARDWARE_NAME}} is capable of supporting BLE 4.0.


==Paring Device==
==Paring Device==

Revision as of 00:38, 25 December 2019

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