[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Serial I/O Support
- From: "King, Mike" <MKing@...>
- Date: Wed, 6 Jan 2010 10:11:19 -0500
>>> Any thought about making this cross-platform? I really need Linux and Windows.
>> I don't know Linux will enough so probably not.
> What's so cool about serial on Linux is that you really can just open
> /dev/ttyS0 (aka 'COM1') and treat it like any file (tho remember to
> f:flush() occaisionally). Except, you need to set the comm parameters
> first. There are several command-line utilities for that, can just
> shell out to them using os.execute()
> OK, this is not exactly portable. I do have Linux serial
> terminal-setting code, I'll have a look at Mike's interface and see
> how it can fit in.
I agree the *NIX-like way of doing things is cool. I would like to know how serial communication ways in Linux. I would imagine the API is much more powerful giving the history. As a personal project, I would like to learn more about it and maybe make my library cross-platform.
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential or proprietary to K&L Microwave, Inc. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message.
- References:
- Serial I/O Support, b g
- Re: Serial I/O Support, KHMan
- Re[2]: Serial I/O Support, Bulat Ziganshin
- Re: Serial I/O Support, KHMan
- RE: Serial I/O Support, King, Mike
- Re: Serial I/O Support, KHMan
- RE: Serial I/O Support, King, Mike
- RE: Serial I/O Support, King, Mike
- Re: Serial I/O Support, RJP Computing
- RE: Serial I/O Support, King, Mike
- Re: Serial I/O Support, steve donovan