Commit graph

736 commits

Author SHA1 Message Date
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
fros4943
d918a7c0a1 added jar_all target which compiles both cooja, mrm and mspsim_cooja 2008-04-03 14:22:03 +00:00
fros4943
d6f91b2f6e applet config 2008-04-03 14:06:40 +00:00
fros4943
42d685a819 reading source files from web server in applet mode 2008-04-03 14:03:30 +00:00
fros4943
3da6608fe3 upload flash binary not available in applet mode 2008-04-03 14:02:47 +00:00
fros4943
ce3ed6d064 mspsim setup node ports without file access 2008-04-03 14:02:20 +00:00
fros4943
a4c408fb66 reading specified binary firmware from webserver 2008-04-03 14:01:06 +00:00
fros4943
2691abecaa using firmware specified in applet attribute 2008-04-03 14:00:21 +00:00
fros4943
0ae6a4185a added applet attribute support + applet code base public 2008-04-03 13:59:37 +00:00
fros4943
ad30c06a8b added applet attribute support 2008-04-03 13:59:24 +00:00
fros4943
f29f2695ba fixed ant targets causing jar files to have duplicate class files 2008-04-03 11:50:49 +00:00
fros4943
26f339eea7 save log only available if not applet mode 2008-04-02 16:42:39 +00:00
fros4943
8889712071 log4j fallback on basic configurator if no file access 2008-04-02 16:41:46 +00:00
fros4943
b0d37c34e3 experimental: ticking msp motes separately
allows for different tick durations per different nodes
2008-04-01 08:12:16 +00:00
fros4943
a6ddac2347 creating flash interface 2008-04-01 08:09:35 +00:00
fros4943
bc4c80f7c7 single instruction ticks instead of entire milliseconds
need optimizing
2008-04-01 08:08:58 +00:00
fros4943
af2fcbca50 writing ID to flash memory 2008-04-01 08:07:58 +00:00
fros4943
66316eb7e9 flash interface 2008-04-01 08:06:57 +00:00
fros4943
43ef84ad85 tick method returns true if mote can be ticked again immediately 2008-03-31 15:22:41 +00:00
fros4943
7579904492 update source info when breakpoints are altered 2008-03-31 15:19:27 +00:00
fros4943
c447f5e6c0 removed references to unused mantis files 2008-03-19 17:48:25 +00:00
fros4943
716932544b new elf debug object access 2008-03-19 17:42:44 +00:00
fros4943
12c094409a added javadoc attr 2008-03-19 17:28:42 +00:00
fros4943
f659204238 experimental: removed objdump dependency 2008-03-19 17:27:35 +00:00
fros4943
759b98d05c get/set for elf module 2008-03-19 17:23:47 +00:00
fros4943
5def17f4fa one touch expandable split panes 2008-03-19 15:26:18 +00:00
fros4943
68b5743214 make elf module public 2008-03-19 15:17:59 +00:00
fros4943
6cf7e5eed5 removed external tool addr2line dependency 2008-03-19 15:17:22 +00:00
fros4943
79bd0e27ec removed debug output 2008-03-19 14:53:58 +00:00
fros4943
7d1a1e853a added syntax highlighting 2008-03-19 14:52:04 +00:00
fros4943
1e3ec46ddb added help method for generating unique mote type identifiers 2008-03-19 09:41:03 +00:00
fros4943
27d81e5645 added support for dynamic contiki mote type identifiers: no need to restart simulator when loading another simconfig 2008-03-19 09:40:38 +00:00
fros4943
4ed646d8ba updated source code info 2008-03-18 16:59:06 +00:00
fros4943
3b8f80f283 added javadoc target 2008-03-18 16:56:14 +00:00
fros4943
dab209d74f javadoc bugs 2008-03-18 16:55:44 +00:00
fros4943
0c0d313506 added udgm signal strength support 2008-03-18 16:47:17 +00:00
fros4943
ca5c47da3d updated mspsim jar 2008-03-18 16:41:17 +00:00
fros4943
f0fbbaa379 negative channels can talk to any other channel (both rx and tx) 2008-03-18 16:37:35 +00:00
fros4943
7f89171d26 updated tr1001 channels: fixed to -1 2008-03-18 16:36:48 +00:00
fros4943
5ddbefaa4f added delete mote menu action 2008-03-18 16:20:56 +00:00
fros4943
5337ad2b60 updated interface visualizer and changed default output power to 0 dBm 2008-03-18 16:20:16 +00:00
fros4943
618f2907ec debug output fix 2008-03-18 15:48:24 +00:00
fros4943
32b5f206b1 implementing custom data objects 2008-03-18 15:48:00 +00:00
fros4943
6e6857c6a6 warn if forwarded data is null 2008-03-18 15:43:03 +00:00
fros4943
8b6fb0821a supporting connections with null radio packets 2008-03-18 15:42:35 +00:00
fros4943
9ed58f6323 disturber sends same packet over and over again 2008-03-18 13:55:46 +00:00
fros4943
094e86ca49 cc24240 packet converter (currently no actual conversion is performed due to already stripped cc2420 output) 2008-03-18 13:34:20 +00:00
fros4943
6ef6ae5d76 removed connection logger reference 2008-03-18 13:24:38 +00:00
fros4943
275ee04f5b tr1001 implements a custom data radio. may deliver null packets is gcr decoding fails 2008-03-18 13:15:41 +00:00
fros4943
560837b4db using new radio packet format 2008-03-18 13:13:56 +00:00
fros4943
d23ef2a0df custom data radio implementation: tr1001 byte objects 2008-03-18 13:08:26 +00:00
fros4943
84d2353966 using new radio packet format and some documentation 2008-03-18 13:05:23 +00:00
fros4943
4fc082db35 using new radio packet format 2008-03-18 13:03:24 +00:00
fros4943
2b90590698 removed old commented code 2008-03-18 13:02:10 +00:00
fros4943
066a055563 general radio interface now implements old packet radio 2008-03-18 13:01:13 +00:00
fros4943
36b6fa15eb custom data radios 2008-03-18 12:58:59 +00:00
fros4943
5107a365c3 using new radio packet format 2008-03-18 12:57:04 +00:00
fros4943
660faff676 removed notion of byte and packet radio:
all radios must now implement the default cooja packet type, and may addionally implement a custom data object
2008-03-18 12:54:25 +00:00
fros4943
e765735bad using new radio packet format 2008-03-18 12:52:01 +00:00
fros4943
1270545cc2 removed debug output 2008-03-18 12:49:18 +00:00
fros4943
e41a6c2fbc default radio packet implementation 2008-03-18 12:47:10 +00:00
fros4943
d76e1b268a default (os-level) radio packet
all radios implementations must support this packet format
2008-03-18 12:46:36 +00:00
fros4943
6ecde3e85a removed obsolete connection logger 2008-03-18 12:43:00 +00:00
fros4943
735390dd5d minor fix: power cast to double 2008-03-17 10:18:37 +00:00
fros4943
b96b3ae8c6 only using distance when calculating received signal strength for nodes closer than transmitting range 2008-03-17 10:10:17 +00:00
fros4943
3a7feb7df7 activated sky nodes, no cross level converter exists yet 2008-03-17 09:57:05 +00:00
fros4943
d464609df6 initial cc2420 wrapper interface
supports signal strength and output power (indicator)
2008-03-17 09:55:35 +00:00
fros4943
ef6ac855d9 remade msp init methods 2008-03-17 09:54:19 +00:00
fros4943
223ded4595 added output power indicator max value 2008-03-17 09:50:27 +00:00
fros4943
7cf49fb57a added output power indicator max value + remade signal strength calculation per distance 2008-03-17 09:49:44 +00:00