Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 20 May 2005 22:04:41 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: Cygwin List <cygwin@cygwin.com>
Subject: Re: Using Perl to access serial ports
Message-ID: <20050520200441.GL2794@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Cygwin List <cygwin@cygwin.com>
References: <428E2B87.9040008@ieee.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <428E2B87.9040008@ieee.org>
User-Agent: Mutt/1.4.2i

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/

