Commit graph

705 commits

Author SHA1 Message Date
fros4943 bbf88f3723 removed passive/active interfaces notion. 2008-10-28 13:38:55 +00:00
fros4943 4231e5f41a renamed schedule event method 2008-10-28 13:37:11 +00:00
fros4943 0c34a1f000 removed tick time 2008-10-28 13:36:26 +00:00
fros4943 456ef03dc1 removed tick lists and variable tick times
handling tick events in simulation loop: moving towards fully event based (as opposed to tick based)
2008-10-28 13:35:59 +00:00
fros4943 5c2d5940ed new energy method: collecting total energy consumption from each interface 2008-10-28 13:28:35 +00:00
fros4943 237de606b1 removed tick lists and tick time functionality 2008-10-28 12:58:32 +00:00
fros4943 41a74cd9a9 new energy method, not fully implemented yet 2008-10-28 12:55:20 +00:00
fros4943 bbeed74eda Cooja event queue. Ported from MSPSim 2008-10-28 12:52:24 +00:00
fros4943 37554001d3 Cooja time event. Ported from MSPSim 2008-10-28 12:51:22 +00:00
fros4943 a45f451dcf removed passive/active interfaces notion.
also, new energy estimation method
2008-10-28 12:50:38 +00:00
fros4943 1de0d38ccb interface handler support for new interface polling format 2008-10-28 12:40:35 +00:00
fros4943 7e864bd3c7 updated interfaces to new polling format. 2008-10-28 12:30:48 +00:00
fros4943 5650f8ba89 implemented by mote interfaces to determine when they should be polled 2008-10-28 12:09:14 +00:00
fros4943 31e2c88a66 passive/active interfaces distinction removed. 2008-10-28 12:05:30 +00:00
fros4943 f35eeb575d rewriting mote interfaces for faster simulation execution.
vibration sensor interface
2008-10-28 12:02:35 +00:00
fros4943 db2c5d3a12 rewriting mote interfaces for faster simulation execution.
rs232 interface
2008-10-28 11:59:23 +00:00
fros4943 bee9a6d9ac rewriting mote interfaces for faster simulation execution.
radio interface
2008-10-28 11:49:00 +00:00
fros4943 ddcd54d24a rewriting mote interfaces for faster simulation execution.
PIR interface
2008-10-28 11:16:37 +00:00
fros4943 24308b8915 rewriting mote interfaces for faster simulation execution.
node id interface
2008-10-28 11:11:52 +00:00
fros4943 86c3ea9bc8 rewriting mote interfaces for faster simulation execution.
log interface
2008-10-28 10:28:38 +00:00
fros4943 960f32f3d4 rewriting mote interfaces for faster simulation execution.
LEDs interface
2008-10-28 10:21:37 +00:00
fros4943 892ed6f316 rewriting mote interfaces for faster simulation execution.
ipv4 interface
2008-10-28 10:12:43 +00:00
fros4943 ae80b1a585 rewriting mote interfaces for faster simulation execution.
clock interface
2008-10-28 09:57:48 +00:00
fros4943 f9d2581e06 rewriting mote interfaces for faster simulation execution.
cfs interface
2008-10-28 09:53:23 +00:00
fros4943 ed9063719f rewriting mote interfaces for faster simulation execution.
button interface
2008-10-28 09:42:26 +00:00
fros4943 eb7e75c851 rewriting mote interfaces for faster simulation execution.
beeper interface
2008-10-28 09:33:00 +00:00
joxe 545eaedee4 updated mspsim with some new bugfixes - but still some problems with CC2420 and LPL 2008-10-27 07:34:41 +00:00
nifi 8134af742c updated for new Radio API 2008-10-15 09:00:52 +00:00
nifi 69b73246b9 refactored MSPMote setup + added plugin to access MSPSim CLI 2008-10-13 14:50:50 +00:00
joxe 37214513d6 improved cc2420 support 2008-10-09 11:13:00 +00:00
joxe 9646fa0a01 fixed new byte based radio model for MSPSim based Sky node 2008-10-09 11:11:30 +00:00
joxe 626638d8b8 bugfix for the TinyOS node id support 2008-10-09 09:41:27 +00:00
fros4943 6011abbb79 removed unused currentSimTime + fixed bug when nodes are added during simulations 2008-10-07 16:49:21 +00:00
fros4943 11a084f8df mspsim with fifop bugfix (setting fifop false when radio is reconfigured) 2008-10-07 15:01:46 +00:00
fros4943 526a5ae497 new mspsim jar with some cc2420 fixes 2008-10-07 11:53:40 +00:00
fros4943 3bae1a2b59 persistent node ID defaults to true
+ removed some debugging output
2008-10-07 08:21:05 +00:00
fros4943 e473939ebf support for node IDs in variables node_id, TOS_NODE_ID or none 2008-10-07 08:18:54 +00:00
fros4943 b8d8474668 mspsim 0.94 2008-10-06 14:03:52 +00:00
fros4943 87cdcfc4da using Contiki's regular hello-world application in test (examples/hello-world), instead of Cooja's test application 2008-10-05 17:11:54 +00:00
fros4943 3f5daef8bc compiler should not replace printfs with puts 2008-10-05 15:50:20 +00:00
fros4943 3a26f02fb2 removing debug output 2008-10-05 15:49:10 +00:00
fros4943 74dcd17875 print compilation error stream if not visualized 2008-10-03 15:43:44 +00:00
fros4943 2a2b764ee6 updated some references to old getLastLogMessages() 2008-10-03 15:18:48 +00:00
fros4943 66e361058a fix: local firmware file variable defined when compilation starts 2008-10-03 15:08:17 +00:00
fros4943 43d97043a7 added clean option 2008-10-03 15:02:21 +00:00
fros4943 e26d2b596f if newly started plugin has not specified a location/size, use defaults 2008-10-03 14:31:32 +00:00
fros4943 4f5ff657d4 set default location and size 2008-10-03 14:30:51 +00:00
fros4943 4db4a211bf disabled some (almost) never used configuration options. 2008-10-03 13:54:27 +00:00
fros4943 ca8d0905c8 respect screen size when displaying dialog 2008-10-03 13:46:30 +00:00
fros4943 0386dbaf44 not scanning platform/cooja directory (no user processes should reside there) 2008-10-03 13:40:56 +00:00
fros4943 214b6f5f4d renamed some components: better explanations 2008-10-03 13:39:49 +00:00
fros4943 f27dd80489 removed interrupt output when simulation is stopped 2008-10-03 13:18:29 +00:00
fros4943 777e483e52 ask user to immediately add nodes from newly created node type 2008-10-03 13:17:28 +00:00
fros4943 e547b55196 updated according to new scanProcesseses() interface 2008-10-03 13:10:09 +00:00
fros4943 c928a5eec5 using contiki process class instead of relying on check box texts + added process source to checkboxes 2008-10-03 13:08:58 +00:00
fros4943 bcd8f68ba5 simple class representing a scanned Contiki process (process name and source file) 2008-10-03 13:02:43 +00:00
fros4943 d9ce7927cb splitting contiki messages on newlines 2008-10-03 10:39:29 +00:00
fros4943 52d9bcaed5 splitting contiki messages on newlines 2008-10-03 10:36:39 +00:00
fros4943 70a74f624a removing strict dependency on project platform configuration files (cooja.config).
files are still used if existing.
2008-10-03 10:23:05 +00:00
fros4943 7ad524cb80 removed redundant error message 2008-10-03 09:37:01 +00:00
fros4943 9cf79a6b21 kill potentially unfinished compilation process when dialog is closed 2008-10-02 21:23:03 +00:00
fros4943 fed6e1ccd5 bigger default compilation output window 2008-10-02 21:20:26 +00:00
fros4943 c5181a4a8e ensure new messages are added from the awt thread 2008-10-02 21:19:47 +00:00
fros4943 a965293488 added two rime/sky tests: abc and trickle 2008-10-02 21:18:59 +00:00
fros4943 205b9f8bc4 all run target depend on jar 2008-10-02 19:56:23 +00:00
fros4943 4e32a61ebf calling RUN_TEST from bash (no need for +x flag) 2008-09-29 23:24:29 +00:00
fros4943 ee7b3dc70c newer mspsim: with receive sfd_state bug fix 2008-09-29 23:22:13 +00:00
fros4943 f150cab154 default random mote startup time set to 1sec + handling msp mote breakpoints 2008-09-29 23:04:27 +00:00
nifi 4ea174d31a changed logging to file to be optional 2008-09-29 13:27:43 +00:00
fros4943 c74687ee48 better example test script 2008-09-29 13:24:41 +00:00
fros4943 15738c9fe3 info ends with newline 2008-09-29 13:13:59 +00:00
fros4943 f081661c7a added (unused) visualized plugins to test.
allows importing tests with plugins
2008-09-29 13:08:23 +00:00
fros4943 ed18334c66 added import test functionality 2008-09-29 13:03:29 +00:00
fros4943 1483a80a28 some minor fixed:
* warn when trying to load visualized plugins when cooja is not visualized
* force calling doLoadConfig() from non-AWT thread
2008-09-29 13:02:15 +00:00
nifi 03beb76ade changed to run standalone (use arguments -cvs and -mail to update and mail test report) 2008-09-26 14:34:49 +00:00
joxe 24d34b837d updated mspsim jarfile 2008-09-23 15:26:50 +00:00
joxe 4d0f6d71bf added scriptmote for easier scripting 2008-09-22 16:20:03 +00:00
joxe f6e0702b3b optimized some loops for increased performance and added runprof for profiling 2008-09-22 16:18:22 +00:00
joxe 221742559d fixed cycles per sec to be more correct 2008-09-22 09:32:13 +00:00
fros4943 f21a4e54ae checking cvs and compile return results 2008-09-20 10:17:32 +00:00
fros4943 1f1112618a in paths, dirs are separated by '/'s only 2008-09-20 09:15:45 +00:00
fros4943 43fe1882f9 avoid using additional threads for writing to message list 2008-09-20 08:53:20 +00:00
fros4943 ec159b92d5 update message list immediately 2008-09-20 08:05:29 +00:00
fros4943 83e97ecfba print compilation errors to console 2008-09-20 08:05:07 +00:00
fros4943 1c8003c553 relative paths 2008-09-18 15:15:30 +00:00
fros4943 e3385f8e3b printing tail of cooja output in test report 2008-09-18 15:10:11 +00:00
fros4943 b9372090db exit when tests fail only 2008-09-18 14:55:21 +00:00
fros4943 8acef2acf1 removed system.exit after activated script 2008-09-18 14:46:24 +00:00
nvt-se 436990be34 use relative path 2008-09-18 14:45:52 +00:00
fros4943 673d0e8f12 more output after running scripts 2008-09-18 14:24:46 +00:00
fros4943 f6f5637f4f printing debug output when compilation fails 2008-09-18 14:14:58 +00:00
fros4943 ba5bfd6455 mspsim without debug output 2008-09-18 14:05:27 +00:00
fros4943 ff08a99b7d saving contiki relative paths if possible 2008-09-18 14:04:45 +00:00
fros4943 c1af172035 added tools for creating contiki relative paths 2008-09-18 14:04:13 +00:00
nvt-se 0a03c4d237 added the Coffee test to Cooja. 2008-09-18 10:36:48 +00:00
fros4943 8a171ebc16 added contiki test: sky hello world 2008-09-18 10:27:57 +00:00
fros4943 0651d0200f ran every test twice 2008-09-18 10:22:25 +00:00
fros4943 46a83a2909 removed log file based on current date 2008-09-18 07:38:48 +00:00
fros4943 35a79812d8 some more debugging info 2008-09-18 07:25:27 +00:00
fros4943 29eb6ecba4 removed old example tests 2008-09-17 22:02:19 +00:00
fros4943 3a06219c1e added contiki test: cooja testapp hello world 2008-09-17 21:54:15 +00:00
fros4943 dcabcf772b using RUN_TEST script, and environment variables 2008-09-17 21:42:19 +00:00
fros4943 023a760b40 run single test script 2008-09-17 21:41:30 +00:00
fros4943 f2f99b0af8 removed old example usage 2008-09-17 21:40:45 +00:00
fros4943 d656052f7e cooja clean also cleaning cooja_mspsim and mrm 2008-09-17 20:50:54 +00:00
fros4943 e1a159d7a2 deleting jar at clean 2008-09-17 20:49:13 +00:00
fros4943 11981ea720 mrm.jar built automatically when starting cooja 2008-09-17 20:41:37 +00:00
nifi ee56d724bf fixed bug in the delayed start of MSPSim motes 2008-09-17 17:39:37 +00:00
fros4943 fc85534698 some minor fixes 2008-09-17 16:30:57 +00:00
fros4943 00930b72c3 added "export contiki test" functionality. still needs testing 2008-09-17 15:22:39 +00:00
nifi 724d9139a7 added missing variable initialization 2008-09-17 14:37:23 +00:00
fros4943 8de801d729 new mspsim version 0.93+ 2008-09-17 12:10:15 +00:00
fros4943 fb4f9dfc1a serialport is an active interface 2008-09-17 12:09:20 +00:00
fros4943 9a76bacaa5 initialize from int[] (mspsim standard) 2008-09-17 12:09:03 +00:00
fros4943 9c51ece052 supporting new mspsim cc2420 2008-09-17 12:08:45 +00:00
fros4943 8d790a19d8 serial port implementation for sky node. 2008-09-17 12:05:45 +00:00
fros4943 824dd31856 serial port interface 2008-09-17 12:04:27 +00:00
fros4943 cad6109cf4 new loglistener version, implemented by Niclas Finne 2008-09-01 13:01:05 +00:00
fros4943 9ea58d343b cooja ant run automatically builds jars 2008-09-01 12:47:54 +00:00
nifi 34b37335c9 updated to latest version of mspsim 2008-07-09 22:08:32 +00:00
nifi 1cbac18ff9 updated to latest version of MSPSim 2008-06-27 14:11:51 +00:00
nifi e4aac2ad23 fixed inverted leds 2008-06-27 14:10:00 +00:00
nifi 52d6ea2738 fixed problem with the initialization order 2008-06-27 14:09:26 +00:00
nifi 4eb02a56a0 added Button interface for the Sky plattform 2008-06-27 14:07:05 +00:00
nifi 522f87e63f made the GUI a little more compact 2008-06-27 14:05:08 +00:00
nifi 21c8496858 bug fix: flash is not available on all platforms 2008-06-27 14:04:46 +00:00
fros4943 1877a8361f shorter test duration 2008-05-02 06:15:16 +00:00
fros4943 58ca3bcae3 ctimer test 2008-05-02 05:58:01 +00:00
fros4943 745edbe9ea misspelling fix 2008-05-02 05:47:52 +00:00
fros4943 b893af79a6 saving portable paths (no '\'s) 2008-05-02 05:47:22 +00:00
fros4943 5cd7df6cd1 updated version with email notif 2008-04-29 04:43:27 +00:00
fros4943 91042860a9 updated linux external tools conf 2008-04-24 12:05:13 +00:00
fros4943 d8f69c0a84 example info file 2008-04-24 11:55:39 +00:00
fros4943 cbb68a71f6 jar target compiles mspsim and mrm 2008-04-24 11:36:07 +00:00
fros4943 3dcc90d9c0 some additional test output 2008-04-24 06:17:26 +00:00
fros4943 99dfe749e3 del backslashes 2008-04-23 15:21:27 +00:00
fros4943 683f05302e updated version 2008-04-23 15:19:13 +00:00
fros4943 92a4c5289f removed unmappable character 2008-04-23 13:47:18 +00:00
fros4943 acb55db237 removed unmappable character 2008-04-23 13:47:18 +00:00
fros4943 8e9e6bed48 set mspsim project default 2008-04-23 13:44:14 +00:00
fros4943 ebc2389130 rime rucb and mspsim test 2008-04-22 14:29:05 +00:00
fros4943 59a0e26b90 calling example test scripts 2008-04-22 13:12:40 +00:00
fros4943 9955e05db3 very simple example test scripts 2008-04-22 13:12:23 +00:00
fros4943 61e325b081 default no-gui cooja with increased heap 2008-04-22 13:10:58 +00:00
fros4943 cb962d70c0 added script runner plugin
javascript operates on mote log messages
2008-04-22 13:09:32 +00:00
fros4943 6fd056dafb fixing paths 2008-04-22 13:06:36 +00:00
fros4943 ed6f208609 added script runner no gui version. 2008-04-22 13:05:18 +00:00
fros4943 c7954c8a5b added functionality for observing GUI (added/removed simulations) 2008-04-22 13:04:43 +00:00
fros4943 edb5a18000 interact with simulations using javascripts 2008-04-22 10:12:16 +00:00
fros4943 22071d6073 updated mspsim 2008-04-03 14:35:19 +00:00