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.
In your ./openwsn-fw/ folder:
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:
python openVisualizerGui.py --sim True -n <NumEmulatedMotes> |
run a session of OpenVisualizer in Simulator mode with a network of <NumEmulatedMotes> simulated motes.