Thanks for your advice. I am now able to see that sendDone is being called. Now the problem is that the message is not being received. I have BlinkToRadio set up with just two nodes, and they are both booting and their timers are firing, and they are both sending their messages, but none of the messages are being received.
Any suggestions? Lisa -----Original Message----- From: Nicole Neureiter [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 6:49 AM To: Lisa DiPippo Cc: [email protected] Subject: Re: [Tinyos-help] sendDone not called in TOSSIM Hi, the problem is probably how you set up the noise. The current version of TinyOS needs it defined as in the tutorial. The old form with add(i,j,k) is not supported anymore as I found out trying to run an older program with that definition. The whole meyer-heavy.txt is in the tossim file under noise. You need more than the ten entries in the tutorial and somewhere there it is said, that you need at least 100 entries of this file. Try it with part of that file and the implementation in the tutorial, it should work. Nicole > 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
