On September 24, 2007 at 16:11, dtc said...
Thanks for the comments.
For my pre-amp there are about 20 commands, which means
I would need to store 40 total commands, which fills up
the device on the MX-800 before i have even build any
macros.
I'm surprised an MX-800 is that limited. But how many commands are ever used in long macros? Only those would need the non compound form.
to buld a macro I need the toggled
command before each command.
Even though the original remote toggles on each command, the device doesn't require that. The toggle is only needed when the same command is used twice in a row. So even with single version non compound signals, you would mostly not need the dummy command between real commands in a macro.
The device will correctly process a bunch of commands in a row that are the same toggle state but different functions.
As to the timing issue in macros, I believe (may be wrong)
that the MX-800 inserts a delay between each command in
a macro.
I think you're right and I think that is most of the total time.
I agree that doing the dummy command second can speed
up the response to the macro. I put the dummy first just
in case a command was given without the dummy - for example
from the original remote. The dummy first insures the
command will still work. Just a little extra caution.
Seems like excess caution. And if you are using both the original and the MX-800, having the dummy first means the original remote can fail when you use it right after the MX-800.
How do you produce a double Pronto hex string in MakeHex
for RC-5?
Try this in place of the Form line in rc5.irp (and save that as a different name.irp)
Form=*,1:1,T:1,D:5,63:6;*,~F:1:6,T:1,D:5,F:6
The part after the ; is the same as in the regular rc5.irp and describes the repeating frame of an RC5 signal. The part before that describes a single frame of function 63. In that part, I put 63 in place of F and I put 1:1 in place of the complex expression ~F:1:6 that places the inverse of the extra bit of the function number as required by the rather strange rules of RC5.
That concatenates a single frame of the dummy first, followed by repeating frames of the real command. I think one frame of dummy is enough, even though I expect the MX-800 would send a few frames of each command when they are used the way you have been using them.
As I said earlier, commands that need to be extended while held can only be done the above way (single dummy first, followed by repeating real command).
Commands that don't need to be extended might work better with both parts single, but I'm not sure how to get Universal Browser to understand that. For a Pronto, it would be:
Form=1,~F:1:6,T:1,D:5,F:6,^128,1,1:1,T:1,D:5,63:6,^256
But I'm pretty sure the correct Pronto Hex that MakeHex would generate for that would confuse Universal Browser.
For example, in my case, the two codes for function 48
are
0000 0073 0000 000A 001F 001F 003F 003F 003F 003F 003F
001F 001F 003F 001F 001F 003F 001F 001F 001F 001F 001F
001F 0491
I see you have a much smaller end value than specified by rc5.irp. If you have reason to want that smaller than the RC5 standard, reduce the MessageTime value in the .irp file.
I have tried just concatenating the first function 48
code with the 63 toggled code, but ProtoEdit says the
concatenation is not a legal code. What is the correct
way to combine these?
The first four values in Pronto Hex are a header. To combine to Pronto Hex strings, you need to edit the first header and drop the second header.
Last edited by johnsfine
on September 24, 2007 18:10.