Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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 extention library, and an emulated transmission medium provided by EventBus module.

How To Use it

In your openwsn-fw/ folder, enter the following command to build the OpenWSN mote's firmware as a Python extension library:

scons board=python toolchain=gcc oos_openwsn

In order to easily run a 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>

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

  • No labels