[Tinyos-help] Re: [Question] about task in book "TinyOS Programming"

Philip Levis pal at cs.stanford.edu
Tue Aug 1 21:13:03 PDT 2006


On Aug 1, 2006, at 6:46 PM, Hui KANG wrote:

>
> Dr. Levis:
> I just noted that there is an updated version of this book in your
> website (version June 28,2006).
> After I downloaded it, I found there are some samll errors in the code
> example we discussed.
> 1:Listing 4.11 on p.33,
> "command error_t Read.read()" in the implementation of PeriodicReaderC
> should be moved to the implemenation of FilterMagC. Because FilterMagC
> provides the interface Read, while PeriodicReaderC uses it.
> There is no loop in this code example.
>

You are totally right! The implementation blocks are wrong. No wonder  
it was so confusing. My apologies.

Phil


More information about the Tinyos-help mailing list