Commit graph

237 commits

Author SHA1 Message Date
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
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
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
fros4943 5836d232cf restored old post-link names (_cooja_sw -> cooja_sw) 2006-11-06 22:25:12 +00:00
fros4943 76055eba40 test: use pre-link asm names (earlier didn't work with some gcc ex. typical cygwin) 2006-11-06 18:07:24 +00:00
fros4943 cc53f38fbb added:
- include contiki system symbols option (no need for the missing elf-loader files)

(including symbols not working without a few additional files)
2006-11-06 18:03:34 +00:00
fros4943 e528b527e6 moved cooja cfs files from /dev to /cfs 2006-10-23 16:07:29 +00:00
fros4943 722f3c7e85 bug fix causing several quick resends to be destroyed 2006-10-22 11:29:05 +00:00
fros4943 d0ec0a48a4 added experimental radio channel support 2006-10-11 15:13:57 +00:00
fros4943 0914fe489e added Contiki Filesystem (CFS) support in COOJA: core interface, glue driver 2006-10-11 14:16:10 +00:00
fros4943 e8daead842 added Contiki Filesystem (CFS) support in COOJA: test process 2006-10-11 14:15:16 +00:00
fros4943 dd0890b4dd added Contiki Filesystem (CFS) support in COOJA 2006-10-11 14:14:41 +00:00
fros4943 b1afe2257b changed simulated mac protocol;
waiting for both hw and ether at the same time
2006-10-11 09:06:41 +00:00
fros4943 85fa271548 added special fix for new direct udp packet transmissions via tcpip_input()
delaying tcpip_input call until yieldable
2006-10-09 14:42:25 +00:00
fros4943 5c4f07dcf0 changed to explicit no yield allowed flag 2006-10-09 14:13:42 +00:00
fros4943 774b977fe9 added simple surrounding signal strength checking before transmitting 2006-10-09 14:13:04 +00:00
fros4943 5b66565c86 no initial signal strength by radio sensor 2006-10-09 13:46:08 +00:00
fros4943 880b3df797 added flags for checking if we are inside process_run() 2006-10-06 10:47:09 +00:00
fros4943 df9ece582b make sure we are inside process_run() before yielding 2006-10-06 10:45:53 +00:00
fros4943 69657d579d added radio sensor for signal strength etc. 2006-10-06 10:44:03 +00:00
fros4943 f2dd0a96cd added signal strength and output power (non-core) functions
+ bug fix
2006-10-05 14:44:43 +00:00
fros4943 837f71e8dd Removed busy-wait while receiving radio data (just stay awake) 2006-10-05 12:09:40 +00:00
fros4943 87219929b7 added debounce timer to button sensor
OBS removed sensor changed notification when button released!
2006-10-05 11:51:51 +00:00
fros4943 ad08af59f0 bug fix: busy-waiting before checking data length 2006-10-05 07:46:53 +00:00
fros4943 eb0b2f137e rewrote switch-procedure in asm
(solves problems with different gcc versions)
2006-10-04 15:05:37 +00:00
fros4943 41578b35c4 radio driver with busy-wait support 2006-10-02 15:06:12 +00:00
fros4943 f3311d5d4c added busy-wait global variable 2006-10-02 15:05:49 +00:00
fros4943 cb71b2fca6 added support for busy-waits in simulated contiki processes
(the entire process_run()-loop is inside a Contiki multi-thread)
2006-09-29 14:32:15 +00:00
fros4943 c033cf5810 added multithreading sources to makefile 2006-09-29 12:48:48 +00:00
fros4943 1a3761e1a9 removed old unused makefile-quickstart code
+
tidied up makefile
2006-09-06 12:20:12 +00:00
fros4943 b1c7153aa6 Added interface config (earlier added by Oliver) 2006-08-30 14:48:36 +00:00
fros4943 f75392de6a lowered uIP settings for smaller memory requirements during simulations 2006-08-30 10:04:08 +00:00
fros4943 facdd73eda compile contiki library update:
* including selected Contiki process source files automatically at compilation time.
-> removes the need for manually adding all source files in the cooja.config:s
-> only selected source files are compiled
2006-08-21 15:05:14 +00:00
fros4943 e81861a0cd added cooja; 'The Contiki OS Java Simulator' 2006-08-21 12:11:16 +00:00