[Tinyos-devel] LPL API for protocols

Omprakash Gnawali gnawali at usc.edu
Mon May 19 11:44:45 PDT 2008


On Mon, May 19, 2008 at 10:29 AM, David Moss <dmm at rincon.com> wrote:
...
> to me that we need to add a command to the LowPowerListening interface:
> setDefaultSleepInterval(), or even shorter, setSleepInterval().  This would
> be a system-wide command that would set your local sleep interval to
> whatever value you pass in, AND set the rx sleep interval for any packet
> that hasn't been configured otherwise.

I like this idea and would work for net2 protocols. I am glad this
works for applications with more complex dutycycling settings that you
describe as well.

> Finally, the SendNotifier interface is certainly a general all-purpose hook
> to configure any packet any way you like, on a system level.  In my
> applications, I'm using the SendNotifier interface to specify a radio to use
> for a transmission, sleep intervals based on packet type and destination,
> etc.  You could also use it to build a layer on top of the radio stack that

If there are implicit timing assumptions, although general purpose,
probably need to avoid using this at the highest level applications to
avoid timing errors.

- om_p


More information about the Tinyos-devel mailing list