Commit graph

7059 commits

Author SHA1 Message Date
nvt 20bf23cf06 Replaced ifdef with if, as salvopitru suggested 2011-02-14 15:53:08 +01:00
nvt cbe4513bf4 basic support for parsing metric containers in DIOs 2011-02-13 23:17:56 +01:00
nvt 539ff33104 Turn off debugging 2011-02-13 21:36:07 +01:00
nvt 0df450f0dc Add the NEIGHBOR_ATTR prefix to a macro name 2011-02-13 21:34:59 +01:00
nvt 4125c38808 missing word 2011-02-13 21:34:29 +01:00
nvt 5ec2f19dc9 Remove only the worst parent if the table is full when processing a DIO. 2011-02-13 21:33:47 +01:00
Adam Dunkels 432928d000 Changed the name of macros defined in neighbor-info.h to have the NEIGHBOR_INFO prefix. 2011-02-13 21:29:59 +01:00
Adam Dunkels acb5480aa9 Changed the name of macros defined in neighbor-info.h to have the NEIGHBOR_INFO prefix. 2011-02-13 21:21:14 +01:00
Adam Dunkels ed3995960d Changed the name of macros defined in neighbor-info.h to have the NEIGHBOR_INFO prefix. 2011-02-13 21:21:13 +01:00
Adam Dunkels 15bf73ba08 Use DAG_RANK() macro to compute rank 2011-02-13 19:01:15 +01:00
Adam Dunkels e980072817 Don't add neighbor as a potential parent if its rank is too high. 2011-02-13 18:05:28 +01:00
Adam Dunkels 2a96835c05 Don't remove all parents that have a worse rank than an incoming DIO: we may inadvertently remove our preferred parent. Instead, remove parents with a rank that is worse than our preferred parent. If we are lucky, this will give us enough space for the new parent. 2011-02-13 14:16:15 +01:00
Adam Dunkels f1ac94e415 Slight code complexity reduction 2011-02-13 14:14:49 +01:00
Adam Dunkels 3a824d0ed6 Added a hysteresis when choosing a new parent: don't switch parent unless the ETX is significantly better (1.5 ETX better). 2011-02-13 14:14:16 +01:00
Joakim Eriksson 48fb9dda9e fixed of0 to respect min hop rank increase 2011-02-13 11:25:53 +01:00
Mariano Alvira a4ef14f204 strip cvs style keywords from everything 2011-02-12 18:12:45 -05:00
Mariano Alvira e951e350df print status messages with DEBUG_MACA 2011-02-12 15:34:21 -05:00
Mariano Alvira 0058fdc824 fixes to remove warnings when building with DEBUG_MACA 2011-02-12 15:33:19 -05:00
Mariano Alvira 7c7864eae2 add autoacking 2011-02-12 15:29:11 -05:00
nvt 20171985c6 Split the RPL header into a private and a public header. 2011-02-11 16:21:17 +01:00
Fredrik Osterlind 0fd6dea8d8 Merge branch 'refs/heads/master' of https://fros4943@github.com/adamdunkels/contiki-2.x.git into HEAD 2011-02-11 15:47:15 +01:00
Fredrik Osterlind 5888786183 only show error dialog when visualized 2011-02-11 15:46:50 +01:00
Fredrik Osterlind 1c86e7d6f3 fixed line endings 2011-02-11 15:45:09 +01:00
Fredrik Osterlind 6cb60b3a34 disabled tos mode for serial output (appears to be broken) + log
messages with only printable characters
2011-02-11 15:44:23 +01:00
Fredrik Osterlind eab795c14c removed debugging output 2011-02-11 15:42:18 +01:00
Fredrik Osterlind d6730140bd fixed line endings 2011-02-11 15:38:39 +01:00
Fredrik Osterlind a4f1c85914 prerequisites download info 2011-02-11 15:37:28 +01:00
Fredrik Osterlind a4e99e1dc2 using memory breakpoints instead of polling memory region during
bootup
2011-02-11 15:30:17 +01:00
Fredrik Osterlind 747eafd5f0 support for tinyos style node ids, to simplify testbed experiments
with automatic node ids
2011-02-11 15:27:14 +01:00
Fredrik Osterlind a501816472 example of adding cooja-platform mote interface manually 2011-02-11 15:23:59 +01:00
Adam Dunkels 706045120f Changed the variable name local_confidence to etx to better reflect what it was used for 2011-02-11 14:18:57 +01:00
Adam Dunkels ba6bf7dd6b Rewrote the parent selection to favour parents with a low ETX and a good rank. The old parent selection would always favour parents with a lower rank, regardless of their ETX, which in some cases lead to suboptimal parent selections. Also, the old code was buggy in that it would always pick the worst parent (the one with the highest ETX). 2011-02-11 14:17:26 +01:00
Fredrik Osterlind a49c08caf4 Merge branch 'refs/heads/master' of https://fros4943@github.com/adamdunkels/contiki-2.x.git into HEAD 2011-02-11 13:32:38 +01:00
Fredrik Osterlind 9e14d09bb0 fixed line endings 2011-02-11 13:27:17 +01:00
Adam Dunkels 4633e2fcfd Scripts for manipulating and calculating statistics from .csc files 2011-02-11 08:41:40 +01:00
Adam Dunkels bb8377dfee Set the end-of-stream flag on the TCP FIN packet 2011-02-10 22:47:45 +01:00
Adam Dunkels 847c99d804 Explicitly turn LEDs off if the command is interrupted 2011-02-10 22:43:18 +01:00
Joakim Eriksson d24c63c0f1 fixed so that minhoprankinc is configurable 2011-02-10 19:44:12 +01:00
Fredrik Osterlind 3bf99ca040 LEDS_ALL configurable 2011-02-09 15:29:41 +01:00
Nicolas Tsiftes 774aa3984a Use a more understandable name 2011-02-09 15:17:25 +01:00
Nicolas Tsiftes c77cb63df1 ifdef -> if 2011-02-09 15:13:50 +01:00
Nicolas Tsiftes 39ea9405bb Added a function for setting the I/O semantics on a Coffee file descriptor. Changed the configuration parameters slightly and updated the platform definitions to reflect this change. 2011-02-09 15:03:57 +01:00
Adam Dunkels 8d55a68ebe Added a PACKETBUF_ATTR_STREAM_END packet flag 2011-02-08 22:20:07 +01:00
Adam Dunkels 46348d9013 Added the low-power streaming mode where frequent channel checks are performed when streaming is on. Enabling this will (by setting WITH_STREAMING to 1), however, significantly slow down Cooja/MSPsim simulations. 2011-02-08 21:57:46 +01:00
Joakim Eriksson c114f9e1fb added more verbose data on RPL-DIO messages 2011-02-08 21:27:33 +01:00
Joakim Eriksson 21736fe78f fixed bug in coojas iphc packet analyzer 2011-02-08 21:20:11 +01:00
Joakim Eriksson d518c84471 made rank calculation depend on selected parent when joining DAG 2011-02-08 19:59:50 +01:00
Mariano Alvira bfb471c782 add proper arm flags and remove Makefile.src as it's not used. 2011-02-08 09:55:50 -05:00
Mariano Alvira b1dd3fc063 use the CS toolchain by default:
http://www.codesourcery.com/sgpp/lite/arm/portal/release642
2011-02-08 09:55:23 -05:00
Mariano Alvira ea527da162 don't do a hard override of platform config in rpl project config 2011-02-08 09:21:16 -05:00