adamdunkels
69a5b67523
Updated netsim to new netstack API
2010-02-23 18:44:08 +00:00
adamdunkels
08f06d8039
Updated to new sensors API
2010-02-23 18:43:43 +00:00
adamdunkels
fa4d4db329
Use the common netstack_init
2010-02-18 23:19:03 +00:00
adamdunkels
927aa821c3
Updated to new MAC api
2010-02-18 23:10:06 +00:00
adamdunkels
590b4786c5
Added queuebuf statistics option, since it is used by the examples/rime/example-rudolph1.c code (on the netsim target)
2010-02-08 21:39:15 +00:00
nifi
a7f8761978
Updated to match the new sensors API
2010-01-15 10:34:36 +00:00
adamdunkels
2f19892f74
Updated with the new sensors API
2010-01-15 08:50:39 +00:00
adamdunkels
fe126bc90e
Updated to match the new sensors API
2010-01-14 15:38:56 +00:00
adamdunkels
0076bfe8a5
Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy
2009-03-17 15:56:32 +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
joxe
d2dc732435
changed list_pop to return removed element
2008-12-16 09:59:42 +00:00
oliverschmidt
7cf3165155
Replaced NETSIM macro with general (and now actually working) solution in Makefile.include.
2008-11-17 22:52:10 +00:00
adamdunkels
34e2734cd9
Use the uip-over-mesh network gateway functionality
2008-11-09 12:30:32 +00:00
adamdunkels
0f82635dc9
Bugfix: avoid overflowing the event queue
2008-08-15 19:54:58 +00:00
adamdunkels
35d85897b9
Minor bugfix: the printf() must include the n
2008-08-15 19:34:07 +00:00
adamdunkels
7ca33e2285
Reverted inadvertedly committed change to lpp instead of nullmac
2008-05-27 19:07:20 +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
31ea41d8db
Changed the name of UIP_CONF_TCP_FORWARD to UIP_CONF_IP_FORWARD since forwarding is done at the IP level
2008-05-14 19:19:28 +00:00
adamdunkels
136443a387
Print out interface address
2008-03-03 20:21:59 +00:00
oliverschmidt
2632f8f937
Removed finally unnecessary cast.
2008-02-10 22:36:36 +00:00
adamdunkels
f5b08ff115
Added a crude hack for drawing lines between nodes
2008-02-03 20:49:50 +00:00
adamdunkels
28a3a51f82
Added uIP ICMP destimation unreachable message generation
2008-01-24 23:09:40 +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
00d75c8d16
Made use of uip_ipaddr_to_quad().
2008-01-04 23:28:33 +00:00
oliverschmidt
74fc3b4576
Made netsim gateway ip addr on Windows/Cygwin configurable at the command line.
2008-01-04 23:23:29 +00:00
oliverschmidt
5bff4631e4
Minor reformatting.
2008-01-04 23:09:03 +00:00
oliverschmidt
f75d01a428
Log ip addr in the ordinary way.
2008-01-04 22:21:04 +00:00
oliverschmidt
b96c9deebc
Added "usual" comments.
2008-01-04 21:53:32 +00:00
oliverschmidt
e991edc24d
Added route handling to the Cygwin build. It is done similiar to the other builds by simply shelling out to 'route'. However the coding isn't placed in the driver but in the netsim node main method - and it is fully parametrized.
...
Cygwin doesn't seem to call exit functions on SIGTERM so I needed to go for a signal handler in order to delete the route.
2007-12-17 01:12:09 +00:00
nvt-se
4a5ad23ff4
Make it compile on Linux. tz isn't used anyway.
2007-11-28 13:01:02 +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
nifi
a6d827fa1f
moved initialization of ctimer to allow MAC layer to use ctimers
2007-11-15 13:07:42 +00:00
nvt-se
33e565d20a
Removed unused variables.
...
Initialize header.
2007-11-14 11:17:30 +00:00
zhitao
ff006a5103
keep in synch with the Rime abstraction
2007-10-25 08:26:49 +00:00
adamdunkels
81dfaf575c
Updated API
2007-05-22 21:09:19 +00:00
adamdunkels
6357c240c0
Added rtimer, ethernode rime initialization
2007-05-22 21:08:57 +00:00
adamdunkels
770632e079
Removed redundant file
2007-05-22 20:49:39 +00:00
oliverschmidt
a22d2ecfef
Changed packet drivers from services to plain processes.
...
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.
Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-20 21:41:31 +00:00
oliverschmidt
d4528e427f
Changed Contiki File System (cfs) from a service to a plain library.
...
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:16:08 +00:00
oliverschmidt
237b1617b5
Factored out setup directory search path for source files into Makefile.include.
...
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.
Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
oliverschmidt
4fd1e3ece0
Added signed 32 bit data type.
2007-05-12 20:58:12 +00:00
oliverschmidt
4bf1ecc20e
Made endianess configuration actually work.
2007-04-11 00:25:38 +00:00
adamdunkels
c24044e80c
Made text appear lower to the right, made window larger to accommodate all nodes
2007-04-02 17:58:43 +00:00
adamdunkels
05692681a7
Stats are already printed during exit()
2007-04-02 10:03:35 +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