On Mon, May 4, 2009 at 9:43 AM, Rémi Villé <[email protected]> wrote: > Thanks for your very useful answers, > > What is the difference between LinkEstimator sources in tos/lib/net/le and > tos/lib/net/4bitle ? > which one is used ?
le is a straightforward eetx estimator. 4bitle is the four-bit link estimator uses additional information to be more accurate as described in this paper: http://enl.usc.edu/papers/abstract/Fonseca07.html By default 4bitle is used but you can use either one - just change the path in the Makefile. > I have read sources from le directory, I have seen how EETX is deduced from > ratio msg_rcv/(msg_rcv + msg_fail) and data_success/data_total with EWMA. > I don't know yet how I will add a data similarity estimation, because if I > add it directly into the LinkEstimator I will have two data captures (one in > a timer at an upper level (to do data aggregation) and one at the LEEP > level), I don't see yet the solution maybe because I'm new with TinyOS and > the wiring-oriented programmation (maybe there's a way to branch components > to allow LEEP to use data captured at the App layer level, but I'm not > sure). When your application generates a new sensor sample, it can call the link estimator with the new information. To do something like this you will have to be comfortable with wiring and interfaces. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
