Commit graph

8134 commits

Author SHA1 Message Date
George Oikonomou
68f59113d6 Fix a route lifetime bug
There is a bug in the current route purge routine which would
result in a route's lifetime getting decremented more than once
during the same pass. This commit fixes it

The bug is documented here:
http://thread.gmane.org/gmane.os.contiki.devel/16209
2012-12-20 00:17:33 +00:00
Nicolas Tsiftes
b8f79b9da3 Merge pull request #62 from adamdunkels/fix-travis
Fix false positive travis build problems
2012-12-18 08:53:58 -08:00
Adam Dunkels
ddb3c62524 Explicitly count the number of failed tests, test equality with 0, and explicitly exit with a non-zero error status if there are non-zero failed tests 2012-12-17 12:37:41 +01:00
Adam Dunkels
70e46f3248 Merge pull request #59 from g-oikonomou/8051-regressions
8051-based ports: Regression tests and code cleanup
2012-12-16 21:42:36 -08:00
George Oikonomou
02b90c9c63 Added rtests for 8051 ports 2012-12-16 22:21:44 +00:00
George Oikonomou
d144ca4021 Added SDCC compile artifacts to gitignore 2012-12-16 19:28:56 +00:00
George Oikonomou
f5bc1c92ba Update to the new ds6_route API 2012-12-16 19:28:56 +00:00
George Oikonomou
64a95dcb59 Code style fixes: sensinode examples 2012-12-16 19:28:56 +00:00
George Oikonomou
594ba9a0ed Code style fixes: cc2530dk examples 2012-12-16 19:28:56 +00:00
George Oikonomou
351a4d39b9 Code style fixes: cc2530dk 2012-12-16 19:28:56 +00:00
George Oikonomou
380ee3bae9 Code style fixes: cc253x 2012-12-16 19:28:56 +00:00
George Oikonomou
874bec26a5 Code style fixes: cc2430 2012-12-16 19:28:55 +00:00
George Oikonomou
b4bb51e811 Code style fixes: sensinode 2012-12-16 19:28:55 +00:00
George Oikonomou
e38b419e84 Deleted obsolete sensinode examples 2012-12-16 19:28:41 +00:00
Adam Dunkels
4c95be44ac Merge pull request #53 from arngrimur/master
Extra slash in path in makefile
2012-12-11 23:49:58 -08:00
Adam Dunkels
46402d7f09 Merge pull request #56 from cmorty/sky_flash_optimization
Sky flash optimization
2012-12-11 23:47:56 -08:00
Adam Dunkels
f44068bf9a Merge pull request #57 from malvira/rtest-fixes
Some fixes to compile-tests
2012-12-11 10:45:04 -08:00
Mariano Alvira
911bdd1b77 add a few important econotag compile tests 2012-12-11 12:58:49 -05:00
Mariano Alvira
9f297cdd4e Fix up compile test so that you can do nested subdirectories 2012-12-11 12:58:11 -05:00
Mariano Alvira
bbb4dde8ac ignore generated files from regresstion tests and more platforms 2012-12-11 12:57:38 -05:00
Moritz 'Morty' Strübe
79aa5dbc01 Get rid of generc ihex-file to allow parallel uploads 2012-12-11 12:40:38 +01:00
Moritz 'Morty' Strübe
7213d36d63 Support MOTEIDS for flashing, etc 2012-12-11 12:40:24 +01:00
Nicolas Tsiftes
ab4d2ecddd Merge pull request #52 from adamdunkels/thingsquare-mist-regression-tests
New regression test framework
2012-12-10 13:14:40 -08:00
Arngrimur Bjarnason
b533a683c3 Changed makefile. Removed extra slash 2012-12-10 20:41:43 +01:00
Adam Dunkels
4324d74f12 Check callback pointers to avoid calling a NULL pointer 2012-12-10 01:50:37 +01:00
Adam Dunkels
aaa950ab17 Cooja platform changes to get IPv6/RPL to work better 2012-12-10 01:50:32 +01:00
Adam Dunkels
3768637f03 Removed the .travis.mk, which isn't needed anymore 2012-12-10 01:50:28 +01:00
Adam Dunkels
e4aee4abbb travis integration of the Thingsquare Mist regression test framework 2012-12-10 01:50:23 +01:00
Adam Dunkels
0c55037ee8 Regression tests for RPL, Rime trickle, and Rime mesh routing protocols
The RPL tests test up and down routing, root reboots, 28-hour tests, and tests with more nodes than fit the routing tables
2012-12-10 01:50:17 +01:00
Adam Dunkels
15a249fb4a Make IPv6/RPL collect test faster by reducing the number of received packets 2012-12-10 01:50:12 +01:00
Adam Dunkels
ccc4b9e37f Make regression tests deterministic by having a constant random seed 2012-12-10 01:50:06 +01:00
Adam Dunkels
d917d64cfb Moved the Contiki tests from the tools/cooja directory into the regression-tests/ directory 2012-12-10 01:50:01 +01:00
Adam Dunkels
15d2c10633 Contiki regression tests, grouped into categories 2012-12-10 01:49:55 +01:00
Adam Dunkels
451b18273e The Thingsquare Mist regression test scripts 2012-12-10 01:49:48 +01:00
Fredrik Österlind
eec7fcd8a8 Merge pull request #50 from crawford/wpcapslip
Correcting wait behavior for wpcapslip tool
2012-12-03 04:20:19 -08:00
Adam Dunkels
f83556bd98 Merge pull request #51 from malvira/maca-fixes
Maca fixes
2012-12-02 16:01:39 -08:00
Mariano Alvira
f60a00b93e the contiki-maca process should wait for a poll event 2012-12-02 14:26:51 -05:00
Mariano Alvira
b3bb3ff53d fix very incorrect insert_at_rx_head; the bugged version would make
the rest of the rx list dangling.

this is used to insert the ack packet needed by the upper layers in
the netstack.
2012-12-02 14:25:39 -05:00
Alex Crawford
844c550ff5 Correcting wait behavior for wpcapslip tool
-Added a check for EAGAIN to errno (this is need to handle temporary timeouts)
-Recompiled wpcapslip6.exe
2012-12-02 11:10:24 -08:00
Adam Dunkels
a25fcc53e8 Merge pull request #48 from malvira/bump-libmc1322x-squash
disable pad keeper when using ADC pin; otherwise you'll see a 20k input
2012-11-30 08:50:21 -08:00
Mariano Alvira
f7d1d78ac9 disable pad keeper when using ADC pin; otherwise you'll see a 20k input
impedance.
2012-11-30 10:44:26 -05:00
Nicolas Tsiftes
89603f7b78 Merge pull request #46 from adamdunkels/ipv6-rpl-updates
Thingsquare IPv6/RPL updates
2012-11-27 16:13:03 -08:00
Adam Dunkels
83eb9a4ec3 Cleanup: removed the old routing table management functions that had previously been removed from compilation with #if 0 2012-11-27 23:04:34 +01:00
Adam Dunkels
edf141046b Clean up of a few missing printf() that were converted into PRINTF()s 2012-11-27 23:04:34 +01:00
Adam Dunkels
99f541e8fd Updated to the latest uip-ds6-route API 2012-11-27 23:04:34 +01:00
Adam Dunkels
4218a733c9 Add the uipv6 route function uip-ds6-route.c 2012-11-27 23:04:34 +01:00
Adam Dunkels
5406dd8b18 Updated to use the new uip-ds6-route API 2012-11-27 23:04:34 +01:00
Adam Dunkels
43ecad5a99 Call the route callback API functions. 2012-11-27 23:04:33 +01:00
Adam Dunkels
a9cab81d4e Added macros that allow handling IPv4 addresses even when uIP is configured to be an IPv6 stack 2012-11-27 23:04:33 +01:00
Adam Dunkels
afe13b22bc Rewrote the uIP IPv6 route handling code. Instead of being nested deeply inside the uip-ds6.c file, the route management code is now in a separate file, uip-ds6-route.c. This file presents a lib/list.h API for the routes, which makes the route list much easier to use. Additionally, the uip-ds6-route.c file adds a callback API that invokes a callback when routes are added and removed. 2012-11-27 23:04:33 +01:00