Skip to content

Saintat1/dnp3

 
 

Repository files navigation

Overview

Opendnp3 is a portable, scalable, and rigorously tested implementation of the DNP3 (www.dnp.org) protocol stack written in C++11. The library is designed for high-performance applications like many concurrent TCP sessions or huge device simulations. It also embeds very nicely on Linux.

Documentation

The documentation can be found on the project homepage.

If you want to help contribute to the official guide its in this repo.

License

Licensed under the terms of the Apache 2.0 License.

Copyright (c) 2010, 2011 Green Energy Corp

Copyright (c) 2013 - 2015 Automatak LLC

Copyright (c) 2010 - 2015 various contributors

Installation (For Windows)

  • Install cmake: cmake.
  • Install Visual Studio 2013 or above. (Or other compiler like g++, but need to be supported by ASIO)
  • Install git if you don't have.
  • Open git and use the below command to copy opendnp3 documents.
git clone --recursive https://github.com/automatak/dnp3.git
  • Use below command to install dnp3, you can use to define your dnp3 version.
cmake ../dnp3 <options> 
Option Name Comments
DEMO build the example programs
TEST build the unit test suites
DNP3_TLS build support for TLS channels (requires openssl)
DNP3_DECODER build the dnp3decoder module
FULL build ALL optional components
  • There should be several files in your root now, open the .sln file with Visual Studio.
  • Set master-demo as startup project (just an example), build it and a .exe file will be prodeced under ../Debug
  • Now you have successfully installed opendnp3

Guidance

dnp3 quick reference

About

DNP3 (IEEE-1815) protocol. C++11 with bindings for .NET

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 86.1%
  • C# 9.1%
  • Scala 4.3%
  • CMake 0.3%
  • C 0.2%
  • Batchfile 0.0%