Hi, I'm using tossim for tinyos-1.x. From looking at the files in tos/platform/pc, I've noticed that there's a file called packet_sim.c which seems to simulate collisions by corrupting packets when a packet is received at the same time one is transmitted. However I haven't seen this code getting called. If you look at tos/platform/pc/Nido.nc you will that RadioSendMsg.send calls transmit_packet in packet_sim.c. So what I've done so far is add a wiring Send=Nido.RadioSendMsg so that transmit_packet gets called. I still haven't seen the collision code in packet_sim.c get called and furthermore I have witness the program crash with a segmentation fault so this probably not the way to do it.
So could someone please guide me as to how get collision simulation working in tossim? Thank you for your time, -- Nikolas Pontikos. _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
