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.
[email protected]-imx8mm:~# hciconfighci0: Type: Primary Bus: UARTBD Address: 00:1F:7B:31:80:1B ACL MTU: 1024:7 SCO MTU: 60:8UP RUNNING PSCANRX bytes:2268926 acl:3965 sco:0 events:290 errors:0TX 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
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?