Commit graph

183 commits

Author SHA1 Message Date
adamdunkels 9446d37285 Increased the default Cooja CFS size to 4000 bytes so that examples work (found by Roger Larsson) 2010-11-15 21:44:37 +00:00
fros4943 3563089a91 reimplemented initial support for referencing contiki source files in cooja projects 2010-11-10 13:11:43 +00:00
adamdunkels 5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
fros4943 93b953f815 moved contiki-specific initialization to separate function 2010-09-24 12:59:06 +00:00
adamdunkels 3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
adamdunkels 951fd78f6c ctimer moved from net/rime to sys/ 2010-06-14 18:58:45 +00:00
fros4943 8f1988e7fc using OBJECTDIR instead of "obj_cooja" + bugfix: allow for externally defined CC 2010-06-11 15:17:26 +00:00
fros4943 79aa299531 fixed random seed for cooja motes 2010-05-02 09:42:15 +00:00
fros4943 c21ff48788 ip forwarding only for ipv4 2010-03-31 10:22:33 +00:00
fros4943 c2354a5797 changed cooja platform default uip4 configuration to use uip_over_mesh with a slip gateway 2010-03-31 09:39:46 +00:00
fros4943 e3e69afd15 changed to ds6 module, instead of obsolete netif module 2010-03-29 11:52:08 +00:00
fros4943 9dfce4bea1 removed bad uip-netif.h include 2010-03-29 10:43:03 +00:00
fros4943 a5092220b4 fixed next timer variable types 2010-03-25 09:12:03 +00:00
adamdunkels 2a3d0dc042 Bugfix: data that has been prepared with the prepare() method must be possible to send multiple times 2010-03-23 15:19:55 +00:00
adamdunkels 432a3fd12e Bugfix: the return values from the cca method were switched 2010-03-23 15:10:27 +00:00
fros4943 1322195921 defining rtimer_clock_t to the same as clock_time_t 2010-03-23 13:34:00 +00:00
fros4943 c66dd0b1bf implemented rtimer library for simulated contiki motes 2010-03-23 13:13:17 +00:00
fros4943 49526e100f added simulated interrupt thread, currently only used to implement rtimer functionality 2010-03-23 13:12:41 +00:00
fros4943 bee0ea4834 temporarily turning on radio for sending a packet 2010-03-23 12:13:43 +00:00
adamdunkels 03d1388c0d Print out MAC and RDC when booting cooja nodes 2010-03-23 12:08:05 +00:00
adamdunkels cd3a7c7a73 Dummy watchdog implementation for cooja nodes 2010-03-23 12:07:03 +00:00
fros4943 645d505f46 contiki-cooja-main.c requires CLASSNAME 2010-03-15 11:03:17 +00:00
fros4943 5b2caf2050 removed the use of a template source file when compiling for the cooja platform, instead compiling against contiki-cooja-main.c.
this change simplifies access to the contiki main source, and makes the cooja platform more similar to other contiki targets
2010-03-15 11:02:57 +00:00
fros4943 89d7d926c4 added ipv4 and ipv6 default configuration 2010-03-10 12:18:29 +00:00
fros4943 7465fb812a removed explicit init-net*.c for cooja platform, instead performed in main file (contiki-template.c) 2010-03-10 12:18:07 +00:00
fros4943 f8488925eb added uip-driver (for both ivp4 and ipv6), setting WITH_UIP* compiler flags in Makefile 2010-03-10 12:15:52 +00:00
fros4943 98929bd2f5 cooja-platform netstack conf example 2010-03-10 07:35:49 +00:00
fros4943 45a6740782 radio sensor was removed 2010-03-10 07:35:09 +00:00
fros4943 48d6d1fd6d removed no longer used cooja/contiki synchronization variables 2010-03-09 08:14:31 +00:00
fros4943 0cc96ae481 net stack update: currently fixed to null* and rime. 2010-03-09 08:14:06 +00:00
fros4943 f87458c558 removed radio "sensor" (only used for signal strengths, also available in radio driver) 2010-03-09 08:12:15 +00:00
fros4943 07753fb01f updated radio driver, simplified code 2010-03-09 08:11:05 +00:00
fros4943 b9bf06c2a7 decreased default cooja CFS size 2010-02-05 08:59:51 +00:00
fros4943 ee11b61064 bugfix: puts() should append newline character + min buffer size 1024 also with uIP 2010-01-25 12:34:05 +00:00
nifi 00e8164e58 updated vibration sensor name to Contiki standard 2010-01-14 20:02:55 +00:00
nifi 4ffa7b95b7 Updated to match the new sensors API 2010-01-14 19:19:50 +00:00
nifi 7154b4c68d Removed references to irq, which is not used with the new sensor APIs 2010-01-14 19:14:47 +00:00
nifi 2a7ad011c5 Updated to match the new sensors API 2010-01-14 19:12:31 +00:00
joxe 071a9eaa6b adapted for new sensor APIs 2010-01-14 16:13:45 +00:00
nifi 831f16cf61 Fixed COOJA quickstart to run COOJA from current directory 2009-10-28 13:39:15 +00:00
fros4943 bf1920386a increased log buffer size with uIP SLIP 2009-10-19 18:00:49 +00:00
zhitao bdce08d39d augmented CFS compliance for a RAM-based, one-file-only file system in Cooja. 2009-09-08 15:08:20 +00:00
nvt-se 9d7bdad864 use CLOCK_CONF_SECOND. 2009-09-04 13:59:37 +00:00
nvt-se fed4a58102 return the amount of seconds elapsed in clock_seconds() 2009-09-04 13:57:17 +00:00
nvt-se a21dece53f removed unused state codes and unused printf statements 2009-09-03 12:57:57 +00:00
fros4943 300f3396ac allow contiki motes to handle several contiki events each tick + corrected variables types 2009-05-26 14:08:51 +00:00
fros4943 faec70dee0 test app update: print sensor type 2009-05-19 17:54:08 +00:00
fros4943 9f299c277e added experimental slip support for contiki motes 2009-04-23 09:15:51 +00:00
fros4943 9bd3d07510 implemented slip_arch_writeb() function 2009-04-23 09:02:06 +00:00
fros4943 b65014d1be bugfix by Wolf-Bastian Pöttner: check buffer size at incoming radio data 2009-04-16 14:38:41 +00:00