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
/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.