Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

SubjectRe: [LCtalk] Syntax of LCE telnet commands?
FromFokko van Duin
DateSat, 02 Apr 2005 11:14:08 +0300


At 16:01 +1200 02-04-2005, Yetimon wrote:
Hi there. I've been playing around with an LCE, for the purpose of controlling LED lighting via a Crestron home automation system. Crestron will happily talk to the LCE over TCP/IP on port 777, I can login and execute some commands, but many of my commands are failing with a "?" response from the LCE, rather than a ">". I can telnet into the box and get the same results, so it's not a Crestron problem.

LanBox uses plain TCP, -not- telnet protocol. On Unix like systems use e.g. netcat (nc) , on Windows use e.g. Hyperterminal with TCP.



I'm really flying blind with the syntax of the commands. I've copied a variety of commands from LCedit's StreamWatcher window, some of which work, and some which don't.

For example, I can send *565B000101# and the cuelist will run quite happily. I can run other cuelists such as *565B000201# without any difficulties.

However, if I try and manually change a colour on the fly, using a command like *C95B0001A5# I get a ? response and the lights do not change.

Just to make things really confusing, a command such as *C95B0001FF0004FF0007FF000AFF# will change the lights on channels 4 and A, but not 1 and 7! The LCE kindly gives me a > response, even tho it only executed half of the command!

This happen as a newly opened port to the box is set to 8 bit address mode. After connecting send a *65ff# to set it in 16 bit address mode. If you send this command 65 also every minute or so, it also prevents closing the TCP port after some time of inactivity.



So, I guess my two main question are, is there any documentation around on the syntax of these commands, and is there a bug in the firmware which breaks telent'ed commands but works fine with LCedit?

All messages are described in the LC+ Reference v2.0a1.pdf file (inside manuals folder).


Do not use the Telnet protocol, but plain TCP (nc in unix).


-- Fokko van Duin, Creators of the LanBox-LC CDS advanced technology bv, DMX lighting controller. http://www.cds.nl/ http://www.lanbox.com/

We are member of MIDI Manufacturers Association, MMA

By date: Prev | Next | Index By thread: Prev | Next | Index