Other Parts Discussed in Thread: CC2431, TIMAC, Z-STACK, CC2530
Hello. I'm trying to get the LQI value using cc2431.
I'm using the TIMAC software.
In the source code, there is a function for obtaining a LQI value.
The function is,
uint8 macRadioComputeLQI(int8 rssiDbm, uint8 corr)
{
(void) corr; /* suppress compiler warning of unused parameter */
/*
* Note : Currently the LQI value is simply the energy detect measurement.
* A more accurate value could be derived by using the correlation
* value along with the RSSI value.
*/
return(radioComputeED(rssiDbm));
}
But the return value of the function is not the combination value of RSSI and correlation value.
I think that the function is not completely coded.
I would like to get the LQI value accurately. How can I get the value?
Kindly reply ASAP..