I am trying to run the BlinkToRadio application using TOSSIM. I can get the
motes to boot and they all send their messages with SUCCESS. But sendDone
is never called.
I looked in the archives for help, and found some other posts with the same
problem. They suggested that the python script needs to set up radio noise,
so I added it. Below is the script I am using. It is the same script that
was suggested in the answer in the archives. I am running this in Xubuntos
2.0 in VMWare Player running on top of Windows XP.
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()
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help