|
|
/home/brennan/Software/sensix/tools/sim/platform.pc/packet_sim.c File Reference#include <packet_sim.h> Go to the source code of this file.
Define Documentation
This is a drop-in replacement for TOSSIM's radio stack that operates at the packet, rather than the bit, level. In preliminary testing it performs about 100 times faster than the default bit-level radio stack. Obviously it does not capture the subtleties and behavior of the bit-level simulation, but, it is useful for testing and simulating large networks. To use this code, all you need to do is add the line PFLAGS = -I/path/to/tinyos/broken/experimental/mdw/tossim to your application Makefile, then rebuild your application with 'make pc'. This packet-level simulation is compatible with TOSSIM's lossy radio models, so if you are using "-r lossy" or setting link-level loss probabilities with TinyViz, it will work. Philip Levis - pal@cs.berkeley.edu Definition at line 54 of file packet_sim.c.
Definition at line 55 of file packet_sim.c.
Function Documentation
Definition at line 130 of file packet_sim.c.
Definition at line 115 of file packet_sim.c.
Definition at line 91 of file packet_sim.c.
Definition at line 106 of file packet_sim.c.
Variable Documentation
Definition at line 61 of file packet_sim.c.
Definition at line 60 of file packet_sim.c.
Definition at line 57 of file packet_sim.c.
Definition at line 76 of file packet_sim.c.
Definition at line 64 of file packet_sim.c.
Definition at line 75 of file packet_sim.c.
Definition at line 59 of file packet_sim.c.
Definition at line 58 of file packet_sim.c.
Definition at line 74 of file packet_sim.c.
Definition at line 63 of file packet_sim.c.
Definition at line 80 of file packet_sim.c.
Definition at line 62 of file packet_sim.c.
|