[Tinyos-devel] [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

Philip Levis pal at cs.stanford.edu
Thu May 1 16:12:17 PDT 2008


On May 1, 2008, at 3:57 PM, Kevin Klues wrote:
> The existing component implements the lightweight policy decribed
> here, and I made a modified version that does an endless task loop
> this morning.  I can either check that one in as
> EndlessRetryPowerManagerP or just leave it as is for now until a use
> case for something like this comes up.

Maybe have a finite retry count? I'm just so wary of anything that has  
an infinite loop; I imagine some driver somewhere using this without  
100% understanding what it does, and some poor app developer trying to  
figure out why nodes go to full power after 8 hours and never turn off.

Phil


More information about the Tinyos-devel mailing list