Commit graph

1321 commits

Author SHA1 Message Date
fros4943 a9eecb03df strict event scheduling from simulation thread +
added method for removing mote types from a simulation +
added cleanup-methods for simulation/motes/mote interfaces: void removed();
2009-11-13 08:37:36 +00:00
fros4943 9c861b486d minor fix: isTransmitting() flag should be true during transmissions + removed obsolete MSPSim setCCA interface 2009-11-13 08:32:01 +00:00
joxe be313dd97d improved support for MicaZ emulation - added variable watcher functionality 2009-11-12 12:49:34 +00:00
joxe 27bca64fe0 improved micaz emulation - supports radio on/off states + moved over to used common emulation classes 2009-11-10 12:56:20 +00:00
joxe 474698b36e added common emulation classes for emulated motes 2009-11-10 12:54:39 +00:00
adamdunkels d41a050310 Nightly test for the netperf shell command 2009-11-08 20:02:33 +00:00
fros4943 91a4322d2b minor fix: show rime address when no IP address was found 2009-11-05 11:54:59 +00:00
nvt-se 9b801b59c7 Do not print error message for errno when showing the usage string. Use the same usage string in the two places where the usage is printed. 2009-11-03 14:00:28 +00:00
adamdunkels 78fd88d0ec Print stats even when test fails 2009-11-03 09:27:11 +00:00
adamdunkels 01683428ea Added missing functions to make the bridge code compile 2009-11-03 09:09:55 +00:00
fros4943 0b2cd19cac removed debugging output 2009-11-02 13:18:27 +00:00
adamdunkels 0a12f6da77 Allow debugging output to be written from the bridge mote and be printed out by the tapslip6 program 2009-11-02 11:46:49 +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 fc83caf42a updated mspsim.jar with timer bugfix (div by zero) 2009-10-27 14:43:51 +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 639121f835 updated mspsim.jar, with dependency jipv6.jar and autorun script 2009-10-27 09:57:44 +00:00
fros4943 a344925b50 added methods for writing and reading byte array from files 2009-10-27 09:52:24 +00:00