Commit graph

7429 commits

Author SHA1 Message Date
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
Mariano Alvira e50db7f1c0 use kermit in open-terms 2010-09-08 17:01:04 -04:00
Mariano Alvira 0acf62f4f1 fix byte ordering in burn-macs 2010-09-08 17:00:36 -04: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
Mariano Alvira b3df60972d add script that burns the mac address only --- mac address is Redwire
IAB + tty number.
2010-09-06 12:48:11 -04:00
Mariano Alvira 4d47f83d8f modify flasher.c to not create a vaild boot magic number if the length
of the file is zero

modify mc1322x-load.pl to optionally send a zero length file with -z;
extra data on the command line is still written.

This allows you to burn the mac adress without flashing a vaild image.
2010-09-06 12:05:34 -04:00
Mariano Alvira 5981fb5397 add scripts to help load a bunch of econotags 2010-09-06 11:32:08 -04:00
Mariano Alvira 053f73dce4 discard received packets --- this lets you run multiple rftest-tx's at
the same time.
2010-09-06 11:26:26 -04:00
Mariano Alvira 5242883aa7 add simple install rule 2010-09-06 11:08:36 -04:00
Mariano Alvira 6d437591fc add autoreset command and do_exit option 2010-09-06 11:08:12 -04: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
joxe 53840aca67 added basic phidget support for the Z1 2010-08-27 12:17:40 +00:00
nifi 91be7cebc4 Node ID is stored in external flash and restored on bootup 2010-08-26 22:08:11 +00:00
dak664 3bee71ad81 Add simple webserver for RPL status 2010-08-26 18:55:43 +00:00
joxe a461eceff8 fixed configuration of button sensor 2010-08-26 16:01:20 +00:00
nifi 4ad3e9d04f Updated to allow MSPSim emulated nodes without debug information (the debug information generated by mspgcc4 is not yet supported). 2010-08-26 14:10:42 +00:00