[Tinyos-help] adjustLQI function
renjie huang
huangrenjie.hust at gmail.com
Tue May 6 10:53:32 PDT 2008
It is just a mapping from LQI to one-hop cost. There is no theory basis for
it.
On 5/6/08, funofnet Funofnet <funofnet at yahoo.fr> wrote:
>
> Hi,
>
> Please,
>
> What is the meaning of this function:
>
>
>
> uint16_t adjustLQI(uint8_t val) {
> uint16_t result = (80 - (val - 50));
> result = (((result * result) >> 3) * result) >> 3; *( simply
> [(result)^3]/64 )
> * return result;
> }
>
>
>
> Thanks in advance.
>
>
>
> Funofnet
>
> __________________________________________________
> Do You Yahoo!?
> En finir avec le spam? Yahoo! Mail vous offre la meilleure protection
> possible contre les messages non sollicités
> http://mail.yahoo.fr Yahoo! Mail
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Renjie Huang
Sensorweb Research Laboratory
http://sensorweb.vancouver.wsu.edu/
Washington State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080506/8cb50c2a/attachment.htm
More information about the Tinyos-help
mailing list