by Granville » Fri Jul 15, 2005 9:39 pm
Last Char = 54, the translation is:
83 = System ID
45 = System ID
18 = No translation; decimal value of 24 (perhaps means 24 bytes in data field? Makes sense - 13 text values and 11 status values)
Right!
20 = space These next 13 values are the TEXT field.
20 = space
41 = A
55 = U
58 = X
20 = space
20 = space
20 = space
20 = space
20 = space
20 = space
20 = space
20 = space
81 = no translation Here is where I get lost!
8 1 hex =
1000 0001 Binary
Since this is status 1, looking at your protocol doc, it means tone defeat and power are on.
85 = ...
Since this is status 2, it means Main video input is Video2, and audio is Aux.
70 = p
zone2 is set to video1/FM
2A = *
volume as you figured 2A = 42 - 76 = ...
32 = 50 decimal -76 = volume level
zone 2 voume, but not = 2, you have to calculate as you did for volume.
3D = equal sign
hmm, this one is suppose to be digital input, but it shouldn't be 3d, d isn't an option. 3 = Optical 1, but d doesn't compute!
00
Status 7 - DH 0ff
00
Status 8 - Stero(DownMix)
18 = no translation
Status 9
No Back Ch Surrount speakers
Yes to subwoofer
Small Front Center Left speakers
29 = )
Status 10 -
2 9 hex
001 0 1 001 binary
80hz Front crossover
reserved
Wide DVS mode
80Hz Center Crossover
38 = 8
Status 11
3 8 hex =
001 1 1 000 binary =
001 = 1 = 80 hz Surr Crossover
11 = 3 = 5 speaker
000 = 0 = 100 hz surr back crossover freq
B6 = paragraph symbol; also 182 in decimal. (This must be the checksum).
Right
My main difficulty is in translating the status fields. In particular, the volume would be nice to have! Current main volume is set forth in the STATUS4 field. Assuming that the fourth hex value is the STATUS4 field, then the hex value is 2A, which is 42 in decimal. The protocol document says that 0 = -76dB, and 1 = -75dB, so I guess that 42 = -34dB. Unfortunately, I can't check that here at work. But it seems logical.
I doubt your going to parse out the volume without writing a plugin for this device specificly. I've only been using genericserial for 2 days, but I haven't seen anything on how to extract something from an offset, which is what you need. You need to look at a specific byte.
Another puzzling thing is why does it send two (or more, sometimes) feedback strings?
Since the text is different for the 2 messages, I assume it's mirroring what's displayed on the unit:
AUX
VOLUME -34dB
Maybe you should set your trigger on VOLUME -*
And your terminator to 64, the d then you would
end up with 34 to set your variable with. ( that's 2 spaces between VOLUME and the -*.
Good Luck!
I just started yesterday, and I've been able to use GenericSerial to get all the info I've wanted from my denon receiver and I've got all the 2-way stuff working great. ( this is cool stuff! )
--
Granville Barker