Routing audio from GSM module to a Bluetooth HandsFree device
- by Shaihi
I have a system with the following setup:
I use:
Windows CE 6 R3
Microsoft's Bluetooth stack including all profiles
Motorola H500
The Audio Gateway service is up and running (checked through services list in cmd)
GSM Module is functional - I am able to set outgoing calls and to answer calls.
Bluetooth is functional - the A2DP profile plays music to Motorola headphones (can't remember the model right now)
I want to hold a conversation using a headset device. I have included all Bluetooth components in the catalog.
I pair the device using the Control Panel applet. When I press the button on the Motorla device to answer a call I get a print by the Audio Gateway:
BTAGSVC: ConnectionEvent.
BTAGSVC: SCOListenThread_Int - Connection Event.
BTAGSVC: ConnectionEvent.
BTAGSVC: SCOListenThread_Int - Connection Event.
BTAGSVC: ConnectionEvent.
BTAGSVC: A Bluetooth peer device has connected to the Audio Gateway.
BTAGSVC: Could not open registry key for BT Addr: 2.
BTAGSVC: The peer device was not accepted since the user has never confirmed it as a device to be used.
So my questions are as follows:
What do I need to do to pair the device with the Audio Gateway?
Once my device is paired, do I need to set anything else up? (except for the GSM module of course)