[Tinyos-devel] Patches to FTSP and CC2420 for 32kHz sync and LPL functionality

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Wed Jun 17 17:41:55 PDT 2009


Hi!

On Wed, 17 Jun 2009, Philip Levis wrote:

>
> On Jun 17, 2009, at 3:35 PM, Thomas Schmid wrote:
>
>> Hi Miklos,
>>
>> This was my first attempt at an LPL application using tinyos 2.x. And
>> honestly, I got very confused about it. I don't understand why each
>> and every component has to wire to the low power listening interface
>> anyway. FTSP is a good example. It should work if the radio uses LPL
>> or not. But in the current implementation, FTSP has to set the
>> LPL_INTERVAL every time it sends a message. Shouldn't the LPL layer
>> take care of this?
>>
>> For example, if LPL is enabled, every message should by default get
>> the LPL_INTERVAL set as the RxSleepInterval. Is there any purpose on
>> why this isn't that way? Or is it already like that, but I just didn't
>> find the right line in the code?
>
> Thomas,
>
> You're right: it should, and it doesn't. net2 and core have talked
> back and forth a lot about how to do this, but no-one has yet had the
> activation energy to do it.

Actually, I implemented a default behavior for LPL some time ago:
 	http://hinrg.cs.jhu.edu/git/?p=razvanm/tinyos-2.x.git

And then we had this conversation about a simplification of the LPL 
interface:
 	https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2009-January/thread.html#3574
 	https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2009-April/thread.html#3771

> But I think there's momentum now, and so I suspect it will appear soon 
> in the tree.
>

Let's hope so. :-)

--
Razvan ME


More information about the Tinyos-devel mailing list