Hi,

> 1. what baudrate do you have?

9600, it's specification from otherside.

> 2.
> >  timeout=0;
> >  while(!getCTS() && ((timeout) < WAIT_FOR_CTS)) timeout++;
> >  if (!getCTS()) {
> >   printf("\nTimeout to wait for CTS up!\n");
> >   setRTS(0);
> >   usleep(10000);

                   ^^^^^^  ... wait to reset bus. When this failed, otherside
wants bus-reset.

Pavel Kucera



-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to