Android Bluetooth stack and Low Energy: Difference between revisions

From Variscite Wiki
No edit summary
 
(6 intermediate revisions by 2 users not shown)
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}} - {{#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==
==Android Bluetooth Stack references==
We recommend you go through https://developer.android.com/guide/topics/connectivity/bluetooth-le to understand the software stack.<br>
Recommended links:<br>
For more details: https://www.youtube.com/watch?v=2fZThdNbHcQ<br>
https://developer.android.com/guide/topics/connectivity/bluetooth-le<br>
{{#var:HARDWARE_NAME}} is capable of supporting BLE 4.0.
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 15: Line 19:
===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.