Sony protocol: What does 26.226 mean?

If you're not a JP1 user, but would like help from the JP1 experts, post your question here.

Moderator: Moderators

Post Reply
Ste\/e
Posts: 2
Joined: Wed Feb 25, 2009 6:33 pm

Sony protocol: What does 26.226 mean?

Post by Ste\/e »

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
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Re: Sony protocol: What does 26.226 mean?

Post by johnsfine »

Ste\/e wrote: I get this:
00001 010 1010 = 0x0AA which is exactly what I capture off of the IR.
You're reversing the bits, right? What you have there is the opposite of the transmitted sequence.
But what exactly does device code 26.226 translate to on the IR?
I assume a 20 bit code but how?
7 function bits, followed by 5 device bits, followed by 8 subdevice bits, each of those in LSB sequence.
Ste\/e
Posts: 2
Joined: Wed Feb 25, 2009 6:33 pm

Post by Ste\/e »

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
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

Looks right.
Post Reply