Commit graph

8263 commits

Author SHA1 Message Date
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
Adam Dunkels b2063953ba Added a configuration option, UIP_SPLIT_CONF_SIZE, for setting the threshold at which point TCP packets get split into two. 2012-11-27 23:04:33 +01:00
Adam Dunkels f561bfc205 Added a function simple_udp_sendto_port() for sending a UDP packet to a specified port. 2012-11-27 23:04:32 +01:00
Adam Dunkels 5c5545ba7d Code style and debugging updates 2012-11-27 23:04:32 +01:00
Adam Dunkels 289a01b389 Added explicit functions uiplib_ip6addrconv and uiplib_ip4addrconv for converting IPv6 and IPv4 addresses, regardless of whether uIP was configured to run as an IPv4 or an IPv6 stack. 2012-11-27 23:04:32 +01:00
Adam Dunkels 0bad2b1748 Added a configuration option to annotate IP transmissions with red arrows in Cooja. 2012-11-27 23:04:32 +01:00
Adam Dunkels b24157631f Made nd6 maximum unicast solicitation messages configurable 2012-11-27 23:04:32 +01:00
Adam Dunkels 2a2175a214 Make RPL DIS transmission interval random in the interval [0, INTERVAL/2]. This is needed to avoid synchronization in large RPL networks. 2012-11-27 23:04:31 +01:00
Adam Dunkels 2396f9b8ea Made DIO interval processing a little easier to follow. Explicitly state that the delay is handled as clock timer ticks. 2012-11-27 23:04:31 +01:00
Adam Dunkels 8538aaf655 Made RPL DAO latency configurable 2012-11-27 23:04:31 +01:00
Adam Dunkels 357b13b3d3 Correctly handle upward and downward routes according to Section 1.2 of RFC6550 2012-11-27 23:04:31 +01:00
Adam Dunkels 15deb37e64 Updated DAG version processing to occur even for infinite rank DIOs. This makes it possible for the RPL root to infer the DAG version number from a network that hasn't had a root for a while, and where the rank has increased to infinity. 2012-11-27 23:04:30 +01:00
Adam Dunkels db7cb567f5 Updated the RPL code to better match the Contiki code style 2012-11-27 23:04:30 +01:00
Nicolas Tsiftes 0cb4bf4808 Merge pull request #45 from adamdunkels/netstack-encryption
Add support for encryption and decryption calls
2012-11-27 06:30:38 -08:00
Adam Dunkels cb7842bd16 Added support for encryption and decryption of the packetbuf if macros
NETSTACK_ENCRYPT and NETSTACK_DECRYPT are defined. Those are intended
to be called as functions NETSTACK_ENCRYPT() and NETSTACK_DECRYPT() to
encrypt and decrypt the packetbuf, respectively. If needed, an
initialization function by the name NETSTACK_ENCRYPTION_INIT() can
also be defined.
2012-11-25 12:05:00 +01:00
Nicolas Tsiftes 63d205e4a2 Merge pull request #44 from adamdunkels/rime-nullptr-guard
Rime NULL pointer guards
2012-11-24 11:14:02 -08:00
Adam Dunkels 0cd2f48d6e Added NULL pointer guards 2012-11-22 11:55:01 +01:00
Nicolas Tsiftes 0a8183d295 Merge pull request #42 from adamdunkels/fix-micaz-build
Fix micaz build
2012-11-22 01:21:00 -08:00
Nicolas Tsiftes c7434df043 Merge pull request #43 from adamdunkels/add-more-travis-tests
Add most of the Contiki tests to the Travis build
2012-11-22 01:20:03 -08:00
Adam Dunkels 4d811b41cc Structured the Contiki tests according to what they are supposed to test and broke them out as multiple parallel jobs. 2012-11-22 08:12:39 +01:00
Adam Dunkels 91206e2249 Avoid multiple definitions of NETSTACK_CONF_MAC. Turn on RPL by default. 2012-11-21 20:11:22 +01:00
Adam Dunkels d51d3f6b3e Remove conditionals around RPL extension header #defines and typedefs. With the conditional, it wasn't possible to compile the rpl-ext-header.c file. Since #defines and typedefs and 'free' at runtime, we gain nothing by having them conditional. 2012-11-21 20:11:22 +01:00