You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In startConnection() this version does something different when it comes to the maxTPDUSizeParam handling.
int variableLength = 0; if (maxTPDUSizeParam < 16 && maxTPDUSizeParam >= 7) { variableLength += 3; }
The version in your repository simply is doing:
int variableLength = 3;
Now I wanted to switch to your version, but this difference seems to not make our S7 controller happy and I get an EOFException later on when reading the first byte in startConnection().
Seems the remote S7 simply drops the connection.
Is there something we can change in the config of our S7 or is this just missing from the version in your repository? If so, I can prepare a patch then.
The text was updated successfully, but these errors were encountered:
I use a version of the TConnection which is similar to the one you can find here
https://www.javatips.net/api/openiec61850-master/src/mms/jositransport/src/main/java/org/openmuc/jositransport/TConnection.java
In startConnection() this version does something different when it comes to the maxTPDUSizeParam handling.
int variableLength = 0; if (maxTPDUSizeParam < 16 && maxTPDUSizeParam >= 7) { variableLength += 3; }
The version in your repository simply is doing:
int variableLength = 3;
Now I wanted to switch to your version, but this difference seems to not make our S7 controller happy and I get an EOFException later on when reading the first byte in startConnection().
Seems the remote S7 simply drops the connection.
Is there something we can change in the config of our S7 or is this just missing from the version in your repository? If so, I can prepare a patch then.
The text was updated successfully, but these errors were encountered: