PDA

View Full Version : Serial for the Rotel 1068



eclectic2k
January 14th, 2006, 10:34 PM
Hi,

I'm trying to get serial working on the Rotel RSP-1068. I'm not very far as I just started today ;-) In fact I just got my remote and some other basic stuff working. G4 is a bit confusing, but not too difficult. (I've never used previous versions either)

I have a little programming/scripting experience, and just started researching lua. And looking at some of the posted scripts for Denon control etc... Doesn't look too bad. (downloaded lua on my linux machine as well, to play with)

I just found PiDD's posting on the 1098 here:
http://www.promixis.com/phpBB2/viewtopic.php?t=13791
(I was planning on a reply to that, but decided on this new post)

It looks like the '68 and '98 differ only slightly in command set. - they have different device codes, and for some strange reason, the command codes themselves are off by one. :-?
So *my* easiest way out seems to be, to modify what was done for the 1098...

1068 commands: (attached)
http://rotel.com/support/files/rs232-protocol-pdfs/RSP1068%20Commands.pdf
& protocol (similar to 1066 & 98 ) :
http://rotel.com/support/files/rs232-protocol-pdfs/RSP1068%20Protocol.pdf

Thanks!
-Chris

Promixis
January 15th, 2006, 04:42 AM
It looks like the file we put together for PiDD will work. You will need to change the commands as you already noticed.

eclectic2k
January 18th, 2006, 08:15 PM
Thanks Mike.
The 1098 is a little different, but with a few mods I got PiDD's script to work.
thought I'd post back these modified files.

send and receive are both working. Receive only tested so far using an on-screen-display action that was inserted by PiDD into his original 1098 files.

The basics are in place. Now just to do something useful with it. ;-)
(and get into the real automation.)

Promixis
January 19th, 2006, 06:13 AM
Thanks Mike.
The 1098 is a little different, but with a few mods I got PiDD's script to work.
thought I'd post back these modified files.

send and receive are both working. Receive only tested so far using an on-screen-display action that was inserted by PiDD into his original 1098 files.

The basics are in place. Now just to do something useful with it. ;-)
(and get into the real automation.)

Should we be splitting these in to 2 different serial scripts or keep them all in one?

Promixis
January 19th, 2006, 06:13 AM
Thanks Mike.
The 1098 is a little different, but with a few mods I got PiDD's script to work.
thought I'd post back these modified files.

send and receive are both working. Receive only tested so far using an on-screen-display action that was inserted by PiDD into his original 1098 files.

The basics are in place. Now just to do something useful with it. ;-)
(and get into the real automation.)

Should we be splitting these in to 2 different serial scripts or keep them all in one?

PiDD
January 19th, 2006, 03:52 PM
They should be diff scripts. the 1068 is slightly diff.

Promixis
January 19th, 2006, 04:41 PM
They should be diff scripts. the 1068 is slightly diff.

do you need me to get one started for the 1068?

eclectic2k
January 19th, 2006, 09:30 PM
do you need me to get one started for the 1068?
No...
As it stands the 1068 is working fine with the script I posted back to the forum. (and they are 2 different scripts - all PiDDs 1098 refs changed to 1068 in my version)

As for making them one script, it could be done with a wee bit of logic to work out the differences. I think in the lua script itself the diffs are fairly minor. The ID is 1 higher and the data field/playload size is bigger on the 1068. (so some data will be in different locations) Some of the more advanced features may be a bit different as well.

The rest of the changes are in the GML, only because the 1068 commands are basically 1098commands+1. (which could also be stuck into the lua script with a bit of logic)

I think the first order of business for me will be to get all the functionality working, and then see if the scripts can be combined. I'll see what happens when I have time to work on it more.

I certainly won't refuse if you want to take a look at it though :-)
Suggestions and help are always appreciated!