lkml.org 
[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reading accurate size of recepts from serial port
On Tue, Aug 26, 2003 at 05:23:04PM +0200, Laurent Hugé wrote:
> Le Mardi 26 Août 2003 16:22, Stuart MacDonald a écrit :
> > I may be mistaken, but I believe that Windows serial drivers work the
> > same way; so whatever you meant by your previous comment that you can
> > get what you want under windows, either you can get the same thing
> > under linux, or windows doesn't behave like you think it does.
> I actually don't know how it works, because I didn't contrive it (I can only
> rely on what has been told to me by the people whom has done it). I'm only in
> charge of porting it to Linux.
> Anyway, I'm on the way to another solution (by using some property of CCSDS
> segments, and see what happens).

hmm, why not do simple framing ...
[length]<data>[length]<data> ....

best,
Herbert

> --
> Laurent Hugé.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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