converting learned codes to obc and/or efc codes.

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
dongentry
Posts: 26
Joined: Thu Nov 25, 2004 12:02 pm

converting learned codes to obc and/or efc codes.

Post by dongentry »

I have uploaded the directv_d10_sat_1377_km data to my URC-8810 and everything works ok but the menu key, it does the "active" key function rather than the "menu" function. I used the learning function for the menu key and it works correctly.
I downloaded the data from the remote and the learned data shows up but does not give me any OBC or EFC codes.
How do I obtain these codes from the learned data? I don't have Excel so I can't use KM. I have spent two days reading about JP1 stuff ad can't find my answer.
Help would be appreciated,
Don
The Robman
Site Owner
Posts: 21947
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

1. Post your IR file which contains the learned signal in the Diagnosis Area.
2. Read the "how to" that describes how to post links.
3. Post a link to the file here.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Mark Pierson
Expert
Posts: 3019
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Re: converting learned codes to obc and/or efc codes.

Post by Mark Pierson »

dongentry wrote:I have uploaded the directv_d10_sat_1377_km data to my URC-8810...

I don't have Excel so I can't use KM
If you don't have Excel, did you load the file with RM? If not, how did you change the remote to the 8810 (the file is setup for the 15-1994)?
Mark
dongentry
Posts: 26
Joined: Thu Nov 25, 2004 12:02 pm

Post by dongentry »

I've done so much so many different ways I'm having trouble remembering what is what.
I used RM to configure the file for my 8810, and used IR to upload it to my remote.
I didn't find a "diagnostic area" - seems like I saw one somewhere. My mind is a blur.
Here is the code from the learned tab:
+5980-1190+1196-1192+598-596+598-596+1196-594+598-596+598-596+1196-594+1196-594+598-29910
It looks like 93 but I'm not sure about the 1196-1192. It doesn't fit in the "1" - "0" pattern. I figured the last two words are the bit count.
I don't have a clue about the first two words.
I also tried IRtool and it says the code is not learned code.
I tried applying the documentation about decoding the data, but all their codes start with 0000 xxxx. mine doesn't start with zeros. Also, what exactly is the first two words telling me?
Thanks, Don
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

I don't remember this protocol. I see the evidence scattered about indicating that Jon figured it out. But I can't find Jon's description.

I assume I never added it to DecodeIr, so posting in the diagnosis folder:
http://groups.yahoo.com/group/jp1/files ... is%20Area/
would be only slightly better than what you already did.

So I guess we're waiting for Jon's answer, unless one of the other experts knows the inner details of pid 0162.

Jon, is there a description somewhere that I should use for adding DecodeIr support?
The Robman
Site Owner
Posts: 21947
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

dongentry wrote:I didn't find a "diagnostic area" - seems like I saw one somewhere. My mind is a blur.
Look at the signature in post before yours, there's a link to the "JP1 File Section", that's where you'll find the Diagnosis Area.

Nobody here is going to try and decode a signal just from one sample of the timing data, we're all going to want to see the complete IR file.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

johnsfine wrote:Jon, is there a description somewhere that I should use for adding DecodeIr support?
https://www.hifi-remote.com/forums/viewtopic.php?t=2961

There is also a link to a very similar protocol from Motorola that uses a different check nibble.
-Jon
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

The Robman wrote: Nobody here is going to try and decode a signal just from one sample of the timing data.
Rob's usually right, but where's the fun in consistency, so:
dongentry wrote: +5980-1190+1196-1192+598-596+598-596+1196-594+598-596+598-596+1196-594+1196-594+598-29910
Based on the decode rules in the link Jon just posted, that is OBC 32, which is the "Alt Menu" function in that upgrade.
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

Also John that thread may be confusing as to which protocol is which.

The DirecTV is:

{38k,600,msb}<1,-1|1,-2|2,-1|2,-2>(10,-2,D:4,F:8,C:4,1.-50,(5,-2,D:4,F:8,C:4,1,-50)+)
The complete algorithm for the check byte is:
Multiply the OBC bits (7,6,5,4,3,2,1,0) individually by 0x (E,7,A,5,6,3,2,1) and then Mod 16 that sum.

The similar Motorola protocol is:

{38k,600,msb}<1,-1|1,-2|2,-1|2,-2>(10,-2,D:4,F:8,C:4,1.-16,(5,-2,D:4,F:8,C:4,1,-16)+) where C=Mod16(F:2:6*7+F:2:4*4+F:2:2*2+F:2:0*1)

And I agree the OBC is 32 for the command posted. If my notes are correct he can key move hex 20 in to see if it works.
-Jon
dongentry
Posts: 26
Joined: Thu Nov 25, 2004 12:02 pm

Post by dongentry »

What in the IR file do you want. That's the only learned function I have for that device.
johnsfine is right about the 0160. I didn't know what I was looking at when I saw it on the protocol tab. Somebody had renamed it as 1377.
It works on the Directv D10 and my 8810 remote.
I'll try the 32 and see.
The Robman
Site Owner
Posts: 21947
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

dongentry wrote:What in the IR file do you want. That's the only learned function I have for that device.
johnsfine is right about the 0160. I didn't know what I was looking at when I saw it on the protocol tab. Somebody had renamed it as 1377.
It works on the Directv D10 and my 8810 remote.
I'll try the 32 and see.
Hopefully somebody else understands this post, because I sure don't. What is the 0160 and how could a protocol be called 1377?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
dongentry
Posts: 26
Joined: Thu Nov 25, 2004 12:02 pm

Post by dongentry »

I made a mistake it's 0162 (protocol ID). If you'll go up and read what johnsfine wrote he evidently knows what it is.
I didn't say the protocol was 1377. In the first post I said I uploaded to my remote that upgrade by that name. Seems like you are the only one who didn't know what I was talking about.
Why do you have to be so hateful?
Don
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

dongentry wrote: I'll try the 32 and see.
Remember that was an OBC number. To use it you'd need to go back to the RemoteMaster functions sheet. But it's already there as "Alt Menu" so you only need to go back to the RemoteMaster Buttons sheet and map that function. Or you could use the hex cmd (as Jon suggested) to try it diretly in IR.EXE
dongentry wrote:I made a mistake it's 0162 (protocol ID).
When you didn't say what the number meant AND you type it wrong, that doesn't give us enough to guess what you meant. We all make typos, so when your typo confused Rob all you needed to do was clarify.
dongentry wrote:If you'll go up and read what johnsfine wrote he evidently knows what it is.
I took the time to go to the SAT folder and find directv_d10_sat_1377_km and look inside it (and see what Jon had done earlier). Otherwise I wouldn't have had a clue about (protocol ID) 162.
dongentry wrote:Seems like you are the only one who didn't know what I was talking about.
Why do you have to be so hateful?
Don
Rob was being helpful not hateful. If you don't ask the question in a way we can understand, we can't help. When he tells you to post better information about your question, he is helping you get a better answer.
dongentry
Posts: 26
Joined: Thu Nov 25, 2004 12:02 pm

Post by dongentry »

Hey, that worked.
Thanks, Don
Post Reply