Posted: Tue Jun 28, 2011 6:39 pm
They are sending denon-k and denon signals.The Robman wrote:I haven't tested my upgrade at all, so I don't know if I broke anything in the process. If you have the time, could you test that it still works?
Oh I see why you are having trouble with that last nibble, I gave you the wrong values, I started counting from 1 instead of 0.I'm still trying to figure out how to calculate byte2. Trying to add more/all functions for the denon remote zone2. Based on instructions above I figured out OBC value converson from OBC, but my byte 2 field is still blank. how do I calculate byte 2?
Lets look at denon-K
000 = 0 selects 28 = 4.1
001 = 1 selects 2C = 4.3
zone 2 #2 was Denon k, DEV 4.3 0BC 17
CONVERT 17 into a 12bits of binary
17 = 0000 0001 0001 binary
take the 12 bit LSB of the obc 1000 1000 0000
the next 3 bits are 010 because that selects 2c from the fixed data which was the value for 4.3
and then the final bit was 1 just because it was denon-k
lsb of OBC = '1000 1000 0000'
select 4.3 = 001
its denon k = 1
1000 1000 0000 000 1
88 03
----------------------------------
Next is the Denon
When sending Denon, the left 5 variable bits are the device code,
the next 8 bits (3 from byte1, 5 from byte 2) are the OBC (in LSB non-comp format)
Power on was device 2, OBC 123
2 - 00010, lsb = 01000
117 = 0111 1011, LSB -1101 1110
PAD THE REST WITH ZEROS 000
01000 11011110 000
0100 0110 1111 0000
46 F0