lkml.org 
[lkml]   [1999]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: serial.c (half duplex support)
   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

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.123 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site