Commit graph

2625 commits

Author SHA1 Message Date
oliverschmidt 080ecc5488 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-21 22:29:13 +00:00
bg- 3f4ec3cf44 * Use _end rather than nonstandard __bss_end. 2007-05-21 15:29:46 +00:00
bg- 6c19bed556 * Rename field reserved to prefix_sz.
* Literal constant RSSI_THRESHOLD.

* Send fake RREPs to implementations that insist on sending HELLOs.

* Ignore and clear ACK flag in RREPs.
2007-05-21 15:26:57 +00:00
bg- 0d908b24c8 * Rename field reserved to prefix_sz. 2007-05-21 15:24:44 +00:00
bg- 4275601eb8 * Line buffered stdout (also when pipe). 2007-05-21 15:22:45 +00:00
fros4943 7d3c72c8d7 removed cfs ref in template 2007-05-21 15:00:13 +00:00
fros4943 63e1ab3e60 removed old cfs process from default config 2007-05-21 14:59:57 +00:00
fros4943 cbc6f57f34 removed old cfs.c 2007-05-21 14:57:47 +00:00
fros4943 166ff3a4a0 new includes 2007-05-21 14:52:15 +00:00
bg- d273319641 * Contiki names for integer types. 2007-05-21 14:51:32 +00:00
bg- e83221cdab * Compiler option -mno-tablejump should not be default. 2007-05-21 14:30:52 +00:00
fros4943 75e2463b17 removed:
uip_fw_init() called from process, causing all network interfaces to be reset *after* earlier initialization routines.
2007-05-21 14:30:38 +00:00
bg- d68e4bd3df * Add missing file. 2007-05-21 14:28:14 +00:00
bg- 1009c3fabf * Literal constants REMOTE_*. 2007-05-21 14:24:51 +00:00
bg- 95d95a63ac * s/uip-fw-service/uip-fw-drv/ 2007-05-21 14:22:05 +00:00
bg- a3f5123c44 * s/uip-fw-service/uip-fw-drv/ 2007-05-21 14:21:07 +00:00
bg- be3d5e8394 * s/uip-fw-service/uip-fw-drv/ 2007-05-21 14:13:04 +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 5f3296e943 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:29:39 +00:00
fros4943 42a952981b bugfix: could not store last seen rreqs 2007-05-20 20:08:28 +00:00
oliverschmidt c32b2ca581 Replaced function with macro. 2007-05-20 00:04:18 +00:00
oliverschmidt 61f54204d7 Improved map file naming consistency. 2007-05-19 21:46:43 +00:00
oliverschmidt 0e023b328a 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:37:54 +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 9f97290665 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:05:48 +00:00
fros4943 67ae9fbcb7 application radio
may be used by java-based motes to implement radio functionality
2007-05-19 17:17:34 +00:00
fros4943 b18d87195d removed event thread exceptions 2007-05-19 17:05:54 +00:00
fros4943 fb9728b29f allow mote to go to sleep due to etimers IFF contiki system was ticked 2007-05-19 16:56:55 +00:00
fros4943 8d6cd6a5b5 dummy mtarch 2007-05-19 14:47:17 +00:00
fros4943 ff7c1d8f12 added uIP over uAODV radio driver support for COOJA
the radio driver assumes uAODV already has a route to the destination, hence the application is responsible for fetching routes and buffering delayed packet data
2007-05-19 14:27:08 +00:00
fros4943 841cbd1b99 uIP over uAODV simple radio driver 2007-05-19 14:25:43 +00:00
oliverschmidt 1e372f13c6 Added new include directory to VC++ project files. 2007-05-19 13:38:25 +00:00
oliverschmidt eaff19200b Added new header file to VC++ project file. 2007-05-19 13:37:16 +00:00
oliverschmidt 51509fa49a Added dummy value to allow for building. 2007-05-19 13:20:37 +00:00
oliverschmidt c15984eb24 Avoid function pointer mismatch in set_receive_function(). 2007-05-19 13:19:22 +00:00
oliverschmidt 0e9c61ca0c The PT_* macros contain return statements so a function using them must return a value. 2007-05-19 13:12:00 +00:00
oliverschmidt ae2073cac9 Factored out setup directory search path for source files into Makefile.include.
- All compilers used support the -I option for setting an include search directory.

- The Contiki source tree follows the (common) approach of placing declarations (in headerf iles) in the same directory as definitions (in source files).

As a result it makes sense to use the -I compiler option for just the same set of directories used for the vpath gnumake directive.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-19 07:54:53 +00:00
fros4943 41adb8caf3 radio_sstrength returns last received packet instead of current value
radio_current_sstrength returns current value
2007-05-18 15:20:20 +00:00
fros4943 d62e75ac3f debugging output 2007-05-18 15:18:07 +00:00
fros4943 1937e663ad setting UDGM signal strength depending on distance 2007-05-18 15:17:11 +00:00
fros4943 af0fcc9be5 added menu info on current java version 2007-05-18 14:08:19 +00:00
fros4943 8ad036b9a2 removed comm stack processes from standard autostart processes 2007-05-18 13:52:29 +00:00
fros4943 1648d10e91 removed comm stack specifics from template 2007-05-18 13:51:42 +00:00
fros4943 8ef1b90a10 removed radio sources from makefile
(thrown during compilation instead)
2007-05-18 13:51:04 +00:00
fros4943 2e11cfcdeb removed compiler warning 2007-05-18 13:50:08 +00:00
fros4943 afe66ed534 cooja radio driver (uip + rime) 2007-05-18 13:49:49 +00:00
fros4943 63c7300388 cooja's init-net for uip and rime 2007-05-18 13:49:15 +00:00
fros4943 643ce5adfe added support for several contiki comm stacks (uip + rime) 2007-05-18 13:45:19 +00:00
fros4943 41255df6b0 removed old radio_on/off functions 2007-05-18 13:13:18 +00:00
oliverschmidt e5d6dd1db5 Removed sources from makefile which don't exist in the CVS repository. 2007-05-17 19:22:04 +00:00