[Tinyos-help] how to convert raw LQI value?

2006-09-08 Thread X Z
Hi, I have a question regarding the LQI value conversion. There is an equation in Chipcon CC2420 document as follows: LQI=(CORR-a)*b Where a and b are found empirically based on PER measurements as a function of correlation value. This equation refers to the 802.15.4 standard, but I

Re: [Tinyos-help] how to convert raw LQI value?

2006-09-08 Thread Kannan Srinivasan
The standard simply says that LQI has to be between 0 and 255. It does not say how it is calculated. The raw value you get from CC2420 (CORR) is between 40 and 110. A simple thing to do might be to find 'a' and 'b' such that the final value is between 0 and 255. To get a more meaningful value