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
>

Hi Phil,

I present PowerTOSSIM, a power modeling extension to TOSSIM. PowerTOSSIM 
accurately models power consumed by TinyOS applications. I also include a 
detailed model of the power consumption of the Mica2 motes.

TOSSIM uses an old version of the mica radio stack, which does not support 
power management and tuning transmission power. PowerTOSSIM includes a port 
of the mica2 radio stack, so it is now possible to run programs that take 
advantage of the CC1000's power management features. To use it include in 
Makefile:

PFLAGS += -I%T/platform/pc/CC1000Radio


PowerTOSSIM web: http://www.eecs.harvard.edu/~shnayder/ptossim/


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

Reply via email to