chan_mobile
Set Up Bluetooth on Linux
Install packages
# For RedHat
yum install bluez bluez-tools
# For Debian/Ubuntu
apt-get install bluetooth bluez
Service bluetooth
# For RedHat
systemctl restart bluetooth
systemctl status bluetooth
Pair the BT devices
bluetoothctl
[bluetooth]#
Controller 00:1A:7D:DA:71:13
Name: freepbx.sangoma.local
Alias: freepbx.sangoma.local
Class: 0x000104
Powered: no
Discoverable: no
Pairable: no
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052C
Discovering: no
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# scan on
bluetoothctl
Available commands:
list
show [ctrl]
select <ctrl>
devices
paired-devices
system-alias
connect <address>
disconnect
remove <address>
power <on/off>
mode <mode>
agent <on/off/capability/timeout>
default-agent
scan <on/off>
pairable <on/off>
pair <address>
discoverable <on/off>
info <address>
menu <command>
quit