DNP3 is a set of communications protocols used between components in process automation systems. Its main use is in utilities such as electric and water companies. Usage in other industries is not common. It was developed for communications between various types of data acquisition and control equipment.
Questions tagged [dnp3]
13 questions
6
votes
3 answers
How can I use a library that is not on crates.io?
I want to use this library: https://github.com/stepfunc/dnp3, but it is not on crates.io, it only has a repository and I can't implement it. I tried to add it to my Cargo.toml like [dependencies] dnp3 = "0.9.1" but it says that it does not exist,…

Ivan Raul Sanchez Diaz
- 332
- 2
- 12
4
votes
2 answers
Convert 48-bits (6 octets) from DNP3 time to timestamp in python
I'm trying to convert 48-bits (8 octets) to a timestamp using python for a little security project. I'm working with some network packets from the DNP3 protocol and I'm trying to decode timestamp values foreach DNP3 class object.
According to the…

nicRodz
- 83
- 1
- 2
- 8
2
votes
2 answers
why (ModuleNotFoundError: No module named 'scapy') shows up?
I wrote a program using python3 which read and responses data via DNP3 protocol,
It is intended to be run on a rpi3
I wrote the code on my laptop then took it to the rpi, installed all the dependencies but I get an error which I don't know what to…

Arian Sakhaei
- 151
- 1
- 4
- 15
1
vote
1 answer
How do you upgrade a library on a buildroot system?
I am very new to embedded Linux and am working with buildroot. We have a DNP3 library that is very old and would like to upgrade from 2.3 to 3.1. I do not know where to even start.
Can someone point me to a tutorial or instructions on how to upgrade…

David Clark
- 11
- 3
0
votes
0 answers
When dnp3 transmits a large amount of data, an example of a message divided into multiple frames and multiple segments
For example, it is divided into 15 frames and 2 segments. How does the seq of the transport layer and the seq of the application layer change?
I checked the manual, but couldn't find the corresponding description

tao luo
- 1
0
votes
0 answers
How to Build Open DNP3 Library?
I need to Build the Open DNP3 Lib
but the problem coz there is a lot of .cpp and .h files in the library and I don't know how the add the lib to a Console C++ Project and build it
Iam a beginner in C++ and any thing will help me ; so fell free to…

Mohannad Malkawi
- 31
- 4
0
votes
1 answer
performance issues with WPF
I am working with a dnp3 nuget package and I want to implement it in a WPF, and I achieve it by referring to this example https://github.com/stepfunc/dnp3/blob/master/ffi/bindings/dotnet/examples/master/Program.cs
I managed to implement it by an…

Ivan Raul Sanchez Diaz
- 332
- 2
- 12
0
votes
0 answers
opendnp3 (master-gprs-tls-demo) and (outstation-tls-demo)
When running master-gprs-tls-demo (on master Raspberrypi) or running outstation-tls-demo (on outstation Raspberrypi), i receive these messages:
On Outstation terminal:
usage: master-gprs-tls-demo
On Master-gprs terminal:
usage:…

Soliman
- 1
- 1
0
votes
1 answer
Writing JNI for an existing C Library
Below is my scenario
I have to develop a java code that needs to communicate with C Library ( DNP3 Library ) , i assume below are the steps
Understand the C code
Write a JNI wrapper for C code
Wite a Java program to call the JNI which in turn calls…

Rakesh J R
- 31
- 5
0
votes
1 answer
How to add opendnp3 as a static C++ library
I am currently trying to set up the opendnp3 C++ library as a static library. I've built the solution following their build guide for Windows and have been able to generate several .lib files which I assume to be the static libraries.
In a…

cing
- 11
- 1
0
votes
1 answer
Why there are 65520 dnp3 source addresses instead of 65536?
DNP3 link-layer source and destination addresses are 16 bits each. It means it can have 2^16 = 65536 total different addresses. Based on official DNP3 docs, there are 65536 destination addresses, which I understand. But there are only 65520 source…

Uddhav P. Gautam
- 7,362
- 3
- 47
- 64
-1
votes
1 answer
Code sample for an OpenDNP3 library problem: master always polling the outstation
I run the code sample that is included on GitHub for GitHub OpenDNP3 with the most recent NuGet package of this library and the sample seems to do not work as expected.
I start the outstation. Then I start the master. The result of the master is…

Eric Ouellet
- 10,996
- 11
- 84
- 119
-1
votes
1 answer
DNP3 protocol - How is the data stored?
I am new to DNP3 protocol and I have a question.
I understand that the data is stored in arrays
But, I did not understand if the array could be noncontinuous?
In addition, Is there any beginners source information for DNP3 protocol? (I have tried…

Maayan
- 13
- 3