Question about multiple device codes

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
Nos402
Posts: 31
Joined: Thu Feb 19, 2004 5:47 pm

Question about multiple device codes

Post by Nos402 »

I have a sony remote that controls my receivere and CD player. I programmed my URC-6131 to have the Receiver and CD functions of the remote by learning some of the buttons with an 8810w and then looking at the codes. Since the CD commands used device 17 and the receiver used device 16, I put those device codes in the "device 2" and "device 1" fields in KM. When I learned the few buttons I hadn't got working yet, I found they were device 13 (for commands such as tuner channel preset up/down). Does this mean there is simply no way to incorporate them into my upgrade device since I'm already using 2 devices? I guess my master sony remote technically has three device codes in it; receiver/cd/tuner?

Thanks for everyone's help! I finally got my 6131 pretty much totally setup exactly how I wanted it!
gjarboni
Expert
Posts: 294
Joined: Sat Sep 20, 2003 4:55 pm
Location: Columbia, MD

Post by gjarboni »

If it's just two devices, create a new device code with device=13. Don't assign it to a device button. Then do keymoves from it to CH+/Ch- (or wherever you want the tuner commands).

You could also use the device combiner, but unless there are a lot of commands with device=13, I don't think it would be worth the effort.
Nos402
Posts: 31
Joined: Thu Feb 19, 2004 5:47 pm

Post by Nos402 »

Thanks! Specifically I was wondering if there was a way to use commands from 3 different device codes all in one device upgrade in the KM spreadsheet. At least if I can't, then your workaround will work!
gjarboni
Expert
Posts: 294
Joined: Sat Sep 20, 2003 4:55 pm
Location: Columbia, MD

Post by gjarboni »

Nos402 wrote:Thanks! Specifically I was wondering if there was a way to use commands from 3 different device codes all in one device upgrade in the KM spreadsheet. At least if I can't, then your workaround will work!
You can, but you have to create two separate upgrades, copy down the protocol ids & fxied data, then enter that information into the device combiner and then enter all of button codes. That's a vast oversimplification, but it should give you an idea of what's involved.

If you mean, is there a Sony protocol that has device1, device2, and device3 boxes in KM, no.

You can read up on the device combiner by looking through the posts in the Software forum.
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 »

Jason(gjarboni), I agree with your answer but there is also a built in two-byte Sony combo protocol ($0027). The second byte represents the device the first the OBC (you have to reverse the bits and convert to hex).

I think the protocol is in both of Nos402's remotes and a built in setup code AUD_1058 that uses protocol $0027 that should already have many needed commands.

So, Nos402, I still think a key move (2-bytes in this case) is still easier (and probably takes up less total memory) than using the devce combiner or even trying to do it all in one device upgrade using $0027.

Also not all keys can be assigned in a device upgrade and you may not want some to be assigned as physical keys for a variety of reasons. Both of these cases require key moves.
-Jon
Nos402
Posts: 31
Joined: Thu Feb 19, 2004 5:47 pm

Post by Nos402 »

the 1058 code was what I started with, but wasn't happy with due to the keys it was missing. I ended up jsut programming my own upgrade.
unclemiltie
Expert
Posts: 1819
Joined: Wed Jan 21, 2004 12:50 pm
Location: Pittsburgh, PA

Post by unclemiltie »

You're falling into the same trap that I fell into doing my DishPVR 721 a couple of weeks ago.

Here's what you have to do:

1: build an upgrade for each of the separate devices, validate that they work. In the KM spreadsheet, you'll see a cell labeled Fixed Data and protocol ID for each one. Write those down, you'll need them. On yours, if only the device changed the protocol will be the same.

2: start a new upgrade and select "device combiner" as the protocol. You'll then see an area below for the protocol ID and the fixed data. Fill both of these in. The third column gives you a number you'll need in a minute (0, 1, 2, etc depending on how many you have)

3: when you fill in all of the functions, you must use EFC's and you must fill in the column labeled Byte 2. In the Byte2 field you use the numbers for the protocol/fixed for the device that you need. For example, if your PIP button used the second prococol/fixed you'd use 1, if it used the first, you'd use 0.

4: go to IR, cut and past both the upgrade and the protocol since you need both to make it work.

hope that helps. The combiner instructions aren't all that clear in this area. If you want to see some more about this, look in the DishPVR 721 thread from about two weeks ago. (that's where I learned all of this stuff)
Post Reply