Use Debian Laptop as Bluetooth headset?
5
votes
2
answers
3177
views
I want to use my laptop (Debian 8.4) as a bluetooth headset for my smartphone (OnePlus One, Android). This means not just audio of my phone, also incoming calls.
I already managed to play normal audio over the laptop speakers, but no telephone data. I saw there is a headset profile for bluetooth. Does it work automatically? I already had worked with PBAP and MAP, but in the bluetooth headset specification i found no helping answers.
I set the bluetooth class of my laptop to
0x40040C
in /etc/bluetooth/main.conf
and also set it via
hciconfig hci0 class 0x40040C
The class I get from this website .
To connect it I use bluetoothctl
. But when I change the modus (eg. discoverable on), the laptop always changes its bluetooth class back to laptop.
When I am searching for devices at my phone, the laptop appears with a headset icon, but when I pair, the icon changes to a regular headphone icon. In the settings there is also 'Media Audio'. What I think I need is 'Telephone Audio'. So the question is, how can I achieve this?
It would be great if I heave no extra (graphical) tools to install and even better when there is some code to get it work in QT. All examples I have found do not work, are for Windows or are too old. In my case receiving a message per bluetooth that a call is incoming would be enough (like a simple smartwatch, just showing).
With my current solution with media audio, I hear just the phone ringing, on laptop and phone simultaneously, but just if I set the telephone sound on my phone from silent or vibration to any volume.
Asked by SteffenH
(123 rep)
Jun 24, 2016, 11:32 AM
Last activity: Aug 6, 2018, 02:17 PM
Last activity: Aug 6, 2018, 02:17 PM