On 10/23/07, Ariel Mauricio Nunez Gomez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to resume a log after a reboot using LogWrite (Instead of
> always calling LogWrite.erase).
> I don't mind if I have to use LogRead until I find the current offset, but I
> can't find anything similar to LogWrite.setOffset().

LogWrite always appends to the end of the log (hence the lack of
setOffset). So to do what you want: just use LogWrite.append... (the
LogStorageC implementation will find the current end of the log by
itself)

David
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to