Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto NG Family Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 13 made on Saturday March 12, 2011 at 05:57
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
On March 11, 2011 at 13:48, makitamark said...
Jason, how did you identify these codes as closely related to NEC format?

I could tell by just by the pattern of the hex string that they learnt like NEC2 only the Lead In was different (wrong).

Volume Down
0000 006B 0000 0022 0065 00B7 0016 0016 0016 0016 0016 0016 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 003F 0016 003F 0016 003F 0016 0016 0016 003F 0016 0016 0016 003F 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 0016 0016 003F 0016 003F 0016 0016 0016 0016 0016 0016 0016 0CF0

0065 00B7 is the Lead In and should be 0165 00B7 or 0157 00AC which is a clean Lead In from MakeHex.
0016 0CF0 is the Lead Out and change this to 0016 0689.

So then you get,
0000 006B 0000 0022 0157 00AC 0016 0016 0016 0016 0016 0016 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 003F 0016 003F 0016 003F 0016 0016 0016 003F 0016 0016 0016 003F 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 0016 0016 003F 0016 003F 0016 0016 0016 0016 0016 0016 0016 0689

Then what I do if IR Tools won't decode it is, instead of converting all the burst pairs to binary to work out the Device, Sub and Function Numbers I just past the hex code into PENG and it will convert it to a short hex code like this, 900B 006D 0000 0001 08F0 1A1A which is a NEC2 code.

900B
is the indicator for NEC2 and then I look at the Function Number (1A) and the Complement Number (1A) which 1A + 1A does not add up to FF (255 in decimal) so that tells me it is a 32 bit code. Yamaha seem to be using these codes more and more on their new receivers. Apple also use these for the Apple TV remote.

Another indicator is when you paste the original hex code into IR Tools it says, Gap-567-1664-32?

567 means the average pulse size is 567 microseconds. The 1664 means that (when DecodeIr made its guess at the structure) every burst shorter than 1664 microseconds is a zero and every burst longer is a one. The 32 means there are 32 bits. This is all very similar to NEC.

Then I gave the Chosen1 some NEC1 and NEC2 codes to try because nine times out of ten they are NEC1 as the Chosen1 has proven.


Cheers
Jason


Hosting Services by ipHouse