This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using Perl to access serial ports


On May 20 19:25, Jason Pearce wrote:
> There was some recent discussion about serial ports and Perl.
>    http://sourceware.org/ml/cygwin/2005-05/msg00013.html
> 
> But I did not see any resolution.
> Did anyone end up porting either Win32::SerialPort or Win32API::CommPort 
> as Reini suggested?
> 
> I need to talk to a thermometer via a serial link. The protocol is not 
> very complex.
> Could I just use a system call to stty to set the baudrate and then pipe 
> the thermometer comand to /dev/ttyS0 and read the response from 
> /dev/ttyS0 using file handles?

Why don't you try it?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]