I do see some output in 49_Generic_Serial_Device.log, a bunch of error messages and "failure loading code", that is my receiver device.
I am wondering if I am not putting the correct commands in the template...
I have figured out all the commands I need from the protocol sheet and I am able to send them to the receiver using the /usr/pluto/bin/TestSerialPort
But I am not sure I am putting those commands in the correct format in the template...
I can use this command on the CLI to turn my receiver off:
/usr/pluto/bin/TestSerialPort -p /dev/ttyS_45_0 -b 9600 -P N81 -t "\02\00\37\38\37\46\03"
what should that correspond to in the template IR codes? I have tried a few different values trying to get anything to work, but so far I have not have any luck. For other yamamha rs232 receivers I can see exisitng IR commands of the format:
SendIrCommand("07A15")
Should I be using commands like that? Or should I be translating into pronto format?
If someone could tell me what to place in the template IR code box that corresponds to:
/usr/pluto/bin/TestSerialPort -p /dev/ttyS_45_0 -b 9600 -P N81 -t "\02\00\37\38\37\46\03"
I would be able to tell if what I am doing for the rest of my commands is correct...
here is some of the log for 49_Generic_Serial_Device.log:
12/10/13 12:13:25.442 Failed loading code: Error loading code:
error: (eval):387: compile error
(eval):70: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0022 0002 0155 00AA 0015 001...
^
(eval):76: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0022 0002 0155 00AA 0015 001...
^
(eval):158: syntax error, unexpected tINTEGER, expecting kEND
02 00 37 38 34 41 03
^
(eval):372: syntax error, unexpected tINTEGER, expecting kEND
02 00 37 38 44 30 03
^
(eval):378: syntax error, unexpected tINTEGER, expecting kEND
02 00 37 38 32 41 03
^, line: 387
. <0xb53ffb40>
05 12/10/13 15:53:33.287 Got a reload command from 0 <0xb5dffb40>
05 12/10/13 15:53:33.743 void ClientSocket::Disconnect() on this socket: 0x84205f8 (m_Socket:
<0xb77e1ac0>
Return code: 2
2 12/10/13 15:53:34 49 (spawning-device) Device requests restart... count=1/50 dev=49
Tue Dec 10 15:53:34 EST 2013 Restart
========== NEW LOG SECTION ==========
1 12/10/13 15:53:42 49 (spawning-device) Starting... 1
1 12/10/13 15:53:43 49 (spawning-device) Found /usr/pluto/bin/Generic_Serial_Device
RCODE: