The daemon should be the best approach.
I used
http://www.phpclasses.org/package/3679-PHP-Communicate-with-a-serial-port.html
with some changes to work with ttyAM0.
--- In Simon Leung <> wrote:
>
> On 06/05/11 13:36, jjengineercool123 wrote:
> > Hi,
> >
> > I have a TS-7250 and currently develop an embedded control system with a
> > web-based user interface on the same board. I'm trying to get the hosted
> > website on the SBC to have the ability to read and write to the RS232 port.
> > Given I have an out-of-the-box TS-7250 with just Apache httpd server, what
> > do I need to do to get that functionality?
>
> I have quite a similar system. For me, I have a daemon in C that takes
> care of RS232 communication. The web pages are written in php that talks
> to the C program through a socket.
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|