Hello Hamid,

Thank you very much. Do you know what should I do for getting RSSI of mica2? 
The RssiBase doesn't support CC1000 in fact. If I want to read RSSI of mica2, 
what component can I use?

Regards,
Haixai Li
________________________________
From: Hamid Rafiei Karkvandi [[email protected]]
Sent: Wednesday, May 23, 2012 12:13 PM
To: Li, Haixia-OSU Stillwater
Cc: wasif masood; [email protected]
Subject: Re: [Tinyos-help] RSSI with IRIS

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 
<[email protected]<mailto:[email protected]>> 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 [[email protected]<mailto:[email protected]>]
Sent: Wednesday, May 23, 2012 11:39 AM
To: Li, Haixia-OSU Stillwater
Cc: Hamid Rafiei Karkvandi; 
[email protected]<mailto:[email protected]>

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 
<[email protected]<mailto:[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]<mailto:[email protected]>]
Sent: Tuesday, May 22, 2012 4:54 PM
To: Li, Haixia-OSU Stillwater
Cc: 
[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]<mailto:[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