Thanks, that was the problem I had. The motes were not booted.
Mahesh.
Philip Levis wrote:
On Thu, 2006-03-23 at 20:27 -0500, Mahesh Arumugam wrote:
Hi,
I am trying to simulate an application with TOSSIM. In my
program, mote 0 broadcasts a message. I have defined the
network topology as a 3x3 grid, with 0.0 bit error
probability on all the links.
When I run the simulation, 0 sends the message, but in some
cases (e.g., seed value = 374713), none of its neighbors (1
and 3) receive the message. I tried to see what is happening
in the rfm_model.c file. I observed that TOSSIM is invoking
lossy_transmit() function to send the message. However,
before the neighbors of mote 0 invoke lossy_hears(),
lossy_stop_transmit() is invoked and the bit is reset to
0. So motes 1 and 3 always hear 0.
If I use a different seed value in the simulation (e.g.,
841886), 0 can successfully communicate with 1 and 3. In
other words, the lossy_stop_transmit() is called only after
1 and 3 invoke lossy_hears().
Please reply what is the problem.
Perhaps they haven't booted yet?
Phil
--
Mahesh (Umamaheswaran) Arumugam
Graduate Research Assistant
Computer Science and Engg Email: arumugam @ cse.msu.edu
Michigan State University Phone: (off) +1-517-353-4638
East Lansing MI 48824 Web: www.cse.msu.edu/~arumugam
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help