The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Control HV but not using a PC or X10


  • Subject: Re: Control HV but not using a PC or X10
  • From: "David Buckley" <db@xxxxxxxxxxx>
  • Date: Sun, 23 Jan 2005 20:09:43 -0000



--- In ukha_d@xxxxxxx, ian.bird@c... wrote:
> I have been looking but
> have so far not found out how to talk to an MSS 100 from a
> non PC (broad meaning here of personal computer including
> linux etc.) platform.

I've not played with the MSS100, but have played with lots of these
sorts of boxes.  Most insist on TCP, and are willing to be either
clients or servers.

So to communicate, its just basic TCP.  Open socket, talk, and maybe
close socket if you ever want to stop.  There are no specific examples
of how to do this, as this is the first thing one learns to do with
TCP.

These boxes normally have a "direct" port that you can use,
or telnet / reverse telnet ports which have sophistications and
overheads that are unnecessary for this sort of application, and thus
I recommend you dont use.

If its a client, it will open a socket on you, so you need to be
listening for connection.  If its a server, you open a socket on it.
The gotchas involve when one or other end restarts, and you need to
connect again when one end still thinks its connected...

Some terminal servers talk UDP, and then its just datagrams both
ways.

I continue to have great sucess with the SitePlayer telnet unit, at
$79, talks TCP and UDP just fine.

http://www.siteplayer.com/telnet

[shameless plug]
If you want PC virtual serial port to UDP, check out a Buckley
product, http://www.haxxio.com/udpser, less
than $30! [/shameless
plug]






UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.