Commit graph

5646 commits

Author SHA1 Message Date
adamdunkels 3f6dc30373 Added a powertrace command as an interface to the powertrace app 2010-10-12 11:34:49 +00:00
adamdunkels 04ede258d0 Bugfix: rfchannel did not print out over the correct command structure 2010-10-12 11:34:08 +00:00
oliverschmidt 284f7166b7 Allow standalone win32 programs to exit the Contiki process by calling LOAD_UNLOAD(). 2010-10-12 11:03:53 +00:00
fros4943 ece7919f49 added removed()-method for mote objects 2010-10-12 10:58:31 +00:00
fros4943 d470c20029 print test script progress for long running tests 2010-10-12 10:57:22 +00:00
fros4943 e56dccb840 save time formatting to config 2010-10-12 10:56:25 +00:00
fros4943 375e6fb1b4 added simple search functionality (ctrl+f) 2010-10-12 10:31:22 +00:00
fros4943 3238302326 + channel support in dgrm, signal strength bug fix 2010-10-12 10:29:43 +00:00
fros4943 8782094b2f minor updated: more zoom levels, implemented mote highlighting, updated channel-specific colors, added move to top mote action 2010-10-12 10:27:26 +00:00
fros4943 f837678608 + simple time formatting hh:mm:ss.sss, currently accessed by mouse clicking column header 2010-10-12 10:04:35 +00:00
adamdunkels 020da4e8ba Added a function for obtaining beacon intervals 2010-10-11 23:44:24 +00:00
adamdunkels ec716ea62d Do not reduce transmission interval, unless explicitly told so with the bump flag 2010-10-11 23:43:01 +00:00
adamdunkels 37adf130b4 Rewrite of the congestion logic. A node now report it being congested
when half the transmission queue is full. When a neighbor is heard to
be congested, the rtmetric of that node is inflated to avoid sending
more traffic in its direction.

Fixed problems with beacon intervals: intervals are now not reduced
when a path gets significantly worse, only when they get better.
2010-10-11 23:42:01 +00:00
adamdunkels d821ba5e22 Added a lifetime for link estimates: if they are too old, they are
reset so that a new probing period can produce more up-to-date
estimates. Added a congestion mechanism whereby a neighbor can be
marked as being congested for a period of time, during which the ETX
for the neighbor will be artificially inflated.
2010-10-11 23:38:46 +00:00
adamdunkels 5eb4a0fe8d Rewrote the initial link estimate logic: link estimates are now
computed only over the actual samples, not over the entire
buffer. Also, the initial link estimate is much more conservative now
(16 transmissions) to favor links that have been probed, and which
therefore are likely to have better ETXs.
2010-10-11 23:34:02 +00:00
nifi 98702b2e85 Simple plugin to connect the CollectView demo to COOJA 2010-10-11 09:29:05 +00:00
nifi febb07a71b Added simple spring layout that attracts connected nodes in node visualizer 2010-10-10 22:39:09 +00:00
nifi 5988b06bd1 Readded support for Sentilla platforms that was accidentally lost in previous version 2010-10-08 05:54:51 +00:00
nifi e770e87995 Added more options to send and receive data (via command, file, standard in) 2010-10-07 21:13:00 +00:00
nifi 20e04b5c23 Added parsing of COOJA logs 2010-10-07 21:01:46 +00:00
nifi 54692bf62a ETX 1.0 is 8, not 16, in the new collect code 2010-10-07 20:59:48 +00:00
adamdunkels 0cabe483c3 Don't call sink recv function for zero-size packets, since these most likely are link estimate probes or keepalive packets. Explicitly set eseqno to zero when opening a new connection. 2010-10-07 15:52:28 +00:00
joxe f78fd63fd7 fixed bug in serial printout related to TinyOS-mode 2010-10-07 13:09:28 +00:00
joxe a5aa083fa4 update version of mspsim - optimized flash read 2010-10-07 13:07:44 +00:00
oliverschmidt 35f7b6046e Fixed 'Modulo operation with zero' error by making sure that NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE is not smaller than CLOCK_CONF_SECOND. 2010-10-06 19:48:26 +00:00
oliverschmidt d1a75f73b3 Made cfs-based webserver example compatible with 8.3 file systems. 2010-10-06 19:28:57 +00:00
adamdunkels 14940b65b8 Added the total power consumption to each powertrace printout; updated powertrace scripts to reflect this change 2010-10-06 18:40:21 +00:00
adamdunkels ad35c54473 Bugfix: when a node's rtmetric was lower than SIGNIFICANT_RTMETRIC_PARENT_CHANGE, its beacon timers would always be bumped to its lowest value 2010-10-05 20:06:47 +00:00
adamdunkels 52e9a6f1fb Turned the DRAW_TREE debug flag off by default 2010-10-04 22:36:47 +00:00
nifi db5667ac8d Ignore access control problems when looking up debug info 2010-10-04 22:33:58 +00:00
oliverschmidt 5feb646462 Call Makefiles to build binaries before creating the images. 2010-10-04 22:13:45 +00:00
adamdunkels 65d640ac53 Several bugfixes to the proactive link estimate maintenance code, which is now enabled by default. Simplified DRAW_TREE code for drawing routing graph in Cooja. Added routing metric penalty to parents that are congested or that drop packets. 2010-10-04 20:27:50 +00:00
adamdunkels 212e73faa6 Removed old netsim code. Added a function for obtaining the packet attributes of a queuebuf packet. 2010-10-04 20:26:01 +00:00
joxe 67c76649d9 small optimizations and cleanups 2010-10-04 12:54:01 +00:00
nifi 63c685c852 bug fix 2010-10-04 10:52:26 +00:00
nifi 5172027bae minor optimization: avoids multiple checks and only check simulation thread when assertions are enabled 2010-10-04 10:11:55 +00:00
fros4943 e4e892bc49 added methods for saving radio connections to file from test scripts, as suggested on the develop mailing list 2010-10-04 08:14:55 +00:00
joxe 4f3fc1c404 fixed xmac to use new channel check define name 2010-10-03 22:46:53 +00:00
adamdunkels 93f6fda353 Updated configuration options to reflect recent changes. Increased number of queuebufs. Corrected the name of the collection neighbors option. 2010-10-03 20:40:42 +00:00
adamdunkels ceebd7020a Bugfix: the return value sometimes was wrong when a collision was detected. 2010-10-03 20:39:24 +00:00
adamdunkels ae88ed04f1 Moved the definition of the channel check rate used by the radio duty
cycling layer. This definition was previously held in net/mac/mac.h,
with the name MAC_CONF_CHANNEL_CHECK_RATE. But since the rate is used
by the radio duty cycling layer, it makes more sense to change its
name to reflect this. Also, the configuration option should be tied to
the netstack configuration instead.

So the new configuration option is called
NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE.
2010-10-03 20:37:32 +00:00
adamdunkels d70783528f Increased number of retransmissions from 15 to 31 2010-10-03 20:22:18 +00:00
adamdunkels 7fcad36c43 Updated scripts to new output 2010-10-03 20:21:46 +00:00
adamdunkels cd7bbae9cc Added a 'retransmits' field 2010-10-03 20:19:37 +00:00
adamdunkels c0fb601354 Added the number of neighbors to the collection view app 2010-10-03 20:19:12 +00:00
adamdunkels f9687e8f5f Added a neighbor number field to the sky-alldata command. The parent fields now correctly specify the parent neighbor, not just the currently best neighbor. 2010-10-03 20:16:57 +00:00
adamdunkels 40583fe112 Removed the polite announcement code, since it was not used, and enabled the broadcast announcement code by default. Increased the default intervals for broadcast announcements. 2010-10-03 20:10:22 +00:00
adamdunkels 605392522f Bugfixes and improvements: rtmetrics are now 16-bit clean. Added experimental feature that proactively probes neighbors that have not yet been tried out, in order to get an initial ETX for them. 2010-10-03 20:08:44 +00:00
adamdunkels d0579c8a81 Cleaned up the collect neighbor management code 2010-10-03 20:07:10 +00:00
adamdunkels b23a364397 rtmetric values should always be computed as 16-bit values 2010-10-03 20:06:25 +00:00