logo       

Re: MCE_USB2 IR Transmitter - Here's a send protocol capture: msg#00093

hardware.lirc

Subject: Re: MCE_USB2 IR Transmitter - Here's a send protocol capture

Hi!

Allan Stirling "Dibblahlirc0148-GG4hdSzFWPcdnm+yROfE0A@xxxxxxxxxxxxxxxx" wrote:
[...]
> Each transmission is sent in one request, with what looks like a blank
> ACK packet getting sent back. Here is part of the stream from a send of
> a RC6 (I believe - Sky UK remote) split up for easy reading:
[...]
> As you can see, this looks generalizable to:
>
> Start sending x=6 All blasters x=4 Blaster 1 x=2 Blaster 2
> 9f080x
>
> Send code xx xx xx xx
> 84 xx xx xx xx
>
> Finish sending ?
> 81 5f 80

To generalize even further, each packet looks like this:
8n X1 ... Xn

X(n) is a pulse or space duration, pulses have the MSB set. The other 7
bits encode the length. The resolution is 50 us.

84b6108a07 means:
4 bytes:
0x36 * 50 us pulse
0x10 * 50 us space
0x0a * 50 us pulse
0x07 * 50 us space

values longer than 127 * 50 us seem to be encoded by several sequential
bytes.
0x80 marks the end.

Should be trivial to implement in the driver. Actual it's the same
format that the receiver uses.

Christoph


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise