Hi, That can be right, just make sure you are choosing the right packet field and the right 2 bytes, RSSI VAL can only change between 0 to 27 or in other words, the indicator doesn't show the RF input power of higher than -10 dBm or lower than -91 dBm,
Regards, Hamid Rafiei Karkvandi On Wed, May 23, 2012 at 11:00 AM, Li, Haixia-OSU Stillwater < hai...@ostatemail.okstate.edu> wrote: > Hello Wasif, > > Thanks for your reply. > > I want to directly use the data of Hex message. > > For example, there is a message. > > 7E 45 00 FF FF 00 01 02 3F 0A 00 1B 16 48 7E > > > I think 00 1B is the RSSI. 0X 1B=27 > > can I get the received power (dBm) = -91dBm+3*(27-1)=-13 dBm ? Is this > right? > > Thanks again. > > Regards, > Haixia > ------------------------------ > *From:* wasif masood [rwmas...@gmail.com] > *Sent:* Wednesday, May 23, 2012 11:39 AM > *To:* Li, Haixia-OSU Stillwater > *Cc:* Hamid Rafiei Karkvandi; tinyos-help@millennium.berkeley.edu > > *Subject:* Re: [Tinyos-help] RSSI with IRIS > > Dear Li, > > I guess you can also use MsgReader and specify your RssiMsg file as > generated by the MIG tool, or else you can simply lookup for the last 2 > bytes of the Hex message. For details about the Hex message please refer to > the PC to Mote communication tutorial on tinyos Documentation. > > BR, > Wasif > > On Wed, May 23, 2012 at 5:19 PM, Li, Haixia-OSU Stillwater < > hai...@ostatemail.okstate.edu> wrote: > >> 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> 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 >>> 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 >> > > > > -- > Wasif Masood > >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help