Android Bluetooth stack and Low Energy: Difference between revisions

From Variscite Wiki
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Android Bluetooth Stack==
<!-- Set release according to "release" parameter in URL and use RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6 as default
We recommend you go through https://developer.android.com/guide/topics/connectivity/bluetooth-le to understand the software stack.<br>
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
For more details: https://www.youtube.com/watch?v=2fZThdNbHcQ<br>
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!--
VAR-SOM-MX6, DART-MX6 and VAR-SOM-SOLO/Dual are capable of supporting BLE 4.0.
--> {{PageHeader|{{#var:HARDWARE_NAME}} - {{#switch: {{#var:ANDROID_NAME}} | Android 10 = {{#var:ANDROID_NAME}} | Android 11 = {{#var:ANDROID_NAME}} | | Android 12 = {{#var:ANDROID_NAME}} | Android 13 = {{#var:ANDROID_NAME}} | Android {{#var:ANDROID_NAME}} }} - Bluetooth}} {{DocImage|category1=Android|category2={{#var:HARDWARE_NAME}}}} __toc__
==Android Bluetooth Stack references==
Recommended links:<br>
https://developer.android.com/guide/topics/connectivity/bluetooth-le<br>
https://www.youtube.com/watch?v=2fZThdNbHcQ<br>
<br>
{{#var:HARDWARE_NAME}} supports BLE 4.0.
 
By default {{#var:HARDWARE_NAME}} A2DP(SRC) , AVRCP(SRC) supported.


==Paring Device==
==Paring Device==
Line 10: Line 18:
===Click on the device and click on pair===
===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===
===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.  
*Note: For pin, you must refer to the device manual trying to connect.
 
==Using Device as Bluetooth client==
 
 
==Using Device as Bluetooth Server==

Latest revision as of 07:35, 11 September 2023

VAR-SOM-MX6 - Android Nougat - Bluetooth

Android Bluetooth Stack references

Recommended links:
https://developer.android.com/guide/topics/connectivity/bluetooth-le
https://www.youtube.com/watch?v=2fZThdNbHcQ

VAR-SOM-MX6 supports BLE 4.0.

By default VAR-SOM-MX6 A2DP(SRC) , AVRCP(SRC) supported.

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.