What I meant was that whether some Plug-in can be developed in TinyViz
without the underlying support offered by TOSSIM. This for example,
can be done like:
1. There is some plug-in in TinyViz which knows the location of all nodes
2. You can find out at what power transmitter is transmitting
3. Based on the distance between the nodes, transmitted power and Path
Loss Exponent, the received power can be determined APPROXIMATELY
using simple calculations.

Am I right??
Tarun


On 9/5/06, Philip Levis <[EMAIL PROTECTED]> wrote:
On Sep 5, 2006, at 6:37 AM, Tarun Bansal wrote:

> I am trying to get RSSI value in TOSSIM (version is 1.1.11-3). The
> code that I am using is:
>
> event TOS_MsgPtr ReceiveRUmsg.receive(TOS_MsgPtr m) {
>                       uint16_t RSSI = m->strength;
>                       dbg(DBG_USR2, "Receive signal strength as 
%d\n",(int)RSSI);
> }
>
> This doesnt seem to work as it shows value as 0. Looking at the
> archives I see that TinyOS versions 1.x doesnt support this. But
>
> 1. Does 2.x support this?

2.x currently does not support this, for two reasons:

1) The exact radio metadata interfaces have not been determined yet
(i.e., should RSSI readings be hardware independent or hardware
dependent).
2) The code hasn't been written.

Since the 2.x radio model is based on RSSI, once 1) is determined, 2)
will be very easy to do. Then, you will be able to access RSSI
readings. I am not sure whether this will be ready by the first 2.0
release.

Phil

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

Reply via email to