LinuxMCE Forums

Archive => Archive => Pluto Main General Issues => Topic started by: archived on February 27, 2006, 11:06:56 PM

Title: Control A/V Rotel RS232
Post by: archived on February 27, 2006, 11:06:56 PM
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
Title: Control A/V Rotel RS232
Post by: archived on March 01, 2006, 11:01:12 AM
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.
Title: Problem solved
Post by: archived on March 03, 2006, 03:45:25 PM
Hi
thank you for your suggestions, problem solved
gillen