Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

 

OpenSim is a software for the simulation of the OpenWSN's stack. It's composed by a SConscript structure that allow to build the OpenWSN stack as a python's extention library, and an emulated transmission medium provided by EventBus module.

 

How To Use it

 

In your ./openwsn-fw/ folder:

No Format
scons board=python toolchain=gcc oos_openwsn

command builds up the OpenWSN stack as python extention.

 

In order to easily run an simulated network based on the code, you can use the OpenSim integration provided by OpenVisualizer; so, in your ./openwsn-sw/ folder:

No Format
python openVisualizerGui.py --sim True -n <NumEmulatedMotes>

run a session of OpenVisualizer in Simulator mode with a network of <NumEmulatedMotes> simulated motes.