[Tinyos-devel] LPL API for protocols
Vlado Handziski
handzisk at tkn.tu-berlin.de
Sun May 18 14:36:56 PDT 2008
I agree with Matt that this is in essence a MAC parameter. I don't see a
problem in exposing a proper API to the app to control it, but I don't
understand this tendency to put all user accessible APIs for communication
through a single component, namely the one that also provides the AM
interfaces.
Vlado
On Sun, May 18, 2008 at 11:12 PM, Omprakash Gnawali <gnawali at usc.edu> wrote:
> On Sun, May 18, 2008 at 2:02 PM, Matt Welsh <mdw at eecs.harvard.edu> wrote:
> > That sounds nice and elegant ... although I didn't quite understand what
> Om
> > was saying about needing to sprinkle LPL parameters throughout the higher
> > level protocol code. Seems to me that the LPL check interval setting
> > underlies whatever protocol goes on top and there's rarely a need for a
> > given protocol to be "LPL aware" ... unless there's something I'm
> missing?
>
> CTP sends packets using three different AMSender's - you would need to
> set rxinterval just before those calls. If the user wants to change
> the "dutycycle", the user needs to find those places and change the
> parameters. Although rxinterval is a MAC-level parameter, my guess is
> this is one parameter that even the end user, who does not really care
> about how CTP works, might want to be able to experiment with easily.
> That was my argument for higher level API or mechanism (as opposed to
> rxinterval) to improve the visibility of this parameter and to make it
> easy to set it without having to touch the protocol code.
>
> When we talking about these more abstract way to set the LPL
> parameter, we have to be careful about making sure the low level and
> high level setting of the parameter stay consistent/understandable.
>
> - om_p
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080518/cdbb2450/attachment.html
More information about the Tinyos-devel
mailing list