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

Login:
Pass:
 
 

Topic:
learnt codes not working (hex samples given)
This thread has 13 replies. Displaying all posts.
Post 1 made on Sunday September 30, 2007 at 18:38
marcelser
Lurking Member
Joined:
Posts:
September 2007
7
Hi,

Can anyone help with an ADB-7100CX set top box. So far I was not able to learn any code from the ADB's remote control. Here a 5 samples what I get when trying to learn the On/Off button (seems to be 2 different codes):

1. try:
=================================================
0000 006D 000C 0012 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0038 0007 001E 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0C00 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0063 0007 0040
=================================================
2. try:
=================================================
0000 006D 0024 0000 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0038 0007 001E 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0C00 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0063 0007 0048 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0023
=================================================
3. try:
=================================================
0000 006D 0024 0000 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0038 0007 001E 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0C00 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0063 0007 0048 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0023
=================================================
4. try:
=================================================
0000 006D 000C 0012 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0038 0007 001E 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0C00 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0063 0007 0040
=================================================
5. try:
=================================================
0000 006D 0024 0000 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0038 0007 001E 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0C00 0007 0023 0007 0053 0007 0028 0007 006D 0007 0033 0007 0033 0007 0028 0007 0053 0007 01EB 0007 0023 0007 0063 0007 0048 0007 0028 0007 0033 0007 0033 0007 001E 0007 001E 0007 0023

Can anyone please help me with this code and tell me what to do in order to make it work and how to do it so I can make the other buttons works as well.

Thanks for any help, because I'm really out of ideas.
Post 2 made on Monday October 1, 2007 at 11:23
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Try this one:

0000 006D 0012 0012 0008 0022 0008 0051 0008 0027 0008 006A 0008 0032 0008 0032 0008 0027 0008 0051 0008 020D 0008 0022 0008 0037 0008 001D 0008 0027 0008 0032 0008 0032 0008 001D 0008 001D 0008 0BF2 0008 0022 0008 0051 0008 0027 0008 006A 0008 0032 0008 0032 0008 0027 0008 0051 0008 020D 0008 0022 0008 0060 0008 0046 0008 0027 0008 0032 0008 0032 0008 001D 0008 001D 0008 0BF2

That is a very hard IR protocol for a learning remote to learn, and NG Prontos aren't great at learning. The samples you posted were much closer to correct than I would expect an NG Pronto to get.

I hope the one I posted is correct. I haven't yet worked out all the details to make my DecodeIR and MakeHex programs process this code type correctly, and I'm also unsure whether the usually innocuous translation glitches in ProntoEditNG will corrupt a pasted code of this type. I do not expect PENG to process this Pronto Hex string without changing it. I just hope that the changes it will make won't matter.

Once we get this one right, I can give you the method to construct the full set with MakeHex.

On September 30, 2007 at 18:38, marcelser said...
(seems to be 2 different codes):

No. All the samples you learned were the same code. Pronto Hex can look very different and still represent the same signal. That is even more true with a signal that is this difficult to learn.
OP | Post 3 made on Tuesday October 2, 2007 at 03:23
marcelser
Lurking Member
Joined:
Posts:
September 2007
7
Hi johnsfine,

You're a genius, the code you posted works perfectly for turning on/off the cablecom mediabox (that's what my cable company calls it). Meanwhile I found out that there are more people with exactly the same problem also not able to produce correct codes.

As this code is working, it can't wait to see how I can make the correct codes out of the hex codes of the pronto and I'll happily share my codes after I figured out all of them.
Post 4 made on Tuesday October 2, 2007 at 08:57
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
I just emailed you the output from MakeHex which is the first 512 possible XMP signals with the same device code as your power toggle signal.

To generate that, I used the follwing XMP.irp file:

Device=42.18
Function=0..512
Define A=S:4:4
Define B=3908
Define G=0
Define H=8
Define J=S
Frequency=38000
First Bit=MSB
0=210,-760
1=210,-896
2=210,-1032
3=210,-1168
4=210,-1304
5=210,-1440
6=210,-1576
7=210,-1712
8=210,-1848
9=210,-1984
10=210,-2120
11=210,-2256
12=210,-2392
13=210,-2528
14=210,-2664
15=210,-2800
Define C=0-A-S-B-(B:4:4)-(B:4:8)-D-(D:4:4)
Define X=0-A-G-J-F-(F:4:4)-(F:4:8)-(F:4:12)
Define Y=X+G-H
Form=A:4,C:4,S:4,B:12,D:8,210,-13800,A:4,X:4,G:4,J:4,F:8,F:8:8,210,-80400;A:4,C:4,S:4,B:12,D:8,210,-13800,A:4,Y:4,H:4,J:4,F:8,F:8:8,210,-80400

That .irp file plus MakeHex is all you would have needed to generate the .hex file yourself, but I decided to email it to reduce confusion.

The next problem is to identify which signals do what.

For code sets with just 256 signals, one way to do that is to paste the set of 256 signals into IrPanels.exe to produce a CCF file with 256 numbered buttons. Then merge that CCF into your own config with ProntoEdit, then test each of those 256 buttons and see what it does. With the codes I emailed, you could select and copy the block of functions from the beginning through function 255 to paste into IrPanels and do that test. It's even possible to tweak the .irp file to produce the second set of 256 in a form IrPanels can use. I'll explain later if you decide to go that way.
[Link: remotecentral.com]

Another approach is to decode your existing imperfect learned signals, the way I decoded the one you posted to find that it is function 68. For that you need the JP1 version of IrTool.exe plus DecodeIR.dll
[Link: remotecentral.com]
[Link: john.fine.home.comcast.net]

I'm using a slightly better version of DecodeIR.dll that I'm not ready to release yet. I hope the one I just linked is good enough for you. Otherwise I might email my development copy.

Once IrTool and DecodeIr are in the same directory, you run IrTool and paste each learned signal into IrTool and press "Decode Hex" and you should get a pop up dialog of DecodeIR results.

Each XMP signal has two parts, each of which should appear in that pop up decode and each of which should contain the function number you need.
If one of those parts is fully understood by DecodeIR, the decode will contain the function number after the last : within a string of other information you don't need.
For one of those parts that is misunderstood, either because of flaws in DecodeIR or because it was learned too badly, the string will include a 16 digit hex dump, such as this one that I get from several of the parts of your learn of power toggle:
1A2F442A1D624400

Often one or two of the digits will be wrong. Hopefully they won't be the digits containing the function number.

To get the function number: first take the second to last pair of digits (44 in that example). Convert that number from Hex to decimal (Windows Calculator in View/scientific mode if you don't have a hex to decimal conversion you prefer to that). 44 hex is 68 decimal.
Next look at the last two digits. If they are 00, the number you just converted is the function number. If they are 01, you must add 256 to get the function number. If they are anything else, tell me the Pronto Hex string and I'll figure it out.

Since few function numbers above 127 are used and they aren't easy to look for with IrPanels, I manually checked them in the XMP CCF files I have. They are:
128 = enter
131 = ticker
132 = << back
133 = clear

The function names were created by whoever made the CCF file. Hopefully you have a better guess at what they mean than I do.
XMP function numbering is fairly consistent across a wide range of devices using XMP, but that doesn't mean every function matches, so those might not even be valid for your device.

Also, function 81 is labeled "buy". If you want to bulk test functions from IrPanels, you might need to be careful of that one.

Last edited by johnsfine on October 2, 2007 09:32.
OP | Post 5 made on Wednesday October 3, 2007 at 01:31
marcelser
Lurking Member
Joined:
Posts:
September 2007
7
Hi,

I just made quick test with IRpanels.exe, the problem is that all the codes which are greater then 127 (half byte) crash IRPanels.exe (even if I only post a single code) with a runtime error '5'. If I try to paste more then 127 codes it also crashes with 'subscript out of range' error. So at the moment I was only able to create a .ccf for the codes 0-127.

These function numbers which are over 127 make sense since there is a button for rewind and a back button so I guess 132 is one of these, then there is an "ok" button and I guess that is "enter", ticker will show builtin TV-Guide (another guess) the only one I don't know is clear. Even "buy" (function 81) makes sense, since you can buy videos-on-demand from the cable company, but you need to connect a phone line to do this and since I have no phone line connected there's no risk.

I think I will first try to decode my remaining codes and see if I'm successful. If it's too tedious, I think I will test my 0-127 button set in my pronto and see if most buttons are found.

But I'm busy tonight but I hope that I can test on Thursday. And sorry for ther other thread at hifi-remote i thouth that maybe there would be an easier solution with this UCR-7780 but obviously now it's better to go on and decode or try out your codes.

I will post results once I have all the codes or if I'm stuck, but thanks a lot for your help.

Last edited by marcelser on October 3, 2007 02:15.
OP | Post 6 made on Thursday October 4, 2007 at 16:06
marcelser
Lurking Member
Joined:
Posts:
September 2007
7
Hi johnsfine,

I was using IRPanels to try out first 128 codes and I'm happy to say that I've found all the keys for the cablecom mediabox (ADB-7100CX), the codes are as follows:

0 = teletext
1 = digit 2
2 = digit 3
3 = digit 4
4 = digit 5
5 = digit 6
6 = digit 7
7 = digit 8
8 = digit 9
12 = move right
15 = digit 1
32 = menu
33 = cablecom central
34 = guide
35 = channel up
36 = options
37 = channel down
38 = info
40 = volume down
48 = yellow button
49 = blue button
50 = rewind
51 = play
52 = pause
53 = forward
54 = record
55 = mute
56 = stop playback
64 = back
65 = exit
66 = red button
67 = green button
68 = on/off
69 = move left
80 = volume up
81 = digit 0
82 = move up
83 = move down
84 = ok

Do you have an idea on how to make a good ccf out of it, or what do you suggest?
Post 7 made on Thursday October 4, 2007 at 16:38
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On October 4, 2007 at 16:06, marcelser said...
Do you have an idea on how to make a good ccf out of it,
or what do you suggest?

I thought you had an NG Pronto, so you need a PCF, rather than a CCF.

Anyway, I don't have very good ideas about that.

Do you already have decent graphics (with wrong IR codes) for that device?

If you don't, maybe you should look at some files for similar devices and copy the graphics.

If you have OK graphics, maybe you can make the numbered panels hidden, then alias each correct button to the hidden button for the correct signal.
OP | Post 8 made on Friday October 5, 2007 at 01:03
marcelser
Lurking Member
Joined:
Posts:
September 2007
7
Hi johnsfine,

I think you misunderstood my intention. Of course I need a .pcf for my pronto and I already linked the codes to my desired buttons and hid the IR Panels device.

But I always thought that here at remote-central is a code library for devices and that the files are in .ccf format. Should I just upload the IRPanels file along with the code numbers I posted yesterday or do you have a better idea? Cause I don't want to post my .pcf because the design I choose for this device maybe not so very easy to understand because it's mainly based on my old harddisc recorder so it looks totally different as the original remote.

But I'd like to share this codes with other people, if that's okay for you and I thouth the best thing would be a .ccf or am I wrong? Because Pronto Edit can import .ccf's but also other devices.
Post 9 made on Friday October 5, 2007 at 02:46
Peter Dewildt
Loyal Member
Joined:
Posts:
July 2001
6,307
You should post your codes in whatever format that matches your Pronto. In your case, that is a PCF.
Peter
Pronto 1000 (retired), Pronto TSU7000, RFX6000 (retired)
Pronto 2xTSU9600, RFX9400
Post 10 made on Friday October 5, 2007 at 12:52
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
158
I'd suggest a plainish file with just the buttons that work renamed to their functions would be best. Delete the rest of the buttons with with no function. If I'm looking for a file with a specific device I find this the most convenient format to import, hide and link to.

Alternatively just post your whole file because ispiration from other peoples ideas is always good to see
2 Pronto RU950 (UK version of TSU3000) and a Li 910 RF extender
Post 11 made on Tuesday January 1, 2008 at 01:58
larrydj
Founding Member
Joined:
Posts:
August 2001
76
Marc,

I just downloaded your PCF and the codes work great! I had given up controlling the Cablecom mediabox, but these are perfect. I integrated them into the rest of my PCF well.

Cablecom will have a HDTV mediabox later this year in time for the 2008 Olympics (I hope). Hopefully, these codes will work equally well for that box when it comes out.

Larry
(from Lausanne)
Post 12 made on Monday January 26, 2009 at 11:19
ZackMack
Lurking Member
Joined:
Posts:
January 2009
2
I have decoded some hex (about 6 learns - none of them actually work within the remote) in irtool.exe which gives me the output - protocol:xmp (which should be correct according to oem remote which states xmp 1.4) device:71.17

Can I use the aforementioned method with makehex by only changing the device id?

Regards Zack
Post 13 made on Tuesday January 27, 2009 at 09:46
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Post the Pronto Hex.

Probably you can use MakeHex just changing device to 71.17, but XMP learns tend to be pretty bad. With a few different samples, I can look at more than just the decode output to deduce what the signals really were.
Post 14 made on Tuesday January 27, 2009 at 12:36
ZackMack
Lurking Member
Joined:
Posts:
January 2009
2
Dear Jonh

It seems to work like a charm.

I did use the vantage ir learner in a dark shroud with both new batteries in remote and learner. Only one code of about 40 learns worked, which also reported xmp 71.17, so I was confident that the protocol was correct.

My concerns may be some generated codes not working, as i have heard about half codes inverted and between codes?

I dont understand the sequencing entirely and wondered if manufacturers could deviate from the raw protocol.

I used the "learned codes" in irtool to examine obc placements and substituted them with the 'generated file codes'. Keypress 0-9 were indeed device ids 0-9 ch up was 134 and ch down 133, these all work very well - athough i havent the chance to test the other 80 or so functions.

This seems to be a far more reliable and concise method of generating codes, for example I took a few learns from other devices, namely my LG lcd -" NEC1 device 4 " and am going to regen and compare learns to the gen files.

Thank you so much for all the good "and hard" work, This codeset is going to be greately appreciated from half the country as it is the defacto set-top-box distributed by the ONLY satelite broadcaster currently on the continent.

Last edited by ZackMack on January 27, 2009 13:50.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse