[Tinyos-help] Displaying RSSI value in TOSSIM using TinyViz
Tarun Bansal
bansal.tarun at gmail.com
Tue Sep 5 09:44:58 PDT 2006
Right...The simple path loss model:
PowerReceived = PowerTransmitted / PathLoss
where PathLoss = (4*pi*distance/Wavelength)^(path loss exponent)
won't be sufficient in all cases.
Some other exhaustive path loss model will have to be used. A lot of
such models should be already available in "Communications"..
That would be sufficient
Tarun
On 9/5/06, Hui KANG <huk at cs.okstate.edu> wrote:
>
> Before you display the RSSI value, you should create a model that can
> simulate the transmission condition such as distance, power, etc.
>
> On 9/5/2006, "Tarun Bansal" <bansal.tarun at gmail.com> wrote:
>
> >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 <pal at cs.stanford.edu> 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
> >Tinyos-help at Millennium.Berkeley.EDU
> >https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
More information about the Tinyos-help
mailing list