Yes, it's possible. I did it in TOSSIM 1 several months ago. The first key
thing is using SplitControl interface to control the radio like:

uses interface SpitControl as RadioControl;

You can have several timers in your app, let's say:

uses interface Timer<TMilli> as StartRadioTimer;
uses interface Timer<TMilli> as StopRadioTimer;

Hope this helps.
Ittipong

On 11/04/2008, Mark Smith <[EMAIL PROTECTED]> wrote:
>
> I am trying to simulate the radio sleep and wake up scheduling using
> TOSSIM in Tinyos 2.0
> I could not find any such implementation in Tossim lib. Is it possible to
> simulate the radio to sleep and wakup using TOSSIM?
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to