se.sics.cooja.plugins.Visualizer = \ Visualizer \

The visualizer shows the positions of simulated motes as viewed from above (XY-plane). \ It is possible to zoom (CRTL+Mouse drag) and pan (Shift+Mouse drag) the current view. Motes can be moved by dragging them (ALT+Mouse drag). \ Mouse right-click a mote or unoccupied space for a popup menu with more options. \

The visualizer supports "visualizer skins". \ Each skin provides some specific information, such as ongoing simulated radio traffic, or the IP addresses of motes. \ Multiple skins can be active at the same time. \ Click the upper "Select visualizer skin" button to select or deselect skins. \

Useful skins \
Mote IDs: prints the unique mote IDs inside motes. \
Log output: prints the last printf message above motes. \
Radio traffic: displays inter-mote radio communication. \
Radio environment (UDGM): enables configurating the UDGM radio medium. \

Tip
\ Right-click visualizer to show the popup menu, and click "Hide window decorations". se.sics.cooja.plugins.LogListener = \ Log Listener\

Listens to log output from all simulated motes. \ Right-click the main area for a popup menu with more options. \

You may filter shown logs by entering regular expressions in the bottom text field. \ Filtering is performed on both the Mote and the Data columns.\

Filter examples: \

Hello
logs containing the string 'Hello'\

^Contiki
logs starting with 'Contiki'\

^[CR]
logs starting either a C or an R\

Hello$
logs ending with 'Hello'\

^ID:[2-5]$
logs from motes 2 to 5\

^ID:[2-5] Contiki
logs from motes 2 to 5 starting with 'Contiki' se.sics.cooja.plugins.TimeLine = \ Timeline\

The timeline arranges historical simulation events into a graphical timeline. \ The timeline can for example be used to overview the behavior of complex power-saving MAC protocols.\

Events appear as colored rectangles in the timeline. For more information about a particular event, hover the mouse above it.\

The checkboxes in the left pane control what event types are shown in the timeline. \ Currently, four event types are supported (see below). Note that the control pane can be hidden to save space. \

All simulated motes are by default added to the timeline, however, any unwanted motes can be removed by mouse clicking the node ID (left).\

To display a vertical time marker on the timeline, press and hold the mouse on the time ruler (top).\

For more options, such as zooming and saving raw data to file, right-click the mouse for a popup menu.\

Radio RX/TX\
Shows radio connection events. Transmissions are painted blue, receptions are green, and interfered radios are red.\

Radio ON/OFF\
Shows whether the mote radio is on or off. Turned on radios are indicated with gray color.\

LEDs\
Shows LED state: red, green, and blue. (Assumes all mote types have exactly three LEDs.)\

Watchpoints\
Shows triggered watchpoints, currently only supported by MSPSim-based motes. To add watchpoints, use the Msp Code Watcher plugin. se.sics.cooja.plugins.SimControl = \ Control Panel\

Use the control panel to start and stop the current simulation. \

Note that toggling simulation execution is also possible by the keyboard shortcut Ctrl+S. \

Step millisecond executes all events within the next simulated millisecond. \

The execution speed can be controlled via the bottom slider. \ If the slider value is non-zero, sleep events are scheduled in the simulation loop. \

By setting the slider to Real time, the execution speed is limited to at maximum real time. \ The Real time slider value is to the right of No simulation delay: select the slider button and use to keyboard to navigate here. \

Run until can be used to configure a time (in milliseconds) where the simulation will automatically pause. se.sics.cooja.mspmote.plugins.MspCLI = \ MSPSim's Command Line Interface\

help
lists available commands\

info CC2420
shows radio chip details\

log CC2420 > mylog.txt
logs radio chip details to file\

stacktrace
shows current stacktrace KEYBOARD_SHORTCUTS = \ Keyboard shortcuts
\
Ctrl+N: New simulation\
Ctrl+S: Start/pause simulation\
Ctrl+R: Reload current simulation. If no simulation exists, the last used simulation config is loaded\
Ctrl+Shift+R: Reload current simulation with another random seed\
Ctrl+X: Quit COOJA\
\
F1: Toggle quick help