[Tinyos-help] SendDone() in TOSSIM problem!

Mustafa Hammad king1_mustafa at yahoo.com
Tue Apr 1 23:44:41 PDT 2008


Hi
   
  I am using Tinyos 2.x under xubuntu. I noticed that SendDone() event does
not fired at all in TOSSIM. I tried so many examples and scripts as in the tutorial
but it did not fire. Also, I sow some people faced the same problem in the
web. Is this a bug in the TOSSIM or we miss something?
   
  Script example:
   
   from TOSSIM import *
 import sys

   t = Tossim([])
 r = t.radio()

 r.add(1,2,-50)
 r.add(2,1,-50)
 r.add(1,3,-50)
 r.add(3,1,-50)
 r.add(2,3,-50)
 r.add(3,2,-50)

 r.setNoise(1, -100.0, 5.0)
 r.setNoise(2, -100.0, 5.0)
 r.setNoise(3, -100.0, 5.0)

 t.addChannel("Boot", sys.stdout)
 t.addChannel("BlinkC", sys.stdout)

   t.getNode(1).bootAtTime(100001);
 t.getNode(2).bootAtTime(800008);

 t.getNode(3).bootAtTime(1800009);

 for i in range(0,10000):
         t.runNextEvent()
   
   
  
Thanks,
Mustafa

       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080401/4094a7cc/attachment.html


More information about the Tinyos-help mailing list