Hi! Look at the RF230ActiveMessageC component, and there you will see the PacketRSSI interface. Also, read the README in tos/chips/rf230 directory. You can either obtain the LQI or RSSI, but not both on the IRIS. As for the conversion, use the datasheets of the AT86RF230 and CC2420 radios to figure it out.
Miklos On Tue, Apr 19, 2011 at 10:08 AM, CELALETTIN UMIT BAS <[email protected]> wrote: > Hello, > > I have problem on reading LQI and RSSI values from a iris mote. In one > of my application I was using RSSI and LQI values. I used to use > shimmer motes with tinyos. Both of LQI values were provided in > CC2420Packet interface with the functions of getRssi and getLqi. But > now I am trying to use same application on a iris motes from crossbow. > But I am not able to find the same interface or any interface > suggesting LQI and RSSI values. I found variables as strength and lqi > on TOS_MsgPtr. But these provides numbers in a different(ie. LQI in > shimmer (50,100), LQI in iris (0,255)) range than before. Is there any > conversion formula from one to another or should I read these values > from somewhere else on iris. > > Thanks in advance... > > C. Umit Bas > Graduate School of Sciences & Engineering > Electrical and Computer Engineering > M.Sc. Student > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
