Catching bluetooth events?

  • Thread starter Thread starter Jeff Hayes
  • Start date Start date
J

Jeff Hayes

I'm using an audiovox SMT5600 (Windows Mobile 2003 SE). The phone has one
annoying feature that I'd like to fix. When the keypad is locked, the
"special" button on a Bluetooth headset becomes partially disabled. You can
receive a call with it properly. But, you cannot initiate a call with voice
tags. The fact that the button can be used to receive a call tells me that
button event is being passed over the radio to the device. So my question
is twofold....

a) Does anyone know how I can be notified that the headset button has been
pressed?
b) Which API is used to access the voice tags.

Any help or links to books, code samples, etc. would be greatly appreciated.
 
The problem here is although it's possible to setup a bluetooth connection
to the headset yourself and intercept button presses, the system has the
HeadsetAudioGateway service bonded to that specific device already. And the
AudioGateway service on Windows Mobile does not have a documented API.

Peter
 
Thanks for that info Peter. Possibly I can pursue information from
Microsoft via Premier support. That's half the question.

The other half remains... assuming I can catch the event, how to initiate
the voice dialing -- or for that matter, arbitrary other code. I note, for
instance, that fonix has a really nice voice dial package.

And, now that I think of it, that leaves a 3rd question. Somehow, I need to
get the equivalent of a service running on the phone. I'd know how to do
this in WinXP, but how is that done in windows mobile.

As always, any breadcrumbs are much appreciated...

~Jeff
 
Back
Top