LinuxMCE Forums
May 24, 2013, 10:48:43 pm 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: RS-232 on 32LG3000  (Read 480 times)
Gaute
Regular Poster
**
Posts: 33


View Profile
« on: March 18, 2009, 08:55:25 pm »

Hello!
I know i have asked about this before (with no result), but now i have moved my tv and use it on another system so:

I'm trying to make my new tv work with rs-232 controll. It is a 32LG3000. I have started, made a device template and implanted a on/of command.

But when i reload the router this error comes up in the log:
Quote
74:01  03/18/09 20:47:43.059           Failed loading code: Error loading code:
error: (eval):72: compile error
(eval):7: syntax error, unexpected tIDENTIFIER, expecting kEND
log('Sending ON Command') conn_.Send("ka 01 01\r")
                               ^
(eval):14: syntax error, unexpected tIDENTIFIER, expecting kEND
log('Sending OFF Command') conn_.Send("ka 01 00\r")
                                ^, line: 72

. <0xb585bb90>

Can anybody help me with this?

Gaute
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #1 on: March 18, 2009, 09:04:18 pm »

you miss line breaks or ';' between the log and the send commands,

br Hari
Logged

rock your home - http://www.agocontrol.com home automation
Gaute
Regular Poster
**
Posts: 33


View Profile
« Reply #2 on: March 18, 2009, 10:07:29 pm »

Okey, i have got i working.
Is there any way i can upload it to share it with others?
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #3 on: March 18, 2009, 10:21:10 pm »

if you do it on a 0810 installation we can commit it to the sqlCVS repository.

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
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!