[Tinyos-help] adjustLQI function

funofnet Funofnet funofnet at yahoo.fr
Tue May 6 10:31:36 PDT 2008


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080506/17aa46cf/attachment.htm 


More information about the Tinyos-help mailing list