Skip to content
/ ot-ns Public
forked from openthread/ot-ns

OpenThread Network Simulator, a discrete event simulator and visualization tool for Thread networks.

License

Notifications You must be signed in to change notification settings

EskoDijk/ot-ns

 
 

Build Status Lint Status Test Status codecov

OpenThread Network Simulator 2

OpenThread Network Simulator 2 (OTNS2) simulates Thread networks using OpenThread POSIX instances and provides visualization and management of those simulated networks.

Note: this is a fork of the OpenThread OTNS project, made by IoTconsultancy.nl. It offers additional features including:

  • Support for more accurate RF simulation of OpenThread nodes. This uses the OpenThread platform ot-rfsim, which specifically supports RF simulation, for OT nodes. This C code is included.
  • Selectable radio (RF propagation) models with tunable RF parameters.
  • Tunable radio parameters on each individual OT node. For example, CSL parameters or Rx sensitivity.
  • Control of logging display from OT-node, using log and watch CLI commands. Logging to file per OT-node. The logging output can include all enabled OT-node log items.
  • Detailed logging options for RF operations (at log-level 'trace') performed in the simulated radio, at 1 us resolution.
  • Animations with duration scaled to the actual time duration of a packet in flight (at low simulation speed only).
  • Support for easily adding various node types (1.1, 1.2, 1.3, 1.3.1, Border Router)
  • New graphical displays for overall node type statistics, and energy usage (beta - contribution by Vinggui).
  • Extensive set of Python scripts for unit testing, examples, and case studies.
  • Various UI look & feel improvements.

More information about Thread can be found at threadgroup.org. Thread is a registered trademark of the Thread Group, Inc.

To learn more about OpenThread, visit openthread.io.

Get started

See GUIDE to get started.

See OTNS CLI Reference for the CLI commands.

Contributing

We would love for you to contribute to OTNS and help make it even better than it is today! See our Contributing Guidelines for more information.

Contributors are required to abide by our Code of Conduct and Coding Conventions and Style Guide.

Version

OTNS follows the Semantic Versioning guidelines for release cycle transparency and to maintain backwards compatibility.

License

OTNS is released under the BSD 3-Clause license. See the LICENSE file for more information.

About

OpenThread Network Simulator, a discrete event simulator and visualization tool for Thread networks.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.7%
  • Python 7.1%
  • C 3.6%
  • JavaScript 3.0%
  • Shell 1.4%
  • CMake 0.1%
  • Other 0.1%