Commit Graph

1174 Commits

Author SHA1 Message Date
adamdunkels
78fd88d0ec Print stats even when test fails 2009-11-03 09:27:11 +00:00
fros4943
0b2cd19cac removed debugging output 2009-11-02 13:18:27 +00:00
fros4943
5bd2008def minor fix: check that event is not already scheduled 2009-11-02 10:02:58 +00:00
nifi
a22348a496 Use canonical path to find parent directory when creating config relative path 2009-10-30 15:27:26 +00:00
fros4943
36eae6fcdf micaz port now extends AbstractWakeupMote and schedules itself to execute every millisecond.
still no memory access, so simulation of micaz motes remains limited
2009-10-30 09:42:50 +00:00
fros4943
a45aa8e89c minor changes in executable jars: removed jdk dependency on simulating computer + temporary files from simulation are stored in a subdirectory + temporary files from building the jar are removed when done 2009-10-29 17:05:13 +00:00
fros4943
b4a4572d97 added help method for reading from streams 2009-10-29 16:48:50 +00:00
fros4943
54ac5bc64e added two example scripts 2009-10-29 14:39:08 +00:00
fros4943
62c8535678 bugfix: radio medium should reset last connection data before notifying observers that a new connection has begun 2009-10-29 10:31:55 +00:00
fros4943
53b6e0e7fa new feature: generate executable jar from current simulation
useful for preparing a simulation, and then running it elsewhere without having to configure cooja
2009-10-29 10:17:15 +00:00
fros4943
4c7ef8b022 added experimental feature: generate executable JAR from current simulation
+ made some methods public for accessing configuration state etc from outside the GUI class + minor bug fix in reparse projectes method
2009-10-29 10:16:05 +00:00
fros4943
bc0d46a966 added "ant help" target, with build executable simulation example 2009-10-29 10:13:46 +00:00
fros4943
7f1d5c90d6 added method for writing text to files 2009-10-29 10:10:22 +00:00
fros4943
82b8006c0c using MoteTimeEvent instead of TimeEvent: scheduled events are automatically removed when the mote is removed 2009-10-28 15:58:42 +00:00
fros4943
281639c779 fixed potential memory leak when motes are removed during a simulation 2009-10-28 15:42:03 +00:00
fros4943
a4226e14c5 fixed potential memory leak when motes are removed during a simulation 2009-10-28 15:34:34 +00:00
fros4943
51130cea80 fixed potential memory leak: did not unregister mote observer if the mote was removed from the simulation while the skin was active
+
added ability to copy mote IP addresses to clipboard
2009-10-28 15:16:21 +00:00
fros4943
5650e818ec abstract application mote, used for implementing application-level motes, now extends wakeup mote.
+ reimplemented disturber mote using abstract application mote
+ removed obsolete dummy mote example
2009-10-28 14:38:02 +00:00
fros4943
cb04423a57 added default methods for saving and restoring the mote id 2009-10-28 14:35:10 +00:00
nifi
c51956bc8c Minor fix with config relative path and allow external tools editing with specified Contiki path. 2009-10-28 13:37:29 +00:00
fros4943
be230d4d37 exporting paths relative to contiki, not cooja
+ new project management api
2009-10-28 12:07:37 +00:00
fros4943
226a41abbf throw exception if project directory or config file does not exist 2009-10-28 12:05:43 +00:00
fros4943
8e1de297d5 new dialog api + removed lots of obsolete code 2009-10-28 12:03:48 +00:00
fros4943
175e39a3d2 remember last source file used relative to current contiki 2009-10-28 12:02:21 +00:00
fros4943
edd94c00b0 increased timeout to 80sec (new mspsim is more accurate emulating flash memory timing) 2009-10-27 15:47:37 +00:00
fros4943
c5dd2726f3 removed debug output 2009-10-27 10:36:01 +00:00
fros4943
5c2fd30afb disabled micaz clock until new wakeup interface is implemented 2009-10-27 10:20:25 +00:00
fros4943
2911ea483b jipv6 jar path fix 2009-10-27 10:19:07 +00:00
fros4943
29f618836f new radio medium api 2009-10-27 10:14:09 +00:00
fros4943
2d7e188c77 using mspsim's new window manager, not fully implemented yet 2009-10-27 10:13:34 +00:00
fros4943
38dcc8ed93 extending abstract wakeup mote 2009-10-27 10:12:33 +00:00
fros4943
ed8867bcb5 new event scheduling api 2009-10-27 10:11:17 +00:00
fros4943
a81f216acb radio medium patch: udgm uses hash table for efficient lookup in large networks + minor patches to dgrm 2009-10-27 10:10:03 +00:00
fros4943
59e1c464e7 introduced new abstract mote classes:
AbstractWakeupMote shared functionality common to both contiki-based and mspsim-based motes
2009-10-27 10:07:56 +00:00
fros4943
64293abe03 major update to cooja's event scheduler:
* all events must now be scheduled from the simulation thread
* added new methods for requesting simulation thread execution

this patch solves some race conditions introduced by the new mspsim execution scheduling, but affects many existing plugins and interfaces
2009-10-27 10:06:59 +00:00
fros4943
4715637b38 major update to mspsim-based emulated mote:
* fully event based scheduling instead of previous event-tick-hybrid model

->
* faster emulation of large mspsim-based networks
* enables variable clock frequency (no longer fixed to 3.9 Mhz)
2009-10-27 10:02:48 +00:00
fros4943
ae9aaea5f3 added build dependcy jipv6.jar 2009-10-27 09:58:18 +00:00
fros4943
a344925b50 added methods for writing and reading byte array from files 2009-10-27 09:52:24 +00:00
fros4943
6100734897 added convenience method for accessing active plugins 2009-10-27 09:31:22 +00:00
fros4943
8b136c0b35 removed obsolete until method 2009-10-27 08:52:49 +00:00
fros4943
1dba4d40ca minor fix for non-GUI simulations: stop simulation and clean-up before shutting down COOJA 2009-10-23 11:55:53 +00:00
fros4943
4c1706bebb do not show dialog unless COOJA is visualized 2009-10-21 16:43:24 +00:00
fros4943
15c4cdaa3e on non-windows platforms: manually entering simulated gateway arp address
+ minor updates: introduced network interface wrapper class , extending vis plugin, showing number of bytes forwarded between native and simulated network (not just number of packets)
2009-10-20 09:22:07 +00:00
adamdunkels
b4be72be7d Removed use of NULLMAC 2009-10-19 21:42:39 +00:00
adamdunkels
1b26fcd5c7 Increased timeout 2009-10-19 20:50:16 +00:00
adamdunkels
4ef2f4f6b5 Reduced interference range 2009-10-19 20:48:43 +00:00
adamdunkels
f9d00bc8bf Reduced the number of packets that needs to be received 2009-10-19 20:47:28 +00:00
fros4943
d8f31b6630 check that radio connection is non-null when painting radio traffic history 2009-10-19 17:37:50 +00:00
fros4943
1c4b6afea3 minor feature: show mouse drag distance (in time) from mouse press 2009-10-19 17:36:28 +00:00
fros4943
9d7275db7e added option to limit the number of messages in list 2009-10-19 17:33:25 +00:00