ARCHIVE
LinuxMCE Forums
May 21, 2013, 11:14:47 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Control A/V Rotel RS232  (Read 1001 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« 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
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 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.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #2 on: March 03, 2006, 03:45:25 pm »

Hi
thank you for your suggestions, problem solved
gillen
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.