Commit graph

5560 commits

Author SHA1 Message Date
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
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
joxe 2c5f5cd849 added init of xmem for z1 platform 2010-08-26 09:16:39 +00:00
nifi 7d34fd1deb Added Sentilla USB platform. This platform is similar to the Sky platform but without the sensors and with 2 leds. 2010-08-25 19:57:33 +00:00
nifi 14873a923b Added temperature sensor for the builtin temperature sensor in MSP430 2010-08-25 19:34:06 +00:00
nifi 198db63c3b Moved the ADC configuration to sky-sensors.c and sensors now only need to specify their sample channel. This helps to avoid conflicts when using multiple sensors. 2010-08-25 19:30:52 +00:00
nifi d06a1ecc0c corrected include path 2010-08-25 18:35:52 +00:00
joxe d946fdd574 added Z1 xmem + coffee driver 2010-08-25 17:28:15 +00:00
joxe a72252cbd8 removed forced configuration of number of routes and neigbors 2010-08-24 17:54:56 +00:00
joxe 645c48a332 added Z1 platform 2010-08-24 16:26:38 +00:00
joxe b04ebb2b29 minor fix for making the msp430 makefile work for msp430X arch 2010-08-24 16:24:11 +00:00
joxe c0549cad3d added some files for MSP430X I/O 2010-08-24 16:23:20 +00:00
joxe ef880ddf1f added Zolertia Z1 tools 2010-08-24 15:48:20 +00:00
fros4943 afbd65a68f clear menu option + time focus on double-click 2010-08-17 15:04:56 +00:00