Commit graph

181 commits

Author SHA1 Message Date
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
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 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
adamdunkels 727c5a2dbe Renamed serial module to serial-line 2009-03-17 20:32:22 +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
fros4943 d6ebba536c minor 64 bit fix: divide by sizeof(unsigned long) instead of constant 4 2009-03-13 14:40:07 +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
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
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
fros4943 9c8c4898f7 updating cooja cfs stubs according to recent commits 2009-02-27 16:06:25 +00:00
fros4943 0ab57730f8 removed reference to the removed u16 rime address field 2008-12-01 13:20:51 +00:00
fros4943 6150d13254 support for contiki-node simulation on 64-bit architectures (contributed by Jesper Karlsson and David Gustafsson) 2008-11-28 16:41:26 +00:00
fros4943 641c48ee00 not limiting random seed to 99 2008-10-28 15:37:34 +00:00
fros4943 115a2b0782 renaming printf/putchar/puts symbols to avoid jni library loading overriding our custom implementations
experimental: directly references objcopy (tested on win32+linux)
2008-10-05 15:43:09 +00:00
fros4943 d79b1d55f7 not implementing putc(..FILE*) function, only stdout 2008-10-05 15:40:27 +00:00
fros4943 4cc56a741d printf implementation towards cooja 2008-10-03 09:41:16 +00:00
fros4943 08502eb344 removed refences to printf2log.h 2008-10-03 09:39:38 +00:00
fros4943 2fb6410e4d removed old printf output conversion method, instead implementing putchar() and printf() 2008-10-03 09:37:32 +00:00
fros4943 c4df31376e cooja hello world (+ include printf2log.h) 2008-04-22 13:07:49 +00:00
fros4943 b5d09f3822 set default radio channel: 26
same as sky platform
2008-03-18 16:22:00 +00:00
fros4943 660bc5e991 changed ss values + added configurable csma mac 2008-03-17 09:48:00 +00:00
fros4943 27ac84d009 simlog function declaration 2008-02-11 18:45:18 +00:00
fros4943 4c56fce697 updated cfs_write arguments 2008-02-11 18:40:16 +00:00
fros4943 4c131d6975 added max printf2log message size 2008-01-11 15:37:38 +00:00
fros4943 c028df7ecf not using mempcy for ack crc 2007-12-13 16:57:31 +00:00
fros4943 afb1cb28d3 initializing rimeaddr from nodeid similar to sky platform (!= esb platform) 2007-12-13 16:11:22 +00:00
fros4943 0fc2178857 added queuebuf conf 2007-12-13 08:00:51 +00:00
fros4943 3bfa34f4c3 removed the symbols dummy target 2007-11-29 04:57:04 +00:00
fros4943 06ce414c56 updated bad file info 2007-11-25 22:48:35 +00:00
fros4943 d6f46bfcaa minor fix for SYMBOLS 2007-11-25 22:47:43 +00:00
fros4943 8aac8cde97 removed unused old stuff
+ introduced COOJA definition
2007-11-25 22:47:18 +00:00
fros4943 014c6c82e1 moved test applications from platform root to separate directory 2007-11-25 22:45:56 +00:00
fros4943 6f862c4506 removed warnings 2007-11-25 22:45:04 +00:00
fros4943 4436819336 updated interface 2007-11-25 22:44:06 +00:00
adamdunkels d6dc8763e9 Fixed dereference of void * pointer 2007-11-17 18:28:23 +00:00
adamdunkels 66b5644e07 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:26:06 +00:00
fros4943 79c38ef8df minor updates in cooja cfs_ram 2007-11-16 09:21:49 +00:00
nifi a6d827fa1f moved initialization of ctimer to allow MAC layer to use ctimers 2007-11-15 13:07:42 +00:00
fros4943 7512df3f7b removed bad memcpy:s 2007-10-23 12:16:13 +00:00
fros4943 28ddccef19 added missing function declarations 2007-10-22 13:08:13 +00:00
fros4943 87e32f037e enabled config of entire ar command, not only arguments 2007-09-28 07:21:21 +00:00
fros4943 db74bb6566 changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 14:00:59 +00:00
fros4943 974fcb66d4 convenience function for cooja.
converts printf()'s to log_message()'s
2007-08-23 08:14:30 +00:00
fros4943 6d86b77cfe setting rime id at init 2007-08-23 07:35:26 +00:00
fros4943 d272b062f0 reimplemented receiver calls (earlier tcpip_input) from inside multithreaded environment 2007-08-21 13:09:40 +00:00
fros4943 1a021bbfc3 random ack time 2007-07-26 13:22:01 +00:00
fros4943 d80efeb8ed defining uip cache size 2007-07-20 15:21:56 +00:00
fros4943 3768b44804 updated uip uaodv radio driver 2007-07-17 23:02:21 +00:00
fros4943 55443a148a storing ack destination + removed header compression 2007-07-16 07:40:55 +00:00
fros4943 c50b7cc7ee unicast packets being acknowledged 2007-07-11 15:23:42 +00:00
fros4943 78a06fe9b5 using nullmac for cooja rime radio 2007-06-08 12:25:54 +00:00
fros4943 7ec1a4f7aa added check that outgoing packet was not discarded from simulator 2007-05-29 12:53:49 +00:00
fros4943 6aafd5582d removed old radio-arch.* (was earlier renamed to cooja-radio) 2007-05-29 12:27:00 +00:00
fros4943 d6d34b33a5 aodv setting 2007-05-29 09:13:37 +00:00
fros4943 da3b1ab813 make sure mote doesn't fall asleep while radio is transmitting/receiving 2007-05-28 15:47:07 +00:00
fros4943 cbc6f57f34 removed old cfs.c 2007-05-21 14:57:47 +00:00
fros4943 166ff3a4a0 new includes 2007-05-21 14:52:15 +00:00
oliverschmidt 0e023b328a Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:37:54 +00:00
fros4943 8d6cd6a5b5 dummy mtarch 2007-05-19 14:47:17 +00:00
fros4943 841cbd1b99 uIP over uAODV simple radio driver 2007-05-19 14:25:43 +00:00
oliverschmidt ae2073cac9 Factored out setup directory search path for source files into Makefile.include.
- All compilers used support the -I option for setting an include search directory.

- The Contiki source tree follows the (common) approach of placing declarations (in headerf iles) in the same directory as definitions (in source files).

As a result it makes sense to use the -I compiler option for just the same set of directories used for the vpath gnumake directive.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-19 07:54:53 +00:00
fros4943 41adb8caf3 radio_sstrength returns last received packet instead of current value
radio_current_sstrength returns current value
2007-05-18 15:20:20 +00:00
fros4943 8ef1b90a10 removed radio sources from makefile
(thrown during compilation instead)
2007-05-18 13:51:04 +00:00
fros4943 2e11cfcdeb removed compiler warning 2007-05-18 13:50:08 +00:00
fros4943 afe66ed534 cooja radio driver (uip + rime) 2007-05-18 13:49:49 +00:00
fros4943 63c7300388 cooja's init-net for uip and rime 2007-05-18 13:49:15 +00:00
fros4943 643ce5adfe added support for several contiki comm stacks (uip + rime) 2007-05-18 13:45:19 +00:00
fros4943 5b3923141f added buffer overflow check 2007-05-15 18:13:32 +00:00
fros4943 2f29a448dd radio_sstrength returns the signal strength of last packet received (instead of uninteresting current value) 2007-05-15 14:39:52 +00:00
oliverschmidt 237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
oliverschmidt 4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
fros4943 da3d423233 support for sending several packets fast 2007-04-23 08:46:35 +00:00
fros4943 f2f5ea682b added empty rtimer files to remove compilation errors
OBS: not implemented yet; rtimer does not work with COOJA
2007-04-11 12:46:13 +00:00
oliverschmidt 4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
fros4943 66e6ce1656 minor changes 2007-04-02 16:31:28 +00:00
fros4943 3d5298ab69 always consuming button events
(bug fix: mote falls asleep during fast button clicks)
2007-04-02 14:14:26 +00:00
fros4943 6e3dc4d24b added source file check before launching cooja 2007-04-02 10:28:52 +00:00
fros4943 0f17706ef3 automatically generating cooja.jar 2007-04-02 09:07:30 +00:00
fros4943 c06c28c668 new mulithreading switch function.
should work on both linux and win32 platforms
2007-04-02 08:47:28 +00:00
fros4943 b42d4fa7e3 added quickstart shortcut
"make TARGET=cooja"
2007-03-25 18:22:41 +00:00
fros4943 77ec45b223 don't define symbols as phone target on windows platforms 2007-03-23 21:36:48 +00:00
fros4943 9594c3fca4 decreased debounce timer 2007-03-22 20:37:34 +00:00
fros4943 052f4e3a24 renamed test processes 2007-03-22 10:04:47 +00:00
adamdunkels 6a0056eefb Added lib/sensors.h include 2007-03-20 20:09:17 +00:00
adamdunkels f18d88a2e0 Added Rime support to Cooja 2007-03-20 20:08:51 +00:00
fros4943 8ebb7dbf27 separated send-to-simulator.function from uIP 2007-03-18 19:31:36 +00:00
fros4943 1fbce051c3 remade the use of symbols.[c,h].
symbols will now always be included in compilation
2007-01-09 09:13:36 +00:00
fros4943 4e166903a4 minor adjustment.
changed simulated MAC to wait for clear channel on surrounding -80 dB or larger (instead of -150)
2006-12-04 15:26:33 +00:00