Re: [iPAQ] [Serial programming]read(fd,buf, 0) doesn't return zero ...

From: Goetz Bock <bock.a.t.blacknet.de>
Date: Wed Mar 24 2004 - 08:14:45 EST

On Wed, Mar 24 '04 at 14:10, Valentin Longchamp wrote:
> I'm trying to communicate from the ipaq on the serial port. I can
> write on it and see it on the console, but I can't read from the
> serial port, and even when I call read(fd, answ, 0) which should
> return zero according to the read man page, the read call is blocking
> and nevers stops ???
>
> Can someone help me ???
>
> Here is my code :
>
> [ ... ]
> newtio.c_cflag = BAUDRATE | CRTSCTS | CS8 | CLOCAL | CREAD;
> [ ... ]
While I've no clue about serial programming, I just wanted to let you
know that the iPaq does noet support RTSCTS (aka hardware handshake).

-- 
/"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
\ /                     (c) 2003 as GNU FDL 1.1
 X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
/ \  [ 3. Reply to the list - 4. Read the archive *before* you post ]
Received on Wed Mar 24 13:23:04 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:45:09 EDT