Enabling Bluetooth; Setting Up Bluetooth A2Dp Profile; Setting Up Bluetooth Spp Profile - VIA Technologies VAB-630 Quick Start Manual

Android evk v1.0.3
Hide thumbs Also See for VAB-630:
Table of Contents

Advertisement

VAB-630 Android EVK v1.0.3 Quick Start Guide
4.1.2.

Enabling Bluetooth

The following sections show how to enable the Bluetooth Advanced Audio Distribution
Profile (A2DP) to allow audio playback through a connected Bluetooth device as well
as how to configure the Bluetooth Serial Port Profile (SPP).

4.1.2.1. Setting Up Bluetooth A2DP Profile

First, put the accessory you want to use into discovery mode. The exact way to do this
depends on the accessory. If you have a headset, you may need to hold a button down
on the headset for several seconds until a light starts flashing. It will only stay
discoverable for a few minutes.
If you are not sure how to put your accessory into discovery mode, please refer to its
manual, check the manufacturer's website, or perform a web search for instructions. To
enable the Bluetooth A2DP function, go to Settings -> Bluetooth and set the switch to
On to enable the Bluetooth function.
A list of local devices will appear on the screen, select the appropriate device to
complete the Bluetooth paring.

4.1.2.2. Setting Up Bluetooth SPP Profile

The VAB-630 implements the Bluetooth Serial Port Profile allowing serial port
communication between two Android devices.
Included in the VAB-630 Tools folder is the BluetoothSPPTest.apk which is a simple
communication application which utilizes the Bluetooth SPP Profile to transmit and
receive data between two paired Android devices.
The following example will demonstrate how to use the BluetoothSPPTest.apk to
communicate over the Bluetooth SPP Profile between two VAB-630 boards.
First, the BluetoothSPPTest.apk must be installed onto each VAB-630 board. From the
Settings screen, click Security -> and then switch on the "Unknown sources" and allow
the installation of non-Market apps. Next, copy the BluetoothSPPTest.apk onto a mass
storage device, such as USB thumb drive, and install the BluetoothSPPTest.apk onto both
VAB-630 boards.
16

Advertisement

Table of Contents
loading

Table of Contents