I went through all the codes on my oem remote and here is what I found:
each raw IR code is compromised of:
4 words preamble = 0000 0070 0000 0032
2 words lead in = 0084 0041
25 word pairs = device id (lsb) 0100000000000100000000010 (msb)
23 word pairs = button codes (see below)
2 words lead out = 0011 0AAB
where the button code words are made of:
7 word pairs = all 0s (0011 0010 7 times)
7 word pairs = button code shown below
1 word pair = 0 (0011 0010)
7 word pairs = repeat the button code
1 word pair = 1 (0011 0030)
Below are the button codes with the byte order reversed so that it is in typical binary order with msb on the left and lsb on the right.
(decimal value) - button - binary
---------------------------------------------
(16) - one - 1 0010000 0 0010000 0000000
(17) - two - 1 0010001 0 0010001 0000000
(18) - three - 1 0010010 0 0010010 0000000
(19) - four - 1 0010011 0 0010011 0000000
(20) - five - 1 0010100 0 0010100 0000000
(21) - six - 1 0010101 0 0010101 0000000
(22) - seven - 1 0010110 0 0010110 0000000
(23) - eight - 1 0010111 0 0010111 0000000
(24) - nine - 1 0011000 0 0011000 0000000
(25) - zero - 1 0011001 0 0011001 0000000
(32) - ch right - 1 0100000 0 0100000 0000000
(33) - ch left - 1 0100001 0 0100001 0000000
(51) - sap - 1 0110011 0 0110011 0000000
(52) - ch up - 1 0110100 0 0110100 0000000
(53) - ch down - 1 0110101 0 0110101 0000000
(55) - rapid tune - 1 0110111 0 0110111 0000000
(56) - search - 1 0111000 0 0111000 0000000
(61) - power - 1 0111101 0 0111101 0000000
(82) - ok - 1 1010010 0 1010010 0000000
(91) - split - 1 1011011 0 1011011 0000000
(92) - freeze - 1 1011100 0 1011100 0000000
(93) - pip - 1 1011101 0 1011101 0000000
(94) - swap - 1 1011110 0 1011110 0000000
(100) - pip ch up - 1 1100100 0 1100100 0000000
(101) - pip ch down -1 1100101 0 1100101 0000000
(103) - move - 1 1100111 0 1100111 0000000
(126) - bbe - 1 1111110 0 1111110 0000000
So for example, a complete raw IR code for the 1 button would be:
preamble
0000 0070 0000 0032
lead in
0084 0041
device code
0011 0010 0011 0030 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0030 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0030 0011 0010
7 repeated 0's
0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010 0011 0010
button code
0011 0010 0011 0010 0011 0010 0011 0010 0011 0030 0011 0010 0011 0010
one 0
0011 0010
button code
0011 0010 0011 0010 0011 0010 0011 0010 0011 0030 0011 0010 0011 0010
one 1
0011 0030
lead out
0011 0AAB
Now that I've got that down, it's time to try some of the in between values and see what I can find. Has anyone gone though testing like this? I Can't mess up my TV by sending it any of the in between codes can I?
This message was edited by dpstrand on 06/18/04 04:30.