Commit graph

2087 commits

Author SHA1 Message Date
adamdunkels
edd509acf5 Added nicer configuration options. Added hack for optimizing X-MAC for unicast packets. Added statistics gathering. Turn radio off when someone else is receiving a packet. Queueing packets when X-MAC cannot send immediately (since someone else is transmitting). 2007-05-22 20:55:24 +00:00
adamdunkels
a495d1230b Added Rime statistics 2007-05-22 20:53:24 +00:00
adamdunkels
9b6f6d6822 Added IRQ and SERIAL component. 2007-05-22 20:53:04 +00:00
adamdunkels
f5c8869028 Added a function for setting the estimated energy of a component 2007-05-22 20:52:20 +00:00
adamdunkels
b8d586b210 Enabled dropping of packets with bad CRC. Added statistics gathering. Bugfix when packets where shorter than 2 bytes 2007-05-22 20:51:30 +00:00
adamdunkels
0e4c30ccb4 Added net include to define u*_t types 2007-05-22 20:50:22 +00:00
adamdunkels
770632e079 Removed redundant file 2007-05-22 20:49:39 +00:00
adamdunkels
a68b8a0a0d Rime statistics gathering 2007-05-22 20:48:41 +00:00
adamdunkels
0a26f4a712 Reliable single-hop unicast bulk transfer 2007-05-22 20:45:49 +00:00
adamdunkels
0206e1cd3b Hop-by-hop reliable multi-hop communication primitive (untested) 2007-05-22 20:45:18 +00:00
oliverschmidt
fdded2f77f no message 2007-05-22 20:32:32 +00:00
adamdunkels
940f323801 Removed unused files 2007-05-22 17:35:28 +00:00
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