Hello Hamid, Thank you for your reply. I followed the RSSI demo tutorial. However, I cannot use the java program, and I cannot figure out why. So, I directly get the packets from the serial port. Now I have the packets, I want to get the RSSI. How should I change the data in the packet to the RSSI? And is the data given by the RSSI demo java the received power dBm ?
Appreciated. Regards, Haixia Li ________________________________ From: Hamid Rafiei Karkvandi [hamid.raf...@gmail.com] Sent: Tuesday, May 22, 2012 4:54 PM To: Li, Haixia-OSU Stillwater Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] RSSI with IRIS Hi, You may follow the steps in the RSSI demo tutorial, it is totally straightforward, RSSI Base Value is given in the datasheet to be -91dBm the lowest that IRIS mote can detect, Regards, Hamid Rafiei Karkvandi On Tue, May 22, 2012 at 3:33 PM, Li, Haixia-OSU Stillwater <hai...@ostatemail.okstate.edu<mailto:hai...@ostatemail.okstate.edu>> wrote: Hello all, I want to get RSSI of IRIS. I used RssiBase, but I didn't use the RssiDemo.java. I directly received the packet transmitted by RSSI. For example, a packet is : 7E 45 00 FF FF 00 01 02 3F 0A 00 1B 16 48 7E I think the 00 1B is the RSSI. Can anyone tell me how to change this value to input power? The RF230 datasheet(P52) says PRF=RSSI_BASE_VAL+3*(RSSI-1) , and the RSSI value is represented in the lowest five bits. should I use the equation and only use the lowest five bits of 00 1B? and what is the RSSI_BASE_VAL? Thanks. Haixia _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu<mailto:Tinyos-help@millennium.berkeley.edu> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help