Routing audio from GSM module to a Bluetooth HandsFree device

Posted by Shaihi on Stack Overflow See other posts from Stack Overflow or by Shaihi
Published on 2010-04-18T14:46:10Z Indexed on 2010/04/18 15:03 UTC
Read the original article Hit count: 451

Filed under:
|

I have a system with the following setup: Bluetooth connected to GSM module using the PCM lines and GSM module connected to the AC97 codec using analog lines
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:

  1. What do I need to do to pair the device with the Audio Gateway?
  2. Once my device is paired, do I need to set anything else up? (except for the GSM module of course)

© Stack Overflow or respective owner

Related posts about windows-ce

Related posts about bluetooth