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 <
[email protected]> 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 [[email protected]]
> *Sent:* Tuesday, May 22, 2012 4:54 PM
> *To:* Li, Haixia-OSU Stillwater
> *Cc:* [email protected]
> *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 <
> [email protected]> 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
>> [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
>



-- 
Wasif Masood
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to