On Wednesday 23 August 2006 10:36 am, David Gay wrote:
>
> On 8/23/06, R. Steve McKown <[EMAIL PROTECTED]> wrote:
> > #1 record atomic LogRead.read()
> >
> If you are using variable-sized records, the expectation is that you
> will record whatever extra metadata you need to find their boundaries.
> Yes, this might require doing 2 reads per record (e.g., if each record
> is of the form <length><data>).

Thanks for the tactful clarification.  I looked at the stm25p implementation 
to help me understand the spec and ended up attributing implementation 
details (like on-flash metadata) to the specification.  That's a bit 
embarrassing...

> > #2 - Buffer overrun indication
> I don't think recsLost() would be a good idea... [snip]

Especially since there's no such thing as a record!  ;^)  Tracking overrun 
instances via currentOffset() may be good enough for this application.  It 
would be nice to track loss in terms of some application-specific measure, 
but I'm at a loss for a good suggestion.

Thanks again,
Steve
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to