Forums - QCA9377 HCI SCO Routing

6 posts / 0 new
Last post
QCA9377 HCI SCO Routing
saisreekartheek...
Join Date: 30 Jun 21
Posts: 8
Posted: Thu, 2021-07-01 00:06

Hi,

I'm using Pico i.MX8MM. I'm trying to use it as a bluetooth speaker which I can connect to my android phone for Media Streaming and Calls.

Media Streaming is working (A2DP profile) but while on Calls (HSP/HFP profiles), It is always silent on both Receiver end and at the local speaker. The issue is same irrespective of using PulseAudio or Blues-Alsa.

When I give "hciconfig" command, I see there are no sco packets on both tx and rx side even when on calls.

root@pico-imx8mm:~# hciconfig
hci0: Type: Primary  Bus: UART
BD Address: 00:1F:7B:31:80:1B  ACL MTU: 1024:7  SCO MTU: 60:8
UP RUNNING PSCAN 
RX bytes:2268926 acl:3965 sco:0 events:290 errors:0
TX bytes:7414 acl:179 sco:0 commands:92 errors:0

The command I'm using to initially setup the hci device is,

hciattach -t 30 /dev/ttymxc0 qca 3000000 flow

Here are my Software Versions:

Linux kernel version: 4.14

BlueZ version: 5.49

bluez-Alsa version: v3.1.0-4-gb21ea62

PulseAudio: 11.1
 

Since I see "sco:0" in both "RX bytes" and "TX bytes" of "hciconfig" command, I think it is something to do with the SCO Routing. Are there any commands that I'm missing to set the SCO Routing?

 
Thanks,
S S Kartheek Adivi
  • Up0
  • Down0
saisreekartheek...
Join Date: 30 Jun 21
Posts: 8
Posted: Mon, 2021-07-12 21:39

From my research and understanding, all I need is a "hcitool command" that switches the SCO data route from "PCM" to "HCI UART".

Is there any document for "QCA9377" which states the available hcitool commands?

  • Up0
  • Down0
matadeen
Join Date: 12 Oct 17
Posts: 29
Posted: Mon, 2021-07-12 22:35

Dear S S Kartheek Adivi,

could you please share the BT Firmware file

No we don't have any document for the BlueZ.

Regards,

Matadeen Mishra

  • Up0
  • Down0
saisreekartheek...
Join Date: 30 Jun 21
Posts: 8
Posted: Tue, 2021-07-13 05:53

Hi Matadeen Mishra,

I've just sent you the BT Firmware over mail. Please check it.

Thanks,

S S Kartheek Adivi

  • Up0
  • Down0
gary.bisson
Join Date: 18 Dec 17
Posts: 2
Posted: Wed, 2023-06-28 02:05

Hi,

Can you share that firmware as I'm also interested in SCO over HCI for the qca9377-3?

I can see in the "80-WL431-26 Rev. A"  doc that Tag44 allows to disable SCO over PCM, does that mean it would then fallback into SCO over HCI?

Regards,

Gary

  • Up0
  • Down0
ravindranath.andela
Join Date: 17 Oct 23
Posts: 1
Posted: Tue, 2023-10-17 01:23

we have a similar requirement on QCA6174A to route SCO over HCI. we are using fluoride Linux port from QC. is there any way we can route sco data over HCI.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.