Hello All
I understand that if I have say Device = 1, Command = 0x2A and stack up the 5 bits of device and 7 bits of command I get this:
00001 010 1010 = 0x0AA which is exactly what I capture off of the IR. (BTW this code is the rarely used TV antenna switch)
But what exactly does device code 26.226 translate to on the IR?
I assume a 20 bit code but how?
thanks very much
Steve
Sony protocol: What does 26.226 mean?
Moderator: Moderators
Re: Sony protocol: What does 26.226 mean?
You're reversing the bits, right? What you have there is the opposite of the transmitted sequence.Ste\/e wrote: I get this:
00001 010 1010 = 0x0AA which is exactly what I capture off of the IR.
7 function bits, followed by 5 device bits, followed by 8 subdevice bits, each of those in LSB sequence.But what exactly does device code 26.226 translate to on the IR?
I assume a 20 bit code but how?
Yes John I understand the transmit order is LSB first.
>7 function bits, followed by 5 device bits, followed by 8 subdevice bits, each of those in LSB sequence.
So just to make sure I get it, if the 26.226 device had the 0x2e function (which should be power on) then the whole IR sequence would be:
(26 = 0x1A, 226 = 0xE2)
MSB...LSB
subdevice device function
11100010 11010 0101110
transmitted LSB first.
or in hex 0xE2D2E. Correct?
I think my mistake was thinking that 26.226 implied the 26 was in the highest bits when really the 226 is in the highest bits.
thanks very much
Steve
>7 function bits, followed by 5 device bits, followed by 8 subdevice bits, each of those in LSB sequence.
So just to make sure I get it, if the 26.226 device had the 0x2e function (which should be power on) then the whole IR sequence would be:
(26 = 0x1A, 226 = 0xE2)
MSB...LSB
subdevice device function
11100010 11010 0101110
transmitted LSB first.
or in hex 0xE2D2E. Correct?
I think my mistake was thinking that 26.226 implied the 26 was in the highest bits when really the 226 is in the highest bits.
thanks very much
Steve