[Tinyos-help] Displaying RSSI value in TOSSIM using TinyViz
Tarun Bansal
bansal.tarun at gmail.com
Tue Sep 5 06:37:14 PDT 2006
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. Is it possible to make some plugin in TinyViz (knowing the location
of the nodes) to get some approximate value of RSSI?? (I think this
should not be difficult)
Tarun Bansal
More information about the Tinyos-help
mailing list