[Tinyos-help] CC2420 LQI in TinyOS 2.0
Paul Chiang
yschiang at csie.nctu.edu.tw
Fri Dec 15 07:47:27 PST 2006
Hi,
I have noticed that in TinyOS 2.0 the CC2420 LQI seems to be a function of
RSSI. More specifically, LQI seems to be calculated from RSSI as follows:
LQI = RSSI>0 ? RSSI : 128 + RSSI
This does not match the information given in the CC2420 datasheet where it
states that the range of LQI is 50~110, not to mention that the two values
should have been calculated using different methods in the first place.
I am calling CC2420ActiveMessageC's CC2420Packet interface for the LQI and
RSSI values. I wonder if I am doing anything wrong or if in TinyOS 2.0 LQI
is not being read from the CC2420 register?
TIA,
Paul Chiang
P.S. I am using MicaZ and TmoteSky motes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061215/6b058144/attachment.htm
More information about the Tinyos-help
mailing list