Commit Graph

498 Commits

Author SHA1 Message Date
Enrico Joerns
579f0a9a93 [cooja] Added MemoryLayout class to represent basic information about
motes memory such as word size or endianess
2014-07-31 13:32:06 +02:00
Enrico Joerns
c6f8a2d558 [cooja] Added @Override annotations for relevant files 2014-07-31 13:32:06 +02:00
Enrico Joerns
cef3c4079d [cooja] Reformatted Visualizer and skins code 2014-04-11 09:23:28 +02:00
Enrico Joerns
84b687efeb [cooja] Automated code updates that do not make any functional changes
- made loggers final
- added some diamond interface cosmetic
- shortened if-return statements
- replaced size == 0 check with .isEmpty()
2014-04-11 09:20:52 +02:00
Enrico Joerns
6e9b0e1497 [cooja] Added @Override annotations for Visualizer and skins 2014-04-11 09:20:52 +02:00
Enrico Joerns
8e648bcece [cooja] apps/mrm: Adapted MRM visualizer skin to show adequate
information for multi-selections
2014-04-11 09:20:52 +02:00
Enrico Joerns
22ac769781 [cooja] plugins/Visualizer: Multi-mote selection functionality
This adds multi-mote selection capabilities to the visualizer plugin:

- [Ctrl + Mouse Drag]: Rectangular selection of multiple motes
- [Ctrl + Mouse Click]: Add/Remove motes from current selection
- Mouse Drag on any selected Mote: Move all currently selected motes

Note: This changes previous behaviour of using Ctrl key.
2014-04-11 09:05:38 +02:00
Enrico Joerns
418c51a7d5 [cooja/mspsim] a single sky mote in cooja.config should be sufficient 2014-03-08 01:18:07 +01:00
Fredrik Osterlind
51e62e8cb3 Cooja backwards compatibility with simulation files that uses non-Contiki Java package names 2013-11-20 16:43:28 +01:00
Fredrik Osterlind
b5c94910ac Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies
like /tools/mspsim.

This is a very simple modification that affects a very large number of files in Contiki: Cooja,
/platform/cooja, Collect-view, Coffe-manager, and Cooja simulation files (.csc).

I've gone through Contiki to update all references I could find. Nevertheless, this commit will likely
break external dependencies, like saved Cooja simulation files.
2013-11-20 16:43:27 +01:00
Fredrik Osterlind
2a9283884c renamed getGUI() method to getCooja(), to better reflect its purpose 2013-11-20 16:43:20 +01:00
Fredrik Osterlind
625537158f renamed main Java class of Cooja from GUI to Cooja.
se.sics.cooja.GUI -> se.sics.cooja.Cooja

this commit does not contain any functional changes, but may require external scripts to be updated
such as Makefiles.
2013-11-20 16:43:18 +01:00
Moritz 'Morty' Strübe
d05b03108a Decent error if mspsim cant be built 2013-11-14 18:14:03 +01:00
Adam Dunkels
71eea754d6 Added mspsim as a submodule instead of as a binary mspsim.jar file 2013-11-07 17:28:50 +01:00
Moritz 'Morty' Strübe
2b5f3bc6bd Add MSPSim Logging 2013-08-20 10:43:32 +02:00
Fredrik Osterlind
96968cb35e bugfix: only write to infomem if empty 2013-08-16 15:02:08 +02:00
Fredrik Osterlind
7c125ced9a a set of new cooja-mspsim mote types 2013-08-16 12:02:16 +02:00
Fredrik Osterlind
92655159c8 added a set of new mspsim-based mote types using CC1120, CC1101 and the Enc28j60 ethernet chip
minor changes: removed some obsolete stack monitoring code, improved mspsim-cooja window handler
integration
2013-08-15 11:46:29 +02:00
Fredrik Osterlind
9929cc2a10 added new mote type method that returns the by default used mote interfaces, as opposed to all compatible mote
interfaces

this allows a user to override default settings in the create-new-mote-type dialogs
2013-08-14 13:30:15 +02:00
Fredrik Osterlind
8e264badb7 added new mote type method that returns the by-default used mote interfaces, as opposed to all compatible mote
interfaces

this allows the user to override default settings in the create-new-mote-type dialogs
2013-08-14 13:25:53 +02:00
Fredrik Osterlind
f59040375b repaint labels periodically instead of every time data is sent over the serial connection 2013-08-14 13:04:37 +02:00
Fredrik Osterlind
8a084926e2 re-implemented stack overflow monitoring, and user can now manually override the stack addresses for use with
custom linker scripts
2013-08-14 13:03:15 +02:00
Fredrik Osterlind
1842fae903 write node id to infomem 2013-08-14 12:56:25 +02:00
Fredrik Osterlind
1917ea574f added methods to more easily extract runtime statistics from simulation scripts 2013-08-14 12:34:52 +02:00
Rémy Léone
e6bd4f1dde Rename to md 2013-03-26 23:15:37 +01:00
Rémy Léone
7b40a568a6 Update to markdown
- Spellchecking
- Update plain text to github markdown
2013-03-26 16:55:19 +01:00
Robert Quattlebaum
1d113f52ad core/net/uip: Rename uip_ethaddr to uip_lladdr.
There isn't really a good reason I can think of for these
to be different between IPv4 and IPv6.
2013-03-10 11:39:11 -07:00
Fredrik Österlind
150cb33b94 Merge pull request #16 from cmorty/COOJA_DGRM
DGRM-Related Patches
2012-11-21 02:44:13 -08:00
Moritz 'Morty' Strübe
80e7a6fd8c Cooja: Add LQI-Support to DGRM 2012-10-31 16:36:06 +01:00
Adam Dunkels
944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Fredrik Osterlind
8947c7a3bb reverted previous plugin name changes, instead build displayed names when menu is created 2012-06-11 15:31:39 +02:00
Adam Dunkels
5a87f2ae7c Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-06-08 14:31:36 +02:00
Adam Dunkels
107bdf116d Updated file permissions 2012-06-08 14:30:51 +02:00
Niclas Finne
6da3c03884 Added button interface for Z1 platform 2012-06-07 10:45:31 +02:00
Fredrik Osterlind
b322eda91a added support for mote interface requirements in SupportedArguments annotation
NativeIPGateway plugin now requires an IP address mote interface
2012-06-05 14:45:16 +02:00
Niclas Finne
d83b461654 Added check if the interface is not available 2012-06-04 17:57:11 +02:00
Niclas Finne
997baa67d1 No longer any need to specify memory when loading firmware 2012-06-04 17:57:09 +02:00
Adam Dunkels
ef22d93c05 Updated menu item name to indicate that a window is opened. 2012-06-04 17:22:47 +02:00
Adam Dunkels
b7fe30c2d7 Updated menu item name to indicate that a window is opened. 2012-06-04 17:22:23 +02:00
Fredrik Osterlind
86f1c34692 renamed radio method isReceiverOn() to isRadioOn()
fixed bug in Msp802154Radio causing all packets from non-802154-radios to be dropped
2012-06-04 12:39:46 +02:00
Fredrik Osterlind
e96a375e33 extracted quick help interface to a separate file, moved plugin-specific quick help from quickhelp.txt to the plugins themselves 2012-06-01 11:50:51 +02:00
Niclas Finne
f8da0ea206 Updated API for external flash for storage API in MSPSim 2012-05-31 15:40:31 +02:00
Niclas Finne
8a7f572e87 Added serial interface that looks up default serial usart from MSPSim 2012-05-31 15:40:11 +02:00
Niclas Finne
9251692eed Added Z1 platform 2012-05-31 15:40:09 +02:00
Niclas Finne
0a437bfbe1 Removed unnecessary empty mote contructors 2012-05-31 15:40:07 +02:00
Niclas Finne
9753ad1301 Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation. 2012-05-31 15:40:05 +02:00
Niclas Finne
d2c8cefa18 Added constructor to exception 2012-05-31 15:40:03 +02:00
Niclas Finne
4c1cff310c removed executable flags 2012-05-31 15:40:01 +02:00
Niclas Finne
15690694cb Added JCreate and Sentilla USB platforms 2012-05-31 15:39:59 +02:00
Niclas Finne
d86ae8766b Added Wismote platform 2012-05-31 15:39:56 +02:00
Niclas Finne
27fabd25c0 Button interface for MSPSim button abstraction 2012-05-31 15:39:54 +02:00
Niclas Finne
6fd69ade3e Leds interface for MSPSim leds abstraction 2012-05-31 15:39:52 +02:00
Niclas Finne
9dd2327f07 Replaced MSPSim interface SkyByteRadio with Msp802154Radio to easier support other 802.15.4 radio chips than CC2420. 2012-05-31 15:39:50 +02:00
Fredrik Osterlind
9e67306eee cleaned up the mote type visualizer code 2012-05-25 15:40:26 +02:00
Fredrik Osterlind
4ea830ad45 cleaned up some unnecessary methods: empty mote constructors (created from mote type), setInterfaces/setMoteType methods 2012-05-24 14:06:09 +02:00
Fredrik Osterlind
24aafe5554 disallowed starting plugins/visualizer skins for non-compatible motes/simulations 2012-05-24 13:58:12 +02:00
Niclas Finne
e18cc3b6b9 Made the mote type information for MSPSim based platforms more compact 2012-05-23 17:03:45 +02:00
Niclas Finne
bea1b8d3a1 Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation. 2012-05-23 15:42:22 +02:00
Fredrik Osterlind
50caa3650c new experimental feature: possibility to change mote types when loading a simulation
made compile dialogs only select mote interfaces specified in the loaded configuration
2012-05-23 14:59:41 +02:00
Fredrik Osterlind
a69b580778 Added new annonation with which Cooja components (e.g. mote plugins) can be activated
or deactivated depending on the given argument (e.g. mote). This may for
example be used by a mote plugin that only accepts emulated motes, and that
consequently should be hidden in other non-emulated motes' plugin menues.

The new annotation is currently only used by the MspCodeWatcher and the DGRM visualizer skin.
2012-05-09 13:47:03 +02:00
Fredrik Osterlind
8fd51cd889 bugfix: breakpoints should only trigger once
updated watchpointmote method to return executable address, not wrapped in an object
2012-05-09 13:04:35 +02:00
Niclas Finne
f328a8a483 Stop the CPU when a breakpoint is triggered 2012-04-20 21:48:12 +02:00
Niclas Finne
7628652a9d Updated for new listener API in MSPSim 2012-04-20 21:48:10 +02:00
Niclas Finne
26e7698d32 Updates for latest MSPSim memory API 2012-04-20 21:48:07 +02:00
Niclas Finne
28f8467ab1 Updated MSPSim plugin for new memory model in MSPSim 2012-04-20 21:48:04 +02:00
Moritz 'Morty' Strübe
74b2751072 Fix building of powertracker 2012-04-10 16:12:17 +02:00
Fredrik Osterlind
6dd1c42e8d added powertracker plugin as default cooja plugin. the powertracker plugin was previously available via contiki projects. 2012-04-10 12:45:11 +02:00
Fredrik Osterlind
173f512f6c disable editor when no source code is showing 2012-03-28 14:53:45 +02:00
Fredrik Osterlind
e3a12703da added temporary workaround that removes file duplicates, removed warning message 2012-03-28 14:52:30 +02:00
Fredrik Osterlind
4222d0adcd bugfixed parsing of files read from mspsim 2012-03-28 14:44:59 +02:00
Fredrik Osterlind
0c94b567b9 supporting multiple path substituion rules in mspcodewatcher 2012-03-28 12:29:54 +02:00
Fredrik Osterlind
65b5fd0dde documenting potential bug 2012-03-28 12:28:25 +02:00
Fredrik Osterlind
7cfa8e28d3 reworked MspCodeWatcher plugin: using jsyntaxpane to display Contiki code, using tabs instead of splitpanes, easier to
configure watch-/breakpoints, lots of bug fixes and minor improvements
2012-03-21 16:58:26 +01:00
Fredrik Osterlind
2e583c733e mspsim motes now implements new WatchpointMote interface, simplified code 2012-03-21 16:57:04 +01:00
Fredrik Osterlind
9b267036a4 send empty packet if node reboots during transmission 2012-03-12 14:34:06 +01:00
Fredrik Osterlind
2c486aacd7 radio medium bugfix: a combination of changing channels while radio is off and with a nearby ongoing transmission, and
then immediately turning on the radio caused it to incorrectly detect the ongoing transmission (bug reported by Beshr Al Nahas)
2012-03-09 15:23:16 +01:00
Fredrik Osterlind
295bb8b70f added memory monitor stubs to avr memory 2012-03-09 14:57:54 +01:00
Fredrik Osterlind
f8134186da implemented memory monitor support (moved previous functionality from MspMote to MspMoteMemory) 2012-03-09 14:57:44 +01:00
Niclas Finne
f891774c1f Deferred listening on memory until after mote id has been set 2012-03-06 15:35:16 +01:00
Fredrik Osterlind
e22bf837fc bugfix: mspsim may not have pc information, causing exception in buffer listener
bugfix: mote interfaces were incorrectly initialized twice, causing an mote id error in tinyos
2012-03-06 09:23:29 +01:00
Fredrik Osterlind
ea42d590ea removed unnecessary overrided methods 2012-03-06 09:22:12 +01:00
Fredrik Osterlind
a84dc139ea avoid awt thread floods from mspsim cli output 2012-03-01 17:02:40 +01:00
Fredrik Osterlind
8229cb8982 using new mspsim cli api 2012-03-01 15:25:17 +01:00
Fredrik Osterlind
268608f7e3 improved mspsim-connected regarding command handlers and context, implemented stack track method 2012-03-01 15:24:32 +01:00
Fredrik Osterlind
2c9316c5fa more informative error messages at simulation error 2012-02-16 15:51:32 +01:00
Niclas Finne
784ca301f8 Updated for latest coffee-manager 2012-01-30 22:20:46 +01:00
Fredrik Osterlind
4653778e8c minor bug fix to avoid need for updating filesystem twice initially 2012-01-26 16:19:01 +01:00
Fredrik Osterlind
caade67d62 new watchpoint api, and method that allows for manipulating simulation time without affecting the
mote
execution
2012-01-26 16:10:11 +01:00
Fredrik Osterlind
5bcb6ad8a5 updated to mspsims new watchpoint api 2012-01-26 16:09:31 +01:00
Fredrik Osterlind
c67954c773 activated exp5438 platform in cooja 2012-01-18 21:44:36 +01:00
Fredrik Osterlind
5cca043a84 added cooja mote type using mspsim's msp430x platforms (ti's exp5438) 2012-01-18 21:27:11 +01:00
Fredrik Osterlind
68da954163 new cooja plugin for monitoring memory areas, similar to the log listener. 2011-12-12 16:45:12 +01:00
Niclas Finne
e291eb43f4 Bug fix: only map beginning of path to source files + minor code cleanup 2011-12-06 01:58:01 +01:00
Fredrik Osterlind
76d7238c77 updated doc 2011-11-03 15:41:37 +01:00
Fredrik Osterlind
ffa4482799 improved capture effect support in mrm: capture effect is effective if the latter transmission is stronger and no later than half the preamble 2011-11-03 11:23:51 +01:00
Fredrik Osterlind
eb84fbeb79 * bugfixed and rewrote MRM to improve configurability
* improved MRM GUI, including MRM visualizer skin that shows prr and rss
* added experimental support for directional antennas
2011-11-01 11:37:19 +01:00
Fredrik Osterlind
7c20758662 example code for manually configuring sky motes MAC addresses 2011-11-01 09:38:46 +01:00
Niclas Finne
4bac5ac7b9 updated to latest version of MSPSim with improved support for Dwarf 2011-06-09 01:29:59 +02:00
Fredrik Osterlind
8fb744edb1 added clean button to compile dialog, added compilation tip tab for msp motes 2011-04-20 14:44:52 +02:00
Niclas Finne
6457f765b3 Do not include ant runtime in classpath (avoids compilation warning with Ant 1.8+) 2011-03-21 21:39:45 +01:00