Enrico. Thanks, I think setserial was the missing link we were looking for. Well at least on Linux. I don’t appear to have a version available on OS X.
A useful resource on Serial communications that I’ve referenced over the years is “Serial Programming Guide for POSIX Operating Systems by Sweet. I don’t know where exactly to find it these days, so here is a link to my pdf copy: <https://dl.dropboxusercontent.com/u/1426853/Serial%20Programming%20Guide%20for%20POSIX%20Operating%20Systems%20Ed5R6.pdf <https://dl.dropboxusercontent.com/u/1426853/Serial%20Programming%20Guide%20for%20POSIX%20Operating%20Systems%20Ed5R6.pdf>> Let me know if you find a version newer than the 5th Edition Version 6 that I have. Bruce > On Feb 6, 2016, at 7:06 AM, Erico Mendonca <[email protected]> wrote: > > > > From: "Mike Cowlishaw" <[email protected]> > > Subject: Re: [Oorexx-devel] Need help reading/writing to a "com" > > port... > > > > > > Under Windows or OS/2 the MODE command is used to set baud rates etc. (try > > mode /? for details). > > > > I believe Mike's program should work fine under Linux. You just need to > exchange the port name to /dev/ttyS0 (or your device), and use the > "setserial" utility to set the baud rate. > > Additionally, under Linux there are ways to use Bash to read from the port > with a "while read -r" . To write to it, just "echo" what you need. > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
