AnsweredAssumed Answered

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

Question asked by Tor Wang on Jul 29, 2016
Latest reply on Jul 29, 2016 by igorpadykov

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

Outcomes