Re: Serial Port Configuration
From: T Marchini (a.marchini_at_ohknow.com)
Date: Mon, 15 Nov 2004 02:54:07 GMT
> Anthony Marchini <a.marchini@mericonlokorDot.net> wrote in message
> The SitePlayer will be connected to a custom board with a PIC to
> monitor and control the individual pieces in the system. I'm using the
> SitePlayer to provide a web interface to the control and monitoring
To do what you want you would need some kind of program running on the
linux server that would detect the 2420 raising some kind of RTS line (
a behavior the people who make the camera could verify) or something,
then after detecting that it would need to lock the outgoing serial port
for transmit and pipe incomming charaters to and from the both serial
ports, possibly even capture and forward modem signal lines.
I still think that having the camera FTP a picture to the linux part
(which according to the docs is a built in function) and then having the
linux server run a script that does the emailing wouldn't be all that bad.
I suppose it comes down to what you think is easier, a program that
pipes two serial ports to each other while monitoring incomming
connections from either one. (Launch PPPD for connections coming from
the modem and launch the pipe connector program for connections going
out from the camera.
Also , you should be able to configure the linux server to dial out on
demand (if a request for an address not on its net is required, then it
automatically dials out). Not sure the procedure on that.
If that could be worked out then you could go back to etherent only,
then when the camera attempts to connect to the mail server, the linux
server will open the connection and then forward the packets on through.
I was just curious on the siteplayer part, if it is actually built into
your pic design or if it is just a separate ethernet to serial
conversion. Its capabilities could easily be put into the linux server side.
I guess if you are just trying hard to just shoestring together you are
OK using the siteplayer, but rethink the Camera opertion.
Then again, you might get lucky and find someone out there redirecting
serial services on demand.
My 6 cents now.