Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 6 Apr 2001 14:38:31 -0700 From: Enoch Wu To: cygwin AT sources DOT redhat DOT com Subject: Re: serial communications Message-ID: <20010406143831.A3993313@MELON> Reply-To: Enoch Wu Mail-Followup-To: Enoch Wu , cygwin AT sources DOT redhat DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bergstro@eng.utah.edu on Fri, Apr 06, 2001 at 12:22:36PM -0600 X-Mailer: Mutt 1.2.5i X-Operating-System: CYGWIN_98-4.10 1.1.8(0.34/3/2) i586 X-Sender: ewu AT eskimo DOT com Hi,, On Fri, Apr 06, 2001 at 12:22:36PM -0600, James Bergstrom wrote: > I am very new at using cygwin. I just need to know how to do IO through a > serial port. I have a driver written in C for Unix to control a device > through the serial port, and now we are going to use it on a win98 machine > using cygwin. Perhaps there is an example somewhere of writing bits to a > serial port? Perhaps there is. Can you really send bits at a time? I don't think so. The PC serial port is byte oriented. You can send a byte with some bits masked off. The serial port uses start and stop bits to synchronize. I'd be curious to know what devices can receive bits less than an 8 bit byte. EW > > Thank you very much, > I have been struggling with this for hours now. > > James Bergstrom > University of Utah > El En / Cp Sc / Cp En > > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple