Changing bluetooth class to act as a hands free device and car audio
Clash Royale CLAN TAG#URR8PPP
I posted this on raspberrypi.stackexchange.com with no luck, figured it is more of a generic linux question than Raspberry pi specific.
I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly.
My question is regarding changing the class of the bluetooth device so it can receive phone call audio too like a normal car hands free kit.
I will admit I am not 100% familiar with all the terminology involved so will apologise in advance.
If I change the class value in /etc/bluetooth/main.conf and reboot I get a different class listed in the bluetoothctl tool output. To get the class I used this tool https://www.ampedrftech.com/cod.htm
When I make the change I think the system is correcting the Class to be Rendering (Speaker) and Capturing (Microphone) Device but I do not see the phone audio option on my phone (See screenshot).
/etc/bluetooth/main.conf
[General]
# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ
# Default device class. Only the major and minor device class bits are
Name = Orion Audio Link
# considered. Defaults to '0x000000'.
#Class = 0x000100
Class = 0x600420
This is the output from bluetoothctl
pi@raspberrypi:/etc/bluetooth $ sudo bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:13 Orion Audio Link [default]
[NEW] Device 54:B1:21:94:3C:26 deans
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
Name: Orion Audio Link
Alias: Orion Audio Link
Class: 0x0c0420
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052B
Discovering: no
Screenshot from my phone:
debian bluetooth bluez
add a comment |
I posted this on raspberrypi.stackexchange.com with no luck, figured it is more of a generic linux question than Raspberry pi specific.
I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly.
My question is regarding changing the class of the bluetooth device so it can receive phone call audio too like a normal car hands free kit.
I will admit I am not 100% familiar with all the terminology involved so will apologise in advance.
If I change the class value in /etc/bluetooth/main.conf and reboot I get a different class listed in the bluetoothctl tool output. To get the class I used this tool https://www.ampedrftech.com/cod.htm
When I make the change I think the system is correcting the Class to be Rendering (Speaker) and Capturing (Microphone) Device but I do not see the phone audio option on my phone (See screenshot).
/etc/bluetooth/main.conf
[General]
# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ
# Default device class. Only the major and minor device class bits are
Name = Orion Audio Link
# considered. Defaults to '0x000000'.
#Class = 0x000100
Class = 0x600420
This is the output from bluetoothctl
pi@raspberrypi:/etc/bluetooth $ sudo bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:13 Orion Audio Link [default]
[NEW] Device 54:B1:21:94:3C:26 deans
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
Name: Orion Audio Link
Alias: Orion Audio Link
Class: 0x0c0420
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052B
Discovering: no
Screenshot from my phone:
debian bluetooth bluez
add a comment |
I posted this on raspberrypi.stackexchange.com with no luck, figured it is more of a generic linux question than Raspberry pi specific.
I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly.
My question is regarding changing the class of the bluetooth device so it can receive phone call audio too like a normal car hands free kit.
I will admit I am not 100% familiar with all the terminology involved so will apologise in advance.
If I change the class value in /etc/bluetooth/main.conf and reboot I get a different class listed in the bluetoothctl tool output. To get the class I used this tool https://www.ampedrftech.com/cod.htm
When I make the change I think the system is correcting the Class to be Rendering (Speaker) and Capturing (Microphone) Device but I do not see the phone audio option on my phone (See screenshot).
/etc/bluetooth/main.conf
[General]
# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ
# Default device class. Only the major and minor device class bits are
Name = Orion Audio Link
# considered. Defaults to '0x000000'.
#Class = 0x000100
Class = 0x600420
This is the output from bluetoothctl
pi@raspberrypi:/etc/bluetooth $ sudo bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:13 Orion Audio Link [default]
[NEW] Device 54:B1:21:94:3C:26 deans
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
Name: Orion Audio Link
Alias: Orion Audio Link
Class: 0x0c0420
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052B
Discovering: no
Screenshot from my phone:
debian bluetooth bluez
I posted this on raspberrypi.stackexchange.com with no luck, figured it is more of a generic linux question than Raspberry pi specific.
I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly.
My question is regarding changing the class of the bluetooth device so it can receive phone call audio too like a normal car hands free kit.
I will admit I am not 100% familiar with all the terminology involved so will apologise in advance.
If I change the class value in /etc/bluetooth/main.conf and reboot I get a different class listed in the bluetoothctl tool output. To get the class I used this tool https://www.ampedrftech.com/cod.htm
When I make the change I think the system is correcting the Class to be Rendering (Speaker) and Capturing (Microphone) Device but I do not see the phone audio option on my phone (See screenshot).
/etc/bluetooth/main.conf
[General]
# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ
# Default device class. Only the major and minor device class bits are
Name = Orion Audio Link
# considered. Defaults to '0x000000'.
#Class = 0x000100
Class = 0x600420
This is the output from bluetoothctl
pi@raspberrypi:/etc/bluetooth $ sudo bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:13 Orion Audio Link [default]
[NEW] Device 54:B1:21:94:3C:26 deans
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
Name: Orion Audio Link
Alias: Orion Audio Link
Class: 0x0c0420
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052B
Discovering: no
Screenshot from my phone:
debian bluetooth bluez
debian bluetooth bluez
asked Feb 15 at 15:54
doghousedeandoghousedean
61
61
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500904%2fchanging-bluetooth-class-to-act-as-a-hands-free-device-and-car-audio%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500904%2fchanging-bluetooth-class-to-act-as-a-hands-free-device-and-car-audio%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown