gregsco
Wed Jul 27 21:12:47 CDT 2005
Look at the following sample code to understand how the network component
interacts with the AG component. This sample code uses TAPI.
public\common\oak\drivers\bluetooth\sample\ag\network
The AG does not use the btscosnd driver by default. It expects that your
platform will have hardware audio routing enabled to the BT chip. The AG
sends the wave message WODM_BT_SCO_AUDIO_CONTROL to the default audio
driver and expects it to enable/disable SCO audio in hardware.
That said, if you set the following registry in the AG (with btscosnd as
your default audio driver) it should work. Btscosnd will receive the wave
message and handle audio in software. Keep in mind the btscosnd driver is
a sample and might need some work to get to production quality.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway]
"MapAudioToPcmMode"=dword:0
(setting this registry makes the AG defer SCO connect/disconnect to the
audio driver)
For more details on this AG registry setting (and other AG info) see MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/ht
ml/wce50oriAudioGatewayService.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/ht
ml/wce50conaudiogatewayregistrysettings.asp
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
--------------------
| From: "Darshan_om" <darshan@tataelxsi.co.in>
| Newsgroups: microsoft.public.windowsce.platbuilder
| Subject: Issues with Blutooth-netwok Component
| Date: 26 Jul 2005 04:15:56 -0700
| Organization:
http://groups.google.com
| Lines: 21
| Message-ID: <1122376556.401420.176910@g44g2000cwa.googlegroups.com>
| NNTP-Posting-Host: 203.197.169.20
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1122376561 16256 127.0.0.1 (26 Jul 2005
11:16:01 GMT)
| X-Complaints-To: groups-abuse@google.com
| NNTP-Posting-Date: Tue, 26 Jul 2005 11:16:01 +0000 (UTC)
| User-Agent: G2/0.2
| Complaints-To: groups-abuse@google.com
| Injection-Info: g44g2000cwa.googlegroups.com; posting-host=203.197.169.20;
| posting-account=gZM_Xw0AAACP0PYhiAG2OQy7CpVxpsUP
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!news.glorb.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-fo
r-mail
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsce.platbuilder:22301
| X-Tomcat-NG: microsoft.public.windowsce.platbuilder
|
| Hello All,
| As i am developing a blue tooth application, i am changing some
| of the implementation of network component of AUDIO GATEWAY.
|
| I have my application with simulates outside netwok and from which
| i simulate incoming calls.
|
| SO, i am finding
| ------> problems with proper understanding of sequence of events
| occurs --how netwok component & AG behaves
| 1) when there is incoming call..
| 2) when there is a incoming call and u press answer button
| on headset.
| 3) When SCO channel is estableshed
| 4) which components opens the audio driver--scosnd(sample
| bluetooth audio driver) and when?
| Please help me to find out the event sequences in these
| cases..
| Thanks a lot in Advance and hope i will get a reply soon,
| Darshan
|
|