News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Control A/V Rotel RS232

Started by gillen, February 27, 2006, 11:06:56 PM

Previous topic - Next topic

archived

HI
I've got a A/V amplifier and a DVD from Rotel with a RS232 interface. I saw design template for Denon but Rotel for control their appliances uses hexadecimal character. For example to implement Power ON the code is:
0xFE 0x03 0xC3 0x75 etc .How can I write these 'control char' in a DCE device?
Thank you for your suggentions!!
gillen

archived

Many of Denon devices are implemented as "Generic Serial Device" which has a very powerfull interface, but for small things like yours there is a simplified syntax.

Take a look for example at Denon DVD-A11 (just add it as a device, got Wizard->Devices->Generic Serial Devices" and click on "Ruby source Code", you can delete it later, after you see how it's done there).

You'll see on ON command something like
Quote<$"PWON\r"$>
Which practically means send that string.

In your case you can write something like
Quote<$"\xFE\x03\xC3\x75"$>

Hope this helps.

archived

Hi
thank you for your suggestions, problem solved
gillen