This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

extend RF Button functionality for 3-button-headset remotes (IPhone, Android headsets)?

Hi,

in order to provide compatibility with the iphone 3-button-remote controls it would be great, if the functionality of the following RF-Buttons (decoding from button state to USB HID events in the purepath-headset-master) could be extended:

a) "Play-Pause RC-Button"

b) "Output Volume Increment RC Button"

c) "Output Volume Decrement RC Button"

I think of a checkbox (in wireless configurator for the headset master) "enable I-Phone compatible button a)/b)/c) buttonstate-to-HID-conversion". When checked, the master decodes RC buttons a)/b)/c) as follows  http://www.wikihow.com/Use-iPhone-Headphones to the corresponding HID-Events....

//Edit: or a "switch" for the USB-Soundcard (like e.g. enable/disable mic bias on some soundcards) to enable/disable the additional buttonstate-to-HID-conversion functionality

Is it possible to extend the master firmware functionality in order to support this interesting functionality?

Thanks & Regards

Jasmin

PS: 

Regarding the slave, the only thing needed there is a tiny circuit, that decodes the 3 different remote-button-resistances (for I-Phone (1) and Android (2) ), connect it to 3 GPIO Pins of the PurePath IC and assign RC Buttons a)/b)/c) to it

(1) http://www.wisebread.com/build-a-cable-to-control-your-android-phone-while-you-drive

(2) http://david.carne.ca/shuffle_hax/shuffle_remote.html

  • Hi Jasmin,

    I believe the easiest way to get this functionality is to run the slave in host controlled operation. Let the external MCU handle the interpretation of the different button presses, and use the EHIF command RC_SET_DATA to send the HID command to the master.

    Best regards

    Kristoffer