Commit graph

9219 commits

Author SHA1 Message Date
adamdunkels
57b54894f8 Removed mistakenly added development files 2008-01-14 16:05:34 +00:00
adamdunkels
34bd11905c Rewrote the timesynch code to use the Rime sniffer interface instead of the kludge of running timesynch as a MAC layer 2008-01-14 14:50:01 +00:00
adamdunkels
02ee418313 Moving timesynch.[ch] from sys/ to core/net/rime as they have more to do with Rime than with the kernel 2008-01-14 14:22:16 +00:00
adamdunkels
042180c13f Rewrote the sniffer code to use a list, which makes it possible to add any number of sniffers. Sniffers now can be both for incoming and outoing packets. 2008-01-14 09:42:00 +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
adamdunkels
7fcb1f3b2a Updated debug output 2008-01-14 09:36:35 +00:00
adamdunkels
94f8978443 Rewrote the sniffer code to use a list, which makes it possible to add any number of sniffers. Sniffers now can be both for incoming and outoing packets. 2008-01-14 09:35:53 +00:00
adamdunkels
b26754fd95 Removed unused code 2008-01-14 09:34:33 +00:00
adamdunkels
7b94bfb621 Rewrote the code to use polite broadcasts istead of regular broadcasts. This reduces the amount of broadcast traffic, particularly for dense networks. 2008-01-14 09:34:00 +00:00
adamdunkels
bd125aaac6 Changed the code so that the rtimer is only set from the rtimer (interrupt) code, and not from the non-rtimer code. Removed unused code that was supposed to turn the radio off when a packet for another node was heard (but which didn't really work anyway). Changed default on time to 1/100 seconds, and off time to 1/2 seconds 2008-01-14 09:26:42 +00:00
adamdunkels
28eaf5ee40 Moved C preprocessor concatenation macro to sys/cc.h 2008-01-14 09:22:50 +00:00
adamdunkels
3d17762735 Added a macro for concatenation of two strings, which may be macro expansions 2008-01-14 09:22:22 +00:00
fros4943
4c131d6975 added max printf2log message size 2008-01-11 15:37:38 +00:00
nifi
3739cd8eea corrected comment 2008-01-10 13:40:20 +00:00
nifi
75784e2314 simple application to indicate connectivity between two nodes 2008-01-10 09:59:33 +00:00
adamdunkels
bf5ba0fdea Added missing filesize field 2008-01-09 08:12:52 +00:00
adamdunkels
0cb1efe718 Added cfs-posix 2008-01-08 14:27:28 +00:00
adamdunkels
bac526c5f1 Fixed handling of CFS_WRITE and CFS_APPEND 2008-01-08 14:27:06 +00:00
fros4943
c55f320bd5 minor bug fix: recompilation dialog may preselect wrong process if several equally named processes exist (implemented in different source files) 2008-01-08 12:33:25 +00:00
fros4943
9c08ab0009 added get/set config for event listener plugin: (must register new observers as well) 2008-01-08 12:19:25 +00:00
fros4943
58215907bb added get/set config for event listener plugin 2008-01-08 12:12:15 +00:00
adamdunkels
df9d43c62d Fixes to total power plot generation 2008-01-08 08:28:09 +00:00
adamdunkels
f6b4022511 Setting a lower value now causes a discovery packet go out quicker 2008-01-08 08:27:25 +00:00
adamdunkels
bac26c90c8 Made a primary transmission go out immediately instead of within a random interval 2008-01-08 08:26:48 +00:00
adamdunkels
06e6bf31f4 Removed debuggin symbols and indirect symbol pointers. Added calloc and strchr to builtins 2008-01-08 08:22:51 +00:00
adamdunkels
f935be10c9 Added initalization of the serial library. Changed LPM3 to LPM2 since the current serial driver does not work with LPM3 yet (we need to add start edge detection interrupt support to fix that). 2008-01-08 08:21:03 +00:00
adamdunkels
690805ebe7 Added configuration for upcoming shell improvements, removed PROCESS_CONF_FASTPOLL 2008-01-08 08:19:56 +00:00
adamdunkels
959c4f3ee2 Removed ENERGEST_CONF_ON which is present in contiki-conf.h anyway 2008-01-08 08:18:00 +00:00
adamdunkels
bd9230b4b3 Added serial input from stdin, removed uIP initialization since uIP is not used anyway, made stdout unbuffered 2008-01-08 08:08:57 +00:00
adamdunkels
b7ab95499f Added serial and cfs-posix-dir 2008-01-08 08:08:05 +00:00
adamdunkels
ff42002bc5 Added extraction of power data (not just energy) 2008-01-08 08:07:23 +00:00
adamdunkels
bfd894c7bd Made graphs nicer by using gnuplot's mulitplot functionality, added power graph 2008-01-08 08:06:41 +00:00
adamdunkels
12bbe80003 Added timestamps and radio signal noise measurements 2008-01-08 08:05:34 +00:00
adamdunkels
a46aceb5f8 Added generation of symbols.c if CORE is set 2008-01-08 08:04:41 +00:00
adamdunkels
e16b7ffcf0 Changed the return value of the inpt handler function to int so that it can wake up the CPU from LPM 2008-01-08 08:04:09 +00:00
adamdunkels
7f05b8a5ef Added a reboot function 2008-01-08 08:03:02 +00:00
adamdunkels
b50d2b02ee Reformatting to comply with code style 2008-01-08 08:01:41 +00:00
adamdunkels
345d0a8a79 Added a WERROR definition that can be used to turn -Werror on 2008-01-08 08:01:01 +00:00
adamdunkels
a20202231d Minor type change 2008-01-08 08:00:13 +00:00
adamdunkels
d2be099c0e Bugfix: queue buffers were not freed when a new packet was sent, leading to memory leakage. Added debug output. 2008-01-08 07:59:51 +00:00
adamdunkels
c6a43333d2 Call the timeout function only if it is non-NULL 2008-01-08 07:58:49 +00:00
adamdunkels
40d6216ec9 Added API for reading the routing table 2008-01-08 07:58:23 +00:00
adamdunkels
601560b1eb Added hopcount to callbacks 2008-01-08 07:55:56 +00:00
adamdunkels
0c748d7dd2 Debug formatting fixes 2008-01-08 07:55:15 +00:00
adamdunkels
f737127cca Minor type change 2008-01-08 07:55:00 +00:00
adamdunkels
16142f12c7 Removed unused code 2008-01-08 07:54:40 +00:00
adamdunkels
1640b11972 The radio driver now takes care of adjusting for the transmission time 2008-01-08 07:54:16 +00:00
adamdunkels
88a010acdc Added a simple sniffer callback, which currently is a hack - a better solution would be a list of sniffers for both outgoing and incoming packets, but this will do for now. 2008-01-08 07:53:02 +00:00
adamdunkels
5b454bbd5f Added a simple sniffer callback, which currently is a hack - a better solution would be a list of sniffers for both outgoing and incoming packets, but this will do for now. Added trickle, neighbor & route includes. 2008-01-08 07:52:31 +00:00
adamdunkels
b356ebe009 Increased the default input line length from 40 to 80 2008-01-08 07:49:51 +00:00