[Tinyos-help] CTP with Low Power Listening
Omprakash Gnawali
gnawali at usc.edu
Thu Apr 2 22:15:10 PDT 2009
On Mon, Mar 30, 2009 at 11:27 PM, Manuel Fernandez Santo Tomas
<cenag101 at acciona.es> wrote:
> Hi Om,
>
> Motes send a packet every 10 minutes.
>
> What should the low power listening duty cycle or sleep interval be for
> that rate? Any idea what the current draw should be in low power state?
If your network is small, you should be able to use 1 or 2 seconds.
But it really depends on your network topology, link qualities etc so
it is hard to tell what the current draw would be.
> I switched from using duty cycle instruction to sleep interval yesterday
> and, although the current draw varies a lot every now and then, it seems
> to settle to under 1mA after some time.
>
> Correct me if I'm wrong but I should wire Low Power Listening and
> Splitinit to RF230ActiveMessageC.nC, and Send to CollectionC.nc
> shouldn't I?
>
> The order I'm using is the following:
>
> Boot -> LPL.setLocalSleepInterval -> StartCollection -> Start Radio ->
>
> ->Radio Started, then Start Periodic Timer -> Timer Fires, call Send
> Function
>
> ->Before using send from the send command, use call
> LPL.setRxSleepInterval(&msg, LPL_INTERVAL);
You need to do that for every single packet that is sent by/through CTP.
- om_p
More information about the Tinyos-help
mailing list