[Tinyos-help] non-continous usage

Ákos Maróy darkeye at tyrell.hu
Fri Oct 5 01:57:35 PDT 2007


Kevin Klues wrote:
> Its all part of the tinyos cvs repository, you probably just forgot to
> do a `cvs update -dP` to guarantee that newly created directories get
> added and old deleted ones get pruned.

yes, you're right, I did this typical mistake. been using svn for a 
while now, so I'm getting out of the usual tricks of CVS


so, I tried to add low power capabilities to my application. it's 
basically the MultihopOscilloscope, only changed to read from 3 
different ADC sensors versus the default sensor.

I read through TEP 116, and the sample code.

as for the sensor, I didn't really see that I'd have to change anything. 
the readings were already done parallelly, triggered by a timer. is this 
assumption correct? is there anything else to do?

as for the radio, I added the LPLProvider impelemetation, similar to the 
LowPowerSensing/Base sample. I added LPL.setLocalSleepInterval() before 
the AMRadio is started, and LPL.setRxSleepInterval() before things are 
sent to a Collection object.

but I wonder if this is sufficient. the multihop app is using snooping 
and collection for the communciation. I wonder if this all works out?

and actually, I can't really measure the power consumption, so I just 
don't know if there's any effect... sort of like walking in the dark


Akos



More information about the Tinyos-help mailing list