Hi.
I tried to use hardware handshake on the serial port of the iPAQ but
it seems not to work correctly. I tested the same code on my desktop
PC and it worked quite well. I use the original Compaq cradle.
Any ideas?
Here's the code:
struct termios terminal;
int handle = open( "/dev/ttySA0", O_RDWR | O_NOCTTY );
tcgetattr( handle, &terminal );
cfsetispeed(&terminal,B115200);
cfsetospeed(&terminal,B115200);
terminal.c_cflag |= CRTSCTS | CS8 | CLOCAL | CREAD;
terminal.c_iflag &= ~IGNPAR;
terminal.c_cc[VMIN] = 1;
terminal.c_cc[VTIME] = 0;
tcflush(handle, TCIFLUSH);
tcsetattr(handle,TCSANOW,&terminal);
Dirk
-- Dipl.-Inf. Dirk Stichling EMail: tichel_at_c-lab.de Embedded Realtime Systems Tel: +49 (5251) 606114 C-LAB Fax: +49 (5251) 606065 Fürstenallee 11 Web: http://www.c-lab.de D-33102 Paderborn GermanyReceived on Wed Jun 13 2001 - 00:45:57 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:27 EDT