JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Sony protocol: What does 26.226 mean?

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Non-JP1
View previous topic :: View next topic  
Author Message
Ste\/e



Joined: 25 Feb 2009
Posts: 2

                    
PostPosted: Wed Feb 25, 2009 7:44 pm    Post subject: Sony protocol: What does 26.226 mean? Reply with quote

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
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Wed Feb 25, 2009 8:40 pm    Post subject: Re: Sony protocol: What does 26.226 mean? Reply with quote

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.

Quote:
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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ste\/e



Joined: 25 Feb 2009
Posts: 2

                    
PostPosted: Wed Feb 25, 2009 10:37 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Thu Feb 26, 2009 7:45 am    Post subject: Reply with quote

Looks right.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Non-JP1 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control