From: GS <gsa...@bi...> - 2000-08-22 02:11:57
|
Bruce, et all, I just saw this on the Dallas TINI list, and thought it could be of benefit to some here. If I understand it correctly, I could hang the TINI/CM-11A most anywhere on my LAN and send X10 data via the LAN to it, and onward to the power line. One more way to fill in the dead spots? I believe you have a TINI don't you, Bruce? I may try this on mine (although to be honest, Java is even more of a mystery to me than Perl is!) Gary Sanders MESSAGE FOLLOWS:................................................ Subject: [TINI] TINI X10 API Date: Mon, 21 Aug 2000 07:34:50 -0500 From: Jesse Peterson <je...@jp...> To: ti...@da... I have released a beta version of a Java X10 API that supports execution on TINI. Currently it supports the CM11A serial X10 interface. (And all of the derivatives like the IBM version and such.) Included with the API is a sample program called EmbeddedGateway. A "tini" file, EmbeddedGateway.tini, is included and supports TINI OS 1.01. The sample program EmbeddedGateway communicates with the CM11A through one of TINI's serial ports. EmbeddedGateway also starts a TCP server, listening for client connections. It implements a simple client protocol to allow X10 commands to be sent to EmbeddedGateway over a socket, and EmbeddedGateway translates those commands into CM11A commands that transmit the X10 event over the mains to the addressed X10 device. EmbeddedGateway will receive unsolicited X10 events from the CM11A device off of the mains. EmbeddedGateway encodes the events into an easily parsable ASCII message that is broadcast via a UDP packet. This server was designed to showcase what is possible with the API and be useful. One possible use is to use a servlet providing an HTML interface, and the servlet uses the EmbeddedGateway to execute X10 commands. This servlet could be running on a different machine, as the interface to EmbeddedGateway is completely network accessible through TCP/UDP messages. It would also be quite possible to use the API in any TINI program to allow it to become X10 capable. Version 1.0.1 of the Java X10 API can be downloaded from my site at the following URL under the Java X10 CM11A/CM17A Library heading: http://www.jpeterson.com/rnd/ If anyone has any questions, please respond back to the list if the question is on-topic, or send me an email directly at "je...@jp...". - Jesse Peterson http://www.jpeterson.com ----------------------------------------------------------------------------- This message brought to you by TINI@iButton.com To subscribe, send an email with "subscribe TINI" in the BODY of the message to TINI-request@iButton.com. To unsubscribe, send an email with "unsubscribe TINI" in the BODY of the message to TINI-request@iButton.com. For majordomo mail-list related problems or questions, please contact owner-TINI@iButton.com. Archive: http://www.dalsemi.com/mailarchive/tini |