Hi, Has anyone created an .xml file for the Apple IR Remote? This one - http://en.wikipedia.org/wiki/Apple_Remote I've got an IR emitter going from my MRAv2 -> ipod dock's IR receiver. Tried to build my own .xml with info from the net - can see the LED emitting something, but my .xml must be wrong as the dock doesn't respond. (Apparently it uses "NEC" protocol, so tried some built-in NEC remotes too - no luck with these either) Does anyone have a correct .xml for this one? Or... if noone's got one, I've attached my .xml so far... any tips would be great. (Although I think the protocol/vocab section is wrong, couldn't work this out from info I found) Cheers, Scott. Here's the info I found from the net too: ----------------------------------------------- The Apple Remote uses an NEC IR protocol which consists of a differential PPM encoding on a 1:3 duty cycle 38kHz 950 nm infrared carrier. There are 32 bits of encoded data between the AGC leader and the stop bit:[8] Protocol on (?s) off (?s) total (?s) leader 9000 4500 13500 0 bit 560 1690 2250 1 bit 560 565 1125 stop 560 N/A 560 The 32 bits of data consist of a one byte remote ID (0-255), followed by a one byte command, followed by the two byte Apple custom code ID (0x87EE). Bytes are sent LSB first. The commands consist of: Value Command Button 0x02 Menu Menu 0x04 Play Play/Pause 0x07 Right Next/Fast-Forward 0x08 Left Previous/Rewind 0x0B Up Volume Up 0x0D Down Volume Down [edit] See also ----------------------------------------------- Here are the Apple Remote hex codes I have working on my Pronto TSU6400. Menu 0000 006E 0022 0002 0157 00AC 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 05E7 0157 0055 0016 0E48 Play 0000 006E 0022 0002 0157 00AC 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 05E7 0157 0055 0016 0E48 Up 0000 006E 0022 0002 0157 00AC 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0592 0157 0055 0016 0E48 Down 0000 006E 0022 0002 0157 00AC 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0592 0157 0055 0016 0E48 Left 0000 006E 0022 0002 0157 00AC 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 05E2 0157 0055 0016 0E48 Right 0000 006E 0022 0002 0157 00AC 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0041 0016 0592 0157 0055 0016 0E48 ----------------------------------------------- Notes: 1) Apple's remotes use the NEC IR protocol, which is better described here: http://www.sbprojects.com/knowledge/ir/nec.htm It uses a 38 kHz carrier wave ( hence the OscWrite call) and uses a "pulse distance" encoding. In other words, the LED is ON for the same amount of time - it is the duration OFF that matters. The protocol header is a 9ms on, followed by 4.5 ms off. A '1' value is .560 ms on, followed by 1.690 ms off. A '0' value is the same on pulse, followed by .565 ms off. The 'end' header is a .560 ms on pulse. 2) The total data transmitted is 32 bits.