Commit graph

5777 commits

Author SHA1 Message Date
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
nifi
20ea27c468 Updated to sort nodes by numeric id instead of name 2010-09-08 12:39:40 +00:00
nifi
77014a8d90 Added chart with received packets per minute and skeleton for node statistics panel 2010-09-06 22:42:29 +00:00
nifi
46f258f66c Disabled visible node drag when moving nodes in the map panel (too cpu intensive). 2010-09-06 22:32:56 +00:00
nifi
8096e26f22 Added duplicate detection 2010-09-06 22:19:09 +00:00
fros4943
1b87be975a changed default udgm to calculate success probabilities by distance. the previous behavior of udgm was renamed to "UDGM: Constant Loss" 2010-09-06 12:00:46 +00:00
joxe
a36ea1f506 fixed compilation bug 2010-08-31 20:05:44 +00:00
nifi
f05952c926 Changed packet id to use 8 bit instead of 4 bit 2010-08-31 13:14:49 +00:00
nifi
302a07344c * Updated to show base shape in line charts (can be disabled in menu)
* Added simple packet delivery chart based on sequence numbers
2010-08-31 13:05:40 +00:00
fros4943
925759e72c added simple way for user to reconfigure application radio's channel 2010-08-31 07:35:22 +00:00
oliverschmidt
c54fee4738 Demonstrate usage of 'wwwroot.cfg' by allowing access to the example files from the build directory. 2010-08-30 20:01:30 +00:00
oliverschmidt
a5dff5e08a Up to now the root of the webserver filesystem was always the current directory. Now an optional file 'wwwroot.cfg' is read. If present its content is used as prefix in the conversion of http paths to local paths. This prefix may be a relative path as well as an absolute path.
This is especially useful for the cc65-based targets as it ain't possible there to "just change into the wwwroot directory and start the webserver using its pathname".
2010-08-30 19:44:38 +00:00
joxe
f02cdc7c8f minor polish to the phidget sensor driver 2010-08-27 12:58:57 +00:00
joxe
3d22887e9f added phidget example for z1 2010-08-27 12:51:41 +00:00