Just doing some advanced scouting so to speak here... For my Pandora client, Elpis, I support global media keys (MediaPlayPause, MediaNext, etc. on the keyboard) and I want to be able to support AVRCP from bluetooth headphones if possible. I do not currently have any (though will try to get some soon).
My main question is, what events (keyboard or otherwise) are fired by AVRCP commands in windows? Is it something that depends on the BT adapter and/or driver stack? I would love it if they just were exposed as the same media keys mentioned above, but I can not find any official MS documentation confirming or denying that... But from what I can tell, WMP supports it but some other media players do not (though they support the standard media keys), which leads me to believe it is different events.
Any insight would be greatly appreciated.
AVRCP (Audio / Video Remote Control Profile) –is used for sending commands (e.g. Skip Forward, Pause, Play) from a controller (e.g. stereo headset) to a target device (e.g. PC with Media Player). NOTE: Bluetooth profiles only function when your device (cell phone/MP3) supports these.
Audio/Video Remote Control Profile (AVRCP)It is commonly used in car navigation systems to control streaming Bluetooth audio. It also has the possibility for vendor-dependent extensions. AVRCP has several versions with significantly increasing functionality: 1.0 — Basic remote control commands (play/pause/stop, etc.)
The A2DP Sink enables audio streaming from an audio source, whereas AVRCP Controller facilitates over-the-air control of the audio stream. In order that mobile phones, tablets and PCs recognize the device as a wireless headset the Bluetooth Class of Device (CoD) must be configured to reflect the device's capabilities.
There isn't a set of exposed events available for Bluetooth on Windows. Btd.dll contains this functionality and uses the PassThruOpId enum for play, stop, pause, FF and RW. Click here for the MSDN entry on this.
UPDATE As per the comment below I am unable to find any documentation other than that of the Compact Framework for this question.
UPDATE: Here is a link to the Windows Bluetooth Driver Stack. Also checkout this other stack question.
Don't know where its documented at MSDN...assuming it exists at all. But I have some other references:
http://download.microsoft.com/download/5/E/6/5E66B27B-988B-4F50-AF3A-C2FF1E62180F/CON-T564_WH08.pptx
IIRC it's also discussed by Larry Ostermann in this video: http://channel9.msdn.com/blogs/charles/inside-windows-7-larry-osterman-on-new-audio-capabilities At least Bluetooth phone Call control is discussed at 00:33:35 according to my notes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With