EasyManua.ls Logo

VIA Technologies VAB-820 - Setting up Bluetooth SPP Profile

VIA Technologies VAB-820
39 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VAB-820 Linux BSP v3.2.0 Quick Start Guide
27
The default audio output setting for the VAB-820 is HDMI device.
To list all the available audio output devices, use the following command:
$ pactl list short sinks
0 alsa_output.platform-sound-hdmi.23.analog-stereo module-alsa-card.c s16le 2ch 48000Hz
SUSPENDED
1 alsa_output.platform-sound.22.analog-stereo module-alsa-card.c s16le 2ch 48000Hz
SUSPENDED
2 bluez_sink.00_1D_82_BC_C1_C4 module-bluez5-device.c s16le 2ch 48000Hz IDLE
From the output, we can see the following:
0 = HDMI device
1 = Line-out
2 = Bluetooth device
To set up the audio output to a Bluetooth device, use the following command:
$ pacmd set-default-sink 2
*Note
: If you would like to change audio output after enabling a Bluetooth device, use
the commands below:
To set up the audio output to Line-out, use the following command:
$ pacmd set-default-sink 1
To set up the audio output to HDMI device, use the following command:
$ pacmd set-default-sink 0
5.7.2.2. Setting Up Bluetooth SPP Profile
The VAB-820 supports SPP server mode and SPP client mode.
To enable the Bluetooth service, use the following command:
$ rfkill unblock bluetooth
$ hciconfig hci0 up
$ hciconfig hci0 piscan
$ /usr/lib/bluez5/bluetooth/bluetoothd -C -d &
Use the following commands to run the “bluetoothctl” to show the Bluetooth MAC
address and set up pairing mode for the
EMIO-2531 or EMIO-5531
module.
$ bluetoothctl
[NEW] Controller 5C:F3:70:24:4B:2E
[bluetooth]# scan on
Discovery started
[CHG] Controller 5C:F3:70:24:4B:2E Discovering: yes
[NEW] Device 5C:F3:70:25:DD:33 BlueZ 5.25
[bluetooth]# scan off
[bluetooth]# devices
Device 5C:F3:70:25:DD:33 BlueZ 5.25
Device …
[bluetooth]# pair 5C:F3:70:25:DD:33
[bluetooth]# trust 5C:F3:70:25:DD:33
[bluetooth]# quit

Table of Contents

Other manuals for VIA Technologies VAB-820

Related product manuals