On 10/30/03 02:34, Pfliegster said...
I thought that non-repeating
code types were for single commands (like a power
command, input select command) and repeating
code types were for functions that would keep
repeating if you continue to hold down a particular
button (like a Volume+ command) ... is this wrong
Specific functions do have repeating or non-repeating behavior as you describe. But very few devices use any difference in IR signaling between repeating and non-repeating functions. The difference is not in what the remote sends when you hold the key down. The difference is in how the device responds to that held signal.
Typically, the non-repeating part of the Pronto Hex is for protocols that have special lead-in on the first copy of the command, or protocols that repeat a special "still pressed" signal that is totally different from the initial press signal. There are protocols that don't repeat at all. There are also a few that do what you seem to have assumed would be normal (repeat or not based on the type of command), but those are a small minority that doesn't include Denon.
I suppose that if the Sharp IR protocol doesn't
use any non-repeating code types, the Pronto HEX
format would always look something like this:
0000 006D 0000 0020 ... (followed by the encoding
for the 32-bit command, along with the lead-out
sequence at the appropriate times)
Where the 3rd HEX value "0000" represents a zero-length
non-repeating code and the 4th hex value represents
a 32-bit long repeating
If I understand correctly now, it seems as though
all Denon codes are considered repeating, with
the first "half" (16-bits) being the Device/function
pair listed in the table from the Denon website,
and the second "half" being the same Device code,
but having inverted function (& extension) bits.
Does this sound correct?
All correct, except that you didn't mention the last two bits (the two after the extension bits). There are four possible values for those two bits:
00 = First half of a Denon signal
10 = First half of a Sharp signal
01 = Second half of a Sharp signal
11 = Second half of a Denon signal
So the last bit always tells you which half this is. The second half has the same first 5 bits and the inverted last 10 bits from the first half. The second to last bit tells Sharp vs. Denon (subject to being inverted in the second half).