Commit graph

29 commits

Author SHA1 Message Date
adamdunkels
69a5b67523 Updated netsim to new netstack API 2010-02-23 18:44:08 +00:00
adamdunkels
65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
adamdunkels
0f82635dc9 Bugfix: avoid overflowing the event queue 2008-08-15 19:54:58 +00:00
adamdunkels
7aa8508e0b Added display of radio status: a green ring appears around nodes with their radio turned on. Added a command that prints out a .fig file that shows the current network setup (press the 'd' key). 2008-05-14 19:22:57 +00:00
adamdunkels
7a356d0fb5 Added support for (simulated) serial data input. Data written to netsim's standard input are now sent as serial data to the main node. 2008-01-14 09:38:16 +00:00
oliverschmidt
b96c9deebc Added "usual" comments. 2008-01-04 21:53:32 +00:00
adamdunkels
a725de0f79 Reimplemented waiting with select() instead of nanosleep(). Let's see if Linux compiles this code now... 2007-11-28 12:54:41 +00:00
nvt-se
34ebd14ec7 Removed usleep and moved the pseudo-random factor to nanosleep's argument. 2007-11-27 20:45:15 +00:00
adamdunkels
90c13c2603 Added time.h include to get nanosleep to compile 2007-11-27 20:32:08 +00:00
adamdunkels
4eae027dd3 Changed usleep() to nanosleep() 2007-11-26 23:28:33 +00:00
adamdunkels
1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
adamdunkels
81dfaf575c Updated API 2007-05-22 21:09:19 +00:00
oliverschmidt
5bceecfbb0 Added Cygwin networking support using WinPcap. 2007-04-01 21:05:17 +00:00
adamdunkels
e6301c6221 Moved tapdev*.[ch] from platform/netsim/net and platform/minimal-net/net to cpu/native/net 2007-03-31 18:49:37 +00:00
adamdunkels
3908b238c1 Added debug output 2007-03-29 22:26:33 +00:00
adamdunkels
3abd973edb Added route addition and removal when starting and exiting 2007-03-29 22:26:17 +00:00
adamdunkels
8935ccb74f Removed reliance on a large uIP buffer configuration. Now internally uses 2048 bytes buffers regardless of uIP buffer size 2007-03-29 22:25:25 +00:00
adamdunkels
af1c78dbe0 Replaced with tapdev-service.c 2007-03-28 20:14:11 +00:00
oliverschmidt
342e720cfd - Moved all ARP handling to service wrapper (and narrowed interface to low level code).
- Adjusted packet forwarding to moving all ARP handling to service wrapper.

- Unified general coding/formatting style.
2007-03-27 21:47:17 +00:00
adamdunkels
1b762247fa Added uip-over-mesh, bugfixes, printing of statistics, renamed init() function to netsim_init() 2007-03-22 18:59:34 +00:00
adamdunkels
f856806909 Fixed compiler warning 2007-03-15 21:59:10 +00:00
adamdunkels
79f04d8dcd Updated to latest rim input/output function names 2007-03-15 21:58:37 +00:00
adamdunkels
9d030483ff Removed ethernode uIP driver from the main code 2007-03-14 00:32:30 +00:00
adamdunkels
4477d81be4 Added Rime driver for the netsim ethernode layer, renamed init.c to netsim-init.c 2007-03-13 13:07:47 +00:00
adamdunkels
c67ce1c1b0 Added hack for letting nodes signal that they are 'done'. The simulator exits when all nodes are done. Fixed random initialization so that it is different for all nodes. 2006-10-23 09:01:06 +00:00
adamdunkels
bc8016543a Make netsim more like the esb target 2006-10-10 15:58:31 +00:00
adamdunkels
5a5b964b2e UPdated to latest hc.c API 2006-10-09 11:56:49 +00:00
adamdunkels
0e8cdd9e8e Added radio signal strength simulation 2006-10-06 08:25:30 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00