Android Bluetooth stack and Low Energy: Difference between revisions

From Variscite Wiki
No edit summary
Line 2: Line 2:
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!--
--> {{#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__
--> {{PageHeader|{{#var:HARDWARE_NAME}} - Android {{#var:ANDROID_NAME}} {{#var:ANDROID_VERSION}} Android Bluetooth Stack}} {{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>

Revision as of 00:42, 25 December 2019

VAR-SOM-MX6 - Android Nougat N7.1.1 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.
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