Commit graph

1381 commits

Author SHA1 Message Date
fros4943 d71fe1d25f added delay before starting ping process 2009-11-14 10:58:28 +00:00
fros4943 721a698a24 + progress message type 2009-11-13 14:27:46 +00:00
fros4943 a3bd96f97e show compilation warnings dialog after successful load + save config to history even if load fails 2009-11-13 14:25:43 +00:00
fros4943 29310addc5 improved timeline zooming 2009-11-13 13:01:13 +00:00
joxe add9d2a387 added write to memory from COOJA + fixed byte ordering 2009-11-13 09:50:25 +00:00
fros4943 eded6497f2 removed dependency on mote interface getEnergyConsumption() method 2009-11-13 08:52:26 +00:00
fros4943 28f910b8d9 removed delay configuration option + lots of obsolete code from dialog 2009-11-13 08:51:23 +00:00
fros4943 977809144f cleaning up after a removed simulation by the removed() methods +
exposing methods for loading simulations from external plugins +
minor bug fix: the reload progress dialog sometimes disappear even when a simulation is loading
2009-11-13 08:49:26 +00:00
fros4943 467cf88bcd removed energyConsumption() method from mote interface: obsolete, we should instead interface Contiki's power profiler or MSPSim for better estimations
+
added stub removed() method: mote interfaces that need explicit cleanup should override this method
2009-11-13 08:41:06 +00:00
fros4943 499c3b8c26 removeDestination(Mote) method returns true is the argument mote was actually a destination (and hence was removed) 2009-11-13 08:38:45 +00:00
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
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
adamdunkels 61f16ae6cb Configure RF channel to be the same as the default Contiki sky channel 2009-10-26 13:34:08 +00:00
adamdunkels fca2cfc919 radvd configuration file for linux 2009-10-26 13:20:57 +00:00
adamdunkels 2b54d1f1b4 Added make targets that help to setup the SLIP IPv6 bridge 2009-10-26 13:20:31 +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
fros4943 2bc52699c6 bugfix: removed-flag should become false when rescheduling unsorted event 2009-10-19 17:32:38 +00:00
fros4943 b144b78478 increased slip data buffer size 2009-10-19 17:31:13 +00:00
oliverschmidt 644d637530 cc65 2.13. supports 'native' ProDOS 8 system programs. So LOADER.SYSTEM doesn't act as resident shell anymore but works now as pure loader. 2009-10-18 10:01:40 +00:00
oliverschmidt d8aee18f6c cc65 2.13. allows to
- explicitly set 80 column mode
- control exit behaviour from the program itself (instead of requiring a loader variant).
2009-10-18 09:37:37 +00:00
fros4943 2c1b7013d5 by request: added mote type visualizer skin 2009-10-16 13:14:53 +00:00
fros4943 92eecd3e38 added method for more easily accessing the coffee filesystem interface 2009-10-08 14:41:20 +00:00
adamdunkels 5dd7f44162 Increased the transmission time to 40 seconds from 20 seconds 2009-10-02 09:10:08 +00:00
nifi 1f9642039e increased timeout due to better timing in new version of MSPSim 2009-09-28 09:46:54 +00:00
nifi 51cbcd9193 minor bug fix: enforce string to avoid merging mote ids 2009-09-24 08:56:17 +00:00
fros4943 21d1c5e939 added experimental functionality for mapping between debug info paths and real source locations.
useful when the firmware is not compiled on the cooja computer, or when the source files have been moved after compilation.

this functionality is not yet saved with simulation configs
2009-09-23 08:22:36 +00:00
fros4943 25767a1f0f faster repaint for large source files 2009-09-23 08:16:06 +00:00
nvt-se fc34a4572b Removed the deprecated COFFEE_DIR_CACHE_ENTRIES parameter. 2009-09-22 16:31:36 +00:00
fros4943 88b4e22aad fixed executable path 2009-09-18 16:45:26 +00:00
fros4943 0beda36034 show progress dialog during minimal-net compilation 2009-09-18 16:38:15 +00:00
fros4943 0c4dc6fc6b start plugins in non-dispatcher thread 2009-09-18 16:13:31 +00:00
fros4943 d9f3e2b05f bugfix: restoring path from wrong source when loading msp mote type 2009-09-18 09:26:22 +00:00
fros4943 dc07c1ad26 debug info before loading ELF file 2009-09-18 09:06:15 +00:00
fros4943 fcfb68e329 added micaz port hello world test 2009-09-17 14:00:50 +00:00
fros4943 e974b896dc removing unsafe MoteID interface dependencies 2009-09-17 13:19:08 +00:00
fros4943 87aa2c2aad bug fix: z-coord was not painted + some (even) positions caused errors 2009-09-17 12:38:04 +00:00
fros4943 ca0f2c91c8 paint both actual transmission range (depends on current tx power), and the maximum value as configured in the radio medium 2009-09-17 12:10:28 +00:00
fros4943 f144b012b9 changed default tx power to maximum 2009-09-17 12:09:14 +00:00
fros4943 b526851ac1 added getID() stub to avoid compiler errors: the application motes does not yet respect the configured mote IDs 2009-09-17 11:12:25 +00:00
fros4943 b2ea7ba9b2 removed reference to potentially non-existing mote ID interface: the mote getID() method should instead be used 2009-09-17 11:07:58 +00:00
fros4943 8116da5c4e removed mote state references 2009-09-17 11:06:35 +00:00