Commit graph

1026 commits

Author SHA1 Message Date
fros4943
300f3396ac allow contiki motes to handle several contiki events each tick + corrected variables types 2009-05-26 14:08:51 +00:00
nvt-se
cd00bd3fdc switched to calm mode as default. 2009-05-26 13:23:59 +00:00
nvt-se
06a2fc40ec switched to 32-bit iteration variable for long-running tests. 2009-05-26 13:03:44 +00:00
nvt-se
0f6954cc43 added test options for stressing the card and for switching blocks randomly. 2009-05-26 13:00:37 +00:00
nvt-se
28619eabc0 bug fix with sdspi select.
code style fixes.
2009-05-26 13:00:07 +00:00
nvt-se
e9d279620f more protection against interrupts that might spoil SPI sequences.
made coding style more like that of contiki.
2009-05-26 12:15:46 +00:00
nvt-se
09a1c115fe initial test port of Coffee for the MSB-430 platform. 2009-05-25 14:14:32 +00:00
nvt-se
8f7f7fb896 enabled random I/O in the SD driver. 2009-05-25 14:13:47 +00:00
nvt-se
da91d87ae6 switch of interrupts while writing and reading to the SPI. avoids
desynchronization problems.
2009-05-25 13:19:04 +00:00
fros4943
faec70dee0 test app update: print sensor type 2009-05-19 17:54:08 +00:00
fros4943
d54176205c decreased default elfloader memory usage for sky platform 2009-05-18 10:32:56 +00:00
nvt-se
bcc5084564 removed delay because while loop waits until completion anyway. 2009-05-15 13:54:08 +00:00
nvt-se
f9b35795c7 minor refactoring. 2009-05-14 12:18:49 +00:00
adamdunkels
bc6c9410cc Print out the gateway's IP address more prominently 2009-05-12 17:32:49 +00:00
adamdunkels
00890caca8 Make sure that symbols.c is included in every native cpu build, not just the native target 2009-05-12 17:23:23 +00:00
nvt-se
74e9bc8789 Added flash reads and writes to energest. 2009-05-11 15:26:24 +00:00
adamdunkels
900480959b Increased the default number of queue buffers: there usually is plenty of RAM left, so we should be able to afford it 2009-05-10 21:15:16 +00:00
joxe
6a7bc4c3a5 added mcu-chip temperature to accelerometer sensor - value 3 2009-05-08 16:03:50 +00:00
adamdunkels
6fcca2d545 Initialize ctimer, add IPv6 address configuration for the aaaa prefix 2009-04-29 11:49:27 +00:00
adamdunkels
e6215712ca When a node is configured as an IP gateway, we switch off the power-saving MAC protocolto improve performance and to avoid problems with the serial communication that X-MACs use of rtimers can cause 2009-04-29 11:46:20 +00:00
adamdunkels
064f4488d4 Increase default CPU speed from 2.4576 MHz to 3.9 MHz. Communication works better, at a low power cost 2009-04-29 11:43:48 +00:00
adamdunkels
bbab7ba55c When the tmote-bsl binary is found, program only one mote at once (parallel programming with tmote-bsl doesn't seem to work) 2009-04-29 11:42:56 +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 Pttner: check buffer size at incoming radio data 2009-04-16 14:38:41 +00:00
fros4943
bc6704079c cc2420 checksums temporarily disabled, due to timing problems with the x-mac unicast optimization 2009-04-16 14:34:51 +00:00
adamdunkels
2e37fca49f Check for tmote-bsl-linux binary under linux, and use it is available 2009-04-10 07:43:29 +00:00
adamdunkels
2545fd9069 Hack to make DS2411 ID useable as an Ethernet MAC address (remove multicast bit) 2009-04-10 00:40:08 +00:00
adamdunkels
3415ff26bd Added CC2420 checksums to non-ipv6 packets. Set a conservative TCP MSS 2009-04-10 00:39:19 +00:00
nvt-se
172ffb74c7 fix compiler warnings. patch from Jesper Karlsson. 2009-04-08 14:56:00 +00:00
nifi
b41b79e3a9 Disable timestamp when using 802.15.4 frames (CC2420_CONF_TIMESTAMPS adds timestamp to radio packets). 2009-04-06 17:18:20 +00:00
nifi
900d8d8e17 changed to use HC01 compression for uip6 2009-04-06 16:01:11 +00:00
nifi
8b41f3a6a8 set rime addr size to 8 for uip6, restored clock resolution 2009-04-06 14:59:49 +00:00
nifi
76b7bf43d0 added setup for uip6 with 802.15.4 frames and routing using Rime 2009-04-06 14:12:58 +00:00
nifi
a36e529df1 added configuration for panid 2009-04-06 13:31:00 +00:00
nvt-se
f53560f6a5 enabled multihop routing, increased uip buffer size. 2009-04-06 13:23:14 +00:00
nifi
c1d490b6a7 added workaround for memcpy/memset bug in mspgcc 2009-04-06 13:07:37 +00:00
adamdunkels
58331e6802 Made tick resultion more fine-grained to support a shorter LPP listen time 2009-04-03 11:46:48 +00:00
fros4943
b730fb329d changed upload rules due to problems on linux platforms 2009-04-02 11:15:30 +00:00
fros4943
3b3580e439 disabled writing IP addresses from inside COOJA, since the these should rather be determined by Contiki 2009-04-01 18:11:48 +00:00
fros4943
aa736322e1 removed unused uip/uaodv cooja comm stack. mesh-uip should be used instead 2009-04-01 17:17:55 +00:00
fros4943
3665422d8d simplified cooja communication stacks initialization + added uipv6 stack 2009-04-01 13:50:12 +00:00
fros4943
6a99a82516 copied uipv6 configuration from native platform 2009-04-01 13:46:56 +00:00
fros4943
1c031504e5 no need to initialize serial line 2009-04-01 13:46:16 +00:00
fros4943
892bfb5678 moved radio-uip link functionality directly to comm stack sources 2009-04-01 13:45:41 +00:00
fros4943
eddd8350c5 renamed radio driver 2009-04-01 13:44:34 +00:00
fros4943
afed9bb2d0 icnlude packet radio by default 2009-04-01 13:39:54 +00:00
nifi
c6b15c289e * show radio channel at startup
* only initialize timesynch when timesynch is enabled
2009-03-31 13:25:50 +00:00
nvt-se
e90149b7b4 avoid switching mode when tx or rx is active.
based on suggestions from Frederik Hermans and some code from Jesper Karlsson.
2009-03-30 14:07:34 +00:00
fros4943
5f1fda0406 removed unused variables + writing serial data in timeevent 2009-03-26 16:23:47 +00:00
fros4943
dda6de8438 + clock stub functions 2009-03-26 16:22:36 +00:00
fros4943
ac22ad5081 changed the Makefile rules for uploading to sky-nodes.
the earlier approach caused problems sometimes, resulting in command succeeding without all nodes being reprogrammed
2009-03-26 13:29:44 +00:00
nvt-se
04bd414e1c enabled LPP by default. 2009-03-26 12:51:55 +00:00
nvt-se
90b9b9bae3 configure LPP parameters with slightly longer listen time since the CC1020
driver switches from TX mode to RX mode rather slowly.

decreased CCA check timeout.
2009-03-26 12:47:12 +00:00
nvt-se
25cc327acc avoid hanging in TX mode after CCA check failed.
minor memory savings.
2009-03-25 15:25:05 +00:00
nvt-se
96fbf3b853 use old style C comments.
convert printf to PRINTF.
remove unnecessary MS_DELAY calls from setupTX and setupRX.
2009-03-24 15:32:26 +00:00
nvt-se
15c447e57e remove some unnecessary instructions and function calls. patch from Jesper Karlsson. 2009-03-24 15:13:11 +00:00
nvt-se
143c7f9cea switched from serial to serial_line. patch from Jesper Karlsson. 2009-03-24 15:02:03 +00:00
fros4943
c76f34ff98 minor serial test application update 2009-03-21 15:47:40 +00:00
fros4943
9c9165dc90 start cooja with more memory to avoid outofmemory problems when running mspsim-based simulations 2009-03-20 13:23:44 +00:00
nvt-se
6b22fa60e8 - avoid costly rx state initialization if the radio is already on.
- code formatting.
2009-03-19 14:43:31 +00:00
nvt-se
8f85355f02 print the MAC protocol name when starting the node 2009-03-19 14:14:06 +00:00
nvt-se
b9ef907690 enable serial line tools using the same commands as the sky platform's Makefile 2009-03-17 22:27:14 +00:00
nvt-se
7e329ab467 removed obsolete file. 2009-03-17 22:20:04 +00:00
adamdunkels
b1cd9c207a Removed serial.c, which is obsoleted by serial-line.c, which in turn now resides in Makefile.include 2009-03-17 21:51:13 +00:00
adamdunkels
727c5a2dbe Renamed serial module to serial-line 2009-03-17 20:32:22 +00:00
adamdunkels
b20f0884ed Renamed serial module to serial-line 2009-03-17 20:19:11 +00:00
adamdunkels
0076bfe8a5 Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
nvt-se
7f3def31b7 removed duplicate inclusion of header, and sorted the entries. 2009-03-17 15:02:19 +00:00
nvt-se
6d0fc26ec1 disabled unstable SD driver. 2009-03-17 15:01:40 +00:00
fros4943
d6ebba536c minor 64 bit fix: divide by sizeof(unsigned long) instead of constant 4 2009-03-13 14:40:07 +00:00
adamdunkels
65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
dak664
932fc9f748 Remove tab that was preventing cgi invokation 2009-03-12 21:37:22 +00:00
adamdunkels
5920a86312 Moved the Raven-specific applications from the generic apps/ directory to the platform-specific platform/avr-raven/apps 2009-03-12 19:15:23 +00:00
fros4943
99b9e80de9 make all quickstart target phony 2009-03-12 17:48:23 +00:00
fros4943
72fdf5b379 make quickstart goal precious 2009-03-12 15:12:50 +00:00
fros4943
063bf88f90 cooja quickstart should be started from normal cooja working directory, otherwise config relative paths won't work
+
cygwin path fix for quickstart
2009-03-12 13:04:10 +00:00
nvt-se
80bbc92ffe patch from Jesperk Karlsson. ensures that the fp_uart_handler type is known
in the header.
2009-03-12 12:23:22 +00:00
fros4943
5d27841807 + contiki app object 2009-03-11 08:40:37 +00:00
fros4943
bcb34297df reimplemented quickstart functionality 2009-03-11 07:45:54 +00:00
fros4943
0bc10750bc added rule for .cooja target.
compiling for cooja is now similar to other platforms, for example:
make hello-world.cooja TARGET=cooja
2009-03-10 21:23:38 +00:00
julienabeille
0395ff5f39 sicslowpan Typo 2009-03-09 08:19:07 +00:00
c_oflynn
41c19115d2 fix compiling ravenusb platform 2009-03-06 15:21:45 +00:00
adamdunkels
3848bba210 Added support for serial data input 2009-03-06 00:13:56 +00:00
adamdunkels
8afff893f1 Removed old \mainpage documentation to avoid confusion with the main \mainpage 2009-03-02 22:04:14 +00:00
fros4943
3774395c82 cfs example updated 2009-03-02 09:44:07 +00:00
fros4943
286065b584 cfs updated 2009-03-02 09:34:47 +00:00
adamdunkels
e3043b1be2 Enable communication power accounting for xmac by default 2009-03-01 20:43:37 +00:00
adamdunkels
ac9ab9c582 #include lib/random.h 2009-03-01 20:42:10 +00:00
nvt-se
47d70f2ae3 Switched name to CFS_CONF_OFFSET_TYPE to emphasize that it is a configurable option. 2009-03-01 12:00:00 +00:00
nvt-se
b47221672a switched cfs offset type to signed long to allow backward movements with cfs_seek. 2009-02-28 13:41:16 +00:00
fros4943
9c8c4898f7 updating cooja cfs stubs according to recent commits 2009-02-27 16:06:25 +00:00
nvt-se
9f8f773b43 use unsigned long as cfs offset type. 2009-02-27 14:53:15 +00:00
oliverschmidt
03e7eb2535 Fixed comment (just to make sure that committing still works after all these months). 2009-02-27 07:57:13 +00:00
nvt-se
9b548619ed removed redundant definitions. 2009-02-25 23:57:13 +00:00
adamdunkels
d761dfebd1 Bugfix: reduced the size of the uIP buffer to account for MAC header space 2009-02-25 10:23:03 +00:00
nvt-se
c148e2e7ea Do not include codeprop.h by default. 2009-02-23 14:44:26 +00:00
nifi
0db6403c5d removed unnecessary reference to codeprop.h 2009-02-21 11:23:54 +00:00
adamdunkels
7781bbea58 Enabled X-MAC announcements by default, disabled polite broadcast announcements by default 2009-02-14 22:52:24 +00:00
adamdunkels
585620c102 Reverted the recent change from random_rand() to rand(). It turned out that
since libc rand() returns a signed int, there were frequently problems with
timer values wrapping. By reverting to random_rand(), we can provide a
random generator that returns an unsigned and the timer problems are solved.
2009-02-11 11:08:53 +00:00