Skip to contentSkip to conversation

SCO route way!!

Bluez-users Chen Bin 2 participants 4 messages Sep 27, 2004 – Sep 28, 2004 Bluetooth drivers

lore
Share & tools
lore

Chen Bin

author
#0 lore raw

Hi all,

I am developing Bluetooth on Smart Phone, I have a question about bluetooth voice, I don't know whether it is suitable to ask this question here.

My chip is TI BRF6100, I can change data between my board and the BT usb dongle, and it can connect to the bluetooth headset, but it can't play any music to it.

The rfcomm connection has been connected and I can receive the AT command from the headset.Using hcidump, I found that the SCO link is added, but then there is no SCO traffic in the channel.

The chip can support SCO data route from hci or direct to the baseband from codec. I think the default choice of the chip is baseband.

How can I choose the SCO route method? Is it a standard HCI command or vendor-specific command?

Any help appreciated!

Chen

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Chen,

Quoted 3 lines

I am developing Bluetooth on Smart Phone, I have a question about bluetooth voice, I don't know whether it is suitable to ask this question here.

yes, this is the wrong mailing list until you start using Linux and BlueZ on your smart phone ;)

Quoted 8 lines

My chip is TI BRF6100, I can change data between my board and the BT usb dongle, and it can connect to the bluetooth headset, but it can't play any music to it.

The rfcomm connection has been connected and I can receive the AT command from the headset.Using hcidump, I found that the SCO link is added, but then there is no SCO traffic in the channel.

Quoted 5 lines

The chip can support SCO data route from hci or direct to the baseband from codec. I think the default choice of the chip is baseband.

How can I choose the SCO route method? Is it a standard HCI command or vendor-specific command?

There are two ways, SCO over HCI and SCO over PCM. There is no standard HCI command to switch between them. They are all vendor specific or preset by the chip manufacturer and not changeable.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw

Hi Holtmann,

Thanks for your kind answer. I have another question.

If the SCO is over PCM, what should I do before I write data from the codec to the chip, just establish the connection is enough?

I mean, I use HCI ACL to add a SCO link with the chip, then I write the voice data from the codec to the chip. I wonder if there are several SCO connections over the chip, how can the chip determine which connection will be used to send the voice? Should I do more steps to specify which connection to use?

Thanks in advance.

Chen

Quoted 32 lines · 在2004年09月28日的16:14,Marcel Holtmann写道:

Hi Chen,

Quoted 3 lines

I am developing Bluetooth on Smart Phone, I have a question about bluetooth voice, I don't know whether it is suitable to ask this question here.

yes, this is the wrong mailing list until you start using Linux and BlueZ on your smart phone ;)

Quoted 8 lines

My chip is TI BRF6100, I can change data between my board and the BT usb dongle, and it can connect to the bluetooth headset, but it can't play any music to it.

The rfcomm connection has been connected and I can receive the AT command from the headset.Using hcidump, I found that the SCO link is added, but then there is no SCO traffic in the channel.

Quoted 5 lines

The chip can support SCO data route from hci or direct to the baseband from codec. I think the default choice of the chip is baseband.

How can I choose the SCO route method? Is it a standard HCI command or vendor-specific command?

There are two ways, SCO over HCI and SCO over PCM. There is no standard HCI command to switch between them. They are all vendor specific or preset by the chip manufacturer and not changeable.

Regards

Marcel

maintainer
#3 lore raw

Hi Chen,

Quoted 2 lines

If the SCO is over PCM, what should I do before I write data from the codec to the chip, just establish the connection is enough?

in general, yes.

Quoted 5 lines

I mean, I use HCI ACL to add a SCO link with the chip, then I write the voice data from the codec to the chip. I wonder if there are several SCO connections over the chip, how can the chip determine which connection will be used to send the voice? Should I do more steps to specify which connection to use?

This depends on your chip manufacturer. Ask them.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users