Commit graph

5890 commits

Author SHA1 Message Date
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
nifi f5ea831445 Added function rtimer_arch_now that makes sure that the timer value does not change between readouts to avoid reading while the timer is being updated. 2010-09-13 20:51:09 +00:00
nifi 095f700b63 Moved down inclusion of rtimer-arch.h to allow rtimer_clock_t to be used in rtimer-arch.h 2010-09-13 20:46:02 +00:00
adamdunkels 6794154aa5 Set a default value for 'send' commands without arguments 2010-09-13 19:15:21 +00:00
adamdunkels 3bca8cfe3d Bugfix: address of first argument to collect_neighbor_list_best() 2010-09-13 14:34:51 +00:00
adamdunkels 754b3113c2 Update to new collect neighbor API 2010-09-13 14:33:20 +00:00
maralvira 1cb0762bd0 Don't post from an interrupt context --- this resulted in process
corruption if a packet was received at the wrong time.

The maca_thread now just PAUSEs and checks rx_head instead of waiting
for a data event to be posted.
2010-09-13 14:15:58 +00:00
adamdunkels bc211db5fd A version of the Contiki shell collect test but with stocastic packet loss. This tests that the collect protocol correctly handles lossy networks. 2010-09-13 13:57:17 +00:00
adamdunkels eb58968459 Added a timer to each phase structure that keeps track of for how long
a particular receiver has not ACKed packets. After some time
(currently 16 seconds), the sender will begin sending full strobe
periods again.
2010-09-13 13:39:05 +00:00
adamdunkels 3ae774c91a Added a way to for specifying lists as parts of structs. These lists
must be initialized with a special LIST_STRUCT_INIT() call before
using.
2010-09-13 13:31:00 +00:00
adamdunkels 3be23eb3fc Fixed alignment issue 2010-09-13 13:29:47 +00:00
adamdunkels f1769a3622 Added the number of hop-by-hop retransmissions to the 'send' command 2010-09-13 13:29:29 +00:00
adamdunkels 591766e663 Significant improvements to the Collect protocol:
* Loop detection and untangling. Now uses in-band loop detection that
  works.

* Link quality estimation. Now starts with a conservative /
  pessimistic estimate for new links.

* Retransmissions. MAC layer and network layer retransmissions are now
  decoupled.

* Loss handling. Deals better with losses now.

* Concurrent applications. Each connection now maintains its own
  neighbor table with separated cost to sink estimates for each
  connection.
2010-09-13 13:28:14 +00:00
nifi e64dca7b77 Always include zero packets in the chart bounds 2010-09-13 12:22:18 +00:00
oliverschmidt a0b8927777 Allow to exit the process owning the foreground window by pressing ctrl-c. This is especially useful if there's no closebutton on the window frames (or no windows at all). 2010-09-09 20:21:26 +00:00
nifi d7c1fffd51 Updated SkyFlash to be used with any M25P80 equipped mote 2010-09-09 19:56:59 +00:00
nifi 2835cdadff Updated to be used with any CC2420 equipped mote 2010-09-09 19:52:26 +00:00
nifi 5b62629afc Updated to use ArrayQueue instead of a linked list for faster random access 2010-09-09 19:52:08 +00:00
nifi a6c49f138e Queue implementation using a rotating, resizable array for fast random access 2010-09-09 19:51:53 +00:00
oliverschmidt 6e5e560e33 Up to now *all* Contiki apps for the Apple2 were built for maximal RAM - which means that they can't return to OS level but must reboot on exit. However many apps can get along well with 1kB less memory - which allows them to exit to the OS.
Therefore now the default is 1kB less memory - and apps actually needing maximal RAM can get it by adding WITH_REBOOT to their DEFINES.
2010-09-08 22:50:56 +00:00
adamdunkels 51477dae23 Updated to use new Collect neighbor api 2010-09-08 19:32:42 +00:00
adamdunkels 4e0744954a Rewrite of important parts of the Collect logic: link estimation
calculation and parent selection.  This fixes a severe bug that caused
loops when packets were erroneously retransmitted due to ACK loss.
2010-09-08 19:21:45 +00:00
nifi c829c7f728 Added shortest/longest/average period to node info panel 2010-09-08 12:40:18 +00:00