How to setup bluetooth HFP connection between two Freescale i.MX6 Solo boards?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to setup bluetooth HFP connection between two Freescale i.MX6 Solo boards?

2,550 Views
torwang
Contributor I

Hi all,

List some information as below:

Board: Reference i.MX6 Solo board

Yocto version: Poky (Yocto Project Reference Distro) 1.6.2

uname -a: Linux imx6solosabreauto 3.10.17-1.0.1_ga

bluez version: bluez5

ofono version: 1.14

pulseaudio version: 6.0

BT module: MARVELL88W8887

We already get A2DP work between two Freescale i.MX6 Solo board, set one as A2DP audio source, set another as A2DP audio sink.

Now we want to setup bluetooth HFP connection between two Freescale i.MX6 Solo board.

We know that we have to set one as HFP AG role, set another as HFP HF role.

Base on bluetooth HFP specification V1.6, we need to accomplish service level connection initialization procedure.

After rfcomm connection setup, we only make HFP HF role send "AT+BRSF=<HF Supported features>", but HFP AG role can not response "+BRSF:<AG Supported features>", the service level connection stops due to the lack of HFP AG role setup.

We also try to bring up ofonod with --noplugin=hfp_bluez5 option to set HFP AG role, but no success.

What daemon(bluetoothd, ofonod, pulseaudio) options or configuration need to be set while these daemons bring up as bluetooth HFP AG and HF role?

Is there any information to accomplish bluetooth HFP connection flow?

Best Regards,

Tor Wang

Labels (1)
0 Kudos
1 Reply

1,232 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tor

I am not aware of HFP implementation for i.MX6, but one needs

to pay attention that for HFP PCM (I2S) path should be used between modem

and the codec, so feed 8K pcm voice stream to audio codec module like WM8962

on sabre reference board. As sabre does not has such connection, seems this

implementation is not feasible.

For info how to accomplish bluetooth HFP connection flow one can look at

Hands-Free Profile | Bluetooth Development Portal

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos