Commit Graph

5812 Commits

Author SHA1 Message Date
joxe
77c5187a2e fixed bug where context is null but still referenced 2010-09-23 19:57:50 +00:00
joxe
494d2a3073 only compare with global addresses when selecting source for a specific destination 2010-09-23 18:17:27 +00:00
nifi
e242fb28bf Reverted radio API change in CC2420 (not yet fully integrated with Contiki core) 2010-09-23 08:26:06 +00:00
adamdunkels
9ce45ac452 Send only link estimate, not rtmetric + link estimate, for best neighbor 2010-09-22 22:14:03 +00:00
adamdunkels
7c14899eeb Made stack printout on reboot configurable.
Added the ability to turn on watchdog multiple times - the watchdog
registers are touched only when the watchdog goes from off to on state
to avoid retriggering the watchdog when it shouldn't.
2010-09-22 22:12:37 +00:00
adamdunkels
0261af4af2 Made use of the new collect keepalive timer 2010-09-22 22:11:20 +00:00
adamdunkels
b72e90597e Rewrote the default powertrace_sniff() behaviour. Instead of printing
out power data for all incoming and outgoing packets (which causes
problems when there is much traffic), the power data for the packets
is instead logged and periodically printed out in aggregated form.
2010-09-22 22:09:52 +00:00
adamdunkels
eed22a6f3c A number of changes to the collect code:
* Added an optional "keep alive" mechanism whereby an idle network is
periodically probed by dummy packets to maintain a recent quality
metric when there is no traffic.
* Bugfix in when new routing metrics should be advertised
* Rewrote the ACK logic so that a queuebuf is not allocated for each
ack, only for those acks generated by the sink node.
* Updated the wrap-around logic for sequence numbers: when a sequence
number wraps, it won't go back to 0. Instead, it wraps to 128. This
allows us to understand when a node has rebooted: when its seqno is <
128, it has recently rebooted.
2010-09-22 22:08:08 +00:00
adamdunkels
2cae71e89b Added a function for obtaining the link estimate and rtmetric for a neighbor 2010-09-22 22:04:55 +00:00
adamdunkels
46b2451969 Made the initial link estimate explicit 2010-09-22 22:03:21 +00:00
adamdunkels
40ee35e8c8 Rewrote all busy waits with a new macro, which has a built-in timeout to ensure that busy waits won't hang the CPU 2010-09-22 22:01:53 +00:00
nifi
fb9c7607b0 Added charts over next hop changes and estimated lost packets. 2010-09-21 20:24:18 +00:00
joxe
1dc5366b15 fixed buggy comment 2010-09-21 13:15:25 +00:00
joxe
f1d19a5f9a no callback to rpl if rpl is not used 2010-09-21 13:13:09 +00:00
kasunch
75e4e80df2 Adding machine dependent SLIP routines source file to the sources list 2010-09-20 18:34:14 +00:00
kasunch
ce8bb8df9c Adding machine dependent SLIP routines for UART0. 2010-09-20 18:30:25 +00:00
kasunch
6104922c40 Added new network initialization source file to the sources list. 2010-09-20 18:22:28 +00:00
kasunch
4ebc114e90 Now, all network related initialization code segments are in one file 2010-09-20 18:15:27 +00:00
kasunch
3f1bea1ed3 1. Initialized SLIP when uIPv4 or uIPv6 is used.
2. Random number generator is initialized using both node id and unique hardware id
3. Printing MAC address is moved to network initialization section.
2010-09-20 18:07:25 +00:00
kasunch
cdc68b13e0 1. Added uIPv6 configuration options.
2. Fine tuned some configuration options to save RAM.
2010-09-20 17:56:14 +00:00
joxe
63ab1ffce0 clear default route when neighbour is removed 2010-09-20 15:30:12 +00:00
dak664
110bc0242e Merge CDC-ECM, RNG, DFU bootloader, watchdog, settings manager, energy scan routines of Robert Quattlebaum 2010-09-17 21:59:09 +00:00
dak664
7b529cac03 Move fakeuip.c to examples directory for proper selection when CONTIKI_NO_NET=1 2010-09-17 16:49:44 +00:00
nifi
bba653f20c Added categories for cleaner tab layout
* Added estimated packet loss and next hop change count to node info panel
2010-09-15 16:15:10 +00:00
nvt-se
58db04ee64 Set a high penalty for packet losses. 2010-09-15 15:59:52 +00:00
nvt-se
072f208a29 Removed unused variable. 2010-09-15 15:55:08 +00:00
nifi
819c55ba14 Added gradients to bar chart 2010-09-15 15:52:28 +00:00
nifi
b783aebfcd Do not include last (ongoing) minute in chart 2010-09-15 15:20:47 +00:00
nifi
66e32facee Shorter chart legend 2010-09-15 15:16:49 +00:00
nvt-se
098f4001e0 Use fixed point arithmetic in the calculations of the ETX EWMA 2010-09-15 15:10:25 +00:00
nvt-se
adf6961a85 Various bug fixes and adjustments for rpl-11 2010-09-15 13:22:22 +00:00
adamdunkels
11d5a3eb28 Set the default packet rate to one packet per minute. Set the default number of hop-by-hop retransmissions to 15. 2010-09-15 06:30:45 +00:00
nifi
7ffa792a26 Changed NodeInfo to use a table to show node information instead of text area. 2010-09-14 23:04:50 +00:00
nifi
3a8313f0cc Clear all nodes when clearing sensor data. Use Node.compareTo() to sort nodes instead of NodeComparator. 2010-09-14 22:54:58 +00:00
nifi
85ca99f66a Only remember last link for each node + changed node comparator to sort by id 2010-09-14 22:40:59 +00:00
dak664
dc9f16131c Make fake routines conditional on CONTIKI_NO_NET 2010-09-14 19:16:53 +00:00
dak664
6d3c276e7e Add rpl configuration and webserver options. 2010-09-14 19:13:05 +00:00
dak664
b9a9e7695d Add option to remove process name strings to save RAM 2010-09-14 18:55:04 +00:00
dak664
b9b4f07ad9 Add internal webserver option 2010-09-14 17:03:29 +00:00
dak664
0858f71e6a Add rpl webserver option 2010-09-14 16:59:44 +00:00
adamdunkels
3a4b479704 Added a radio duty cycle tab; made packet reception chart have integer labels 2010-09-14 14:23:58 +00:00
nifi
4b0ffb0739 Bug fix: use getNodeTime() instead of getSystemTime() 2010-09-14 11:27:23 +00:00
adamdunkels
87036b0089 Bugfix: use getNodeTime() instead of getSystemTime() 2010-09-14 10:44:07 +00:00
nifi
aff3fcad87 Fixed to sort nodes by id. Added charts for packets received last 5 minutes and last/average hops to sink 2010-09-14 10:38:12 +00:00
nifi
a226286351 Added option for non-stack bar chart 2010-09-14 10:35:00 +00:00
adamdunkels
2be8454a15 Const and typecast bugfix 2010-09-14 07:18:14 +00:00
adamdunkels
66afde05f4 Reduced size of binary to fit on Tmote Sky platform 2010-09-14 07:17:21 +00:00
adamdunkels
18e31f33b9 Minor tweaks. Removed debug output from CVS. 2010-09-14 06:48:36 +00:00
adamdunkels
afd18a4fb5 Fixed compilation errors 2010-09-14 06:47:08 +00:00
adamdunkels
f11b0d56ee Fixed compilation error 2010-09-14 06:40:17 +00:00