Bluetooth in Linux with DUN and HFP
I have to simulate a mobile phone bluetooth connection to the car ECU. I have a linux system running to simulate the mobile phone. It has blueZ utils.
I would like to know if I should have separate serial connections (rfcomm0 and rfcomm1) to run the bluetooth DUN and hands free(HFP)protocol to the car ECU or can these protocols work on the same /dev/rfcomm channel?
Also how to enable the HFP service on the BlueZ utils?
Is there a file where a relevant parameter should be changed within the Bluez-->src directory?
Thanks in advance