Probably a "dumb noob question"

This should be fairly easy to do in Perl. What I would do is write some small server
applications that would communicate between the two devices. I would write a
DataSRV to retrieve data from the serial port. For an application to get
data it would open a socket to DataSRV and read data. DataSRV would get the
data from the serial port periodically or on demand. DataSRV could also log
to a database.

To send a mail message I would create MailSRV that attaches to DataSRV.

I have been working on simple perl servers that I should be releasing in the next
month or so ---

  • XBsrv -- tcp socket interface for an XBee.
    Strings sent to the socket are transmitting to
    the XBee using the USB port.

  • XBwww -- simple webserver that opens a tcp socket
    to XBsrv. Strings can be sent from a webpage
    to XBsrv (which then sends the strings to the XBee)

(* jcl *)