Commit graph

1352 commits

Author SHA1 Message Date
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
fros4943
62287dcb03 implements mandatory getID() method 2009-09-17 11:05:56 +00:00
fros4943
72105a161e added getID() method (mandatory for all motes)
removed the common state notion: these are instead mote specific
2009-09-17 11:05:09 +00:00
fros4943
eb4698612d minor changes: removing some unused code, restructuring, added getID() methods 2009-09-17 10:50:11 +00:00
fros4943
969154c6f0 added some basic functionality for cooja motes like save/load support, compile dialog, and configurable mote interfaces. some parts are still missing (memory r/w access and mote IDs)
+
code restructuring preparing for a generic emulated mote type layer in cooja (made avrora-based motes look more like mspsim-based motes)
2009-09-17 10:45:13 +00:00
fros4943
edae45a101 added visualizer quick help 2009-09-15 11:26:39 +00:00
oliverschmidt
61929d7a3c Updated from Loader 1.3 to Loader 1.4. 2009-09-13 19:05:52 +00:00
zdshelby
fc237101be - Added the Sensinode platform programming tools to /tools 2009-09-09 09:48:16 +00:00
nvt-se
b5295fef10 use PATH_MAKE when compiling Contiki mote types. doesn't work on BSD systems
otherwise.
2009-09-07 15:05:05 +00:00
fros4943
eacda19281 support for extracting very simple statistics from observed events 2009-08-27 16:38:09 +00:00
fros4943
a69c8f03fe minor update: sorting variables by name + decreased default plugin size 2009-08-27 14:38:57 +00:00
fros4943
39aeb2f150 visualizer skin updates: broke out traffic visualization from the udgm radio medium skin (the stand-alone traffic skin can be used with any radio medium), added a simple background grid skin and a mote position skin 2009-08-27 13:59:47 +00:00
fros4943
23f13a2b6f visualizer plugin major update: support for zooming and panning, hiding window decorations, and a more powerful visualization skin api 2009-08-27 13:57:42 +00:00
nvt-se
b8e268e598 Added FreeBSD support.
Made the Sky mote type use PATH_MAKE for the build procedure.
2009-08-27 12:25:11 +00:00
oliverschmidt
5fcb9613be Changed Contiki IPv4 address to 10.1.1.1 to allow for out-of-the-box testing in emulators with Ethernet support bound to a loopback interface (see Contiki Wiki article "Capturing loopback traffic with Wireshark"). 2009-08-24 20:28:16 +00:00
fros4943
d13f47a64f bugfix: clock drift must be set even when the random startup delay is zero 2009-08-20 13:10:35 +00:00
fros4943
91e762b7bc bugfix: do not assume that the debugged mote is compiled from source 2009-08-20 12:52:17 +00:00
nvt-se
f78c9d6a20 fixed error: -e arg should be checked 2009-08-13 12:15:35 +00:00
nvt-se
9ab5859421 added platform configuration argument. 2009-08-13 12:11:20 +00:00
fros4943
3847927a43 including the coffee manager JAR in build system and project directory 2009-08-12 07:41:30 +00:00
fros4943
cdcf783ac6 coffee manager mote interface for sky motes 2009-08-11 17:09:16 +00:00
fros4943
8fcff235e2 optional ant build.xml for building the coffee jar file 2009-08-11 17:04:31 +00:00
fros4943
b4f3cce790 minor changes for allowing coffee manager access from cooja 2009-08-11 17:03:59 +00:00
nvt-se
c154985d7e load configuration from the JAR 2009-08-11 14:42:58 +00:00
nvt-se
7d25016895 added ESB platform properties and made build.sh include properties files in
the JAR.
2009-08-11 14:21:28 +00:00
nvt-se
1c52dfefef read the bytes of a full region from the original file if the log record doesn't exist. 2009-08-10 12:56:13 +00:00
nvt-se
9d030cad2c added support for extracting micro logs 2009-08-10 12:51:52 +00:00
nvt-se
a4f7f33b74 simplified the argument interface. cleaned up some code 2009-08-04 15:19:07 +00:00
nvt-se
6612a77d66 only include class files. 2009-08-04 14:49:52 +00:00
nvt-se
44772060af removed debug output 2009-08-04 10:39:13 +00:00