RE: serial.c (half duplex support)

David Schwartz (davids@webmaster.com)
Mon, 25 Oct 1999 15:46:39 -0700


> Date: Sat, 23 Oct 1999 16:47:03 +0100
> From: David Woodhouse <David.Woodhouse@mvhi.com>
>
> An idle time of more than 27 bit times (3 chars) on the wire
> signifies the end of an incoming packet, so the callback (a) would be
> necessary even when there's nothing waiting to transmit. It also
> needs to give the current length of the input buffer, or stick a
> marker in the buffer somehow - at the same time as I receive this
> callback, I know that some machine somewhere else on the RS485 bus
> will immediately start transmitting, before I have a chance to clear
> the input buffer.
>
> There's no end of packet character? How.... awful.
>
> - Ted

There is an end of packet character. It consists of 27 idle bit times.

DS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/