Skip to content

Releases: gythialy/j60870

v1.7.2

18 May 03:48
7151b66
Compare
Choose a tag to compare

v1.7.2 02-May-2024

  • fix sending of wrong StopDT confirmation after the connection is established again and a new S-Frame received

v1.7.1 23-Apr-2024

  • fix sending StopDT con when S-Frame is received after StopDT act frame

v1.7.0 09-Apr-2024

  • added ASDU type filter: Supported ASDU can now be configured through Server.builder().setAllowedASduTypes(). If
    configured, the stack will automatically respond to incoming ASDUs of unsupported types.
  • server:
    • added return callback method ConnectionEventListener in ServerEventListener.connectionIndication(Connection)
    • removed not necessary callback function setConnectionEventListenerBeforeStart()
    • removed calling connection.setConnectionListener()
  • client:
    • changed place of configuration of connection listener from Connection.setConnectionListener() to ClientConnectionBuilder.setConnectionEventListener()

v1.6.4

23 Mar 04:55
2416b35
Compare
Choose a tag to compare

v1.6.4 17-Jan-2024

  • added internal pending state for correct connection state behavior
  • added ReservedASduTypeDecoder to settings for possible future definitions of reserved range <= 127

v1.6.3

06 Dec 15:06
4222446
Compare
Choose a tag to compare

v1.6.3-SNAPSHOT 15-Nov-2023

  • added Connection object to ConnectionEventListener methods
  • throws IllegalArgumentException when trying to send ASdu in stopped state

v1.6.2 24-Oct-2023

  • fixed dataTransferStateChanged not triggered when data transfer goes into the stopped state
  • newAsdu method is triggered even if isStopped=true on first connection
  • added method setConnectionEventListenerBeforeStart() to ServerEventListener to make sure a listener is set before
    connection

v1.6.1 20-July-2023

  • fixed not waiting for missing S-Frame from master when sending StopDTCon
  • fixed no TESTFR after initial connection
  • fixed connection closed when receiving reserved ASDU
  • fixed sending S-Format for already confirmed messages

v1.6.0 23-June-2023

  • removed deprecated methods:
    • org.openmuc.j60870.Connection#waitForStartDT
    • org.openmuc.j60870.Connection#startDataTransfer(ConnectionEventListener listener, int timeout),
      replaced by org.openmuc.j60870.Connection#startDataTransfer(ConnectionEventListener listener)
  • fixed missing S-frame confirmation while StopDT
  • fixes missing org.openmuc.j60870.ConnectionEventListener#connectionClosed(Connection connection, IOException) event while StopDT state
  • added check for t2 < t1 and t3 > t1
  • updated junit to 4.13.2, because of CVE-2020-15250
  • CLI app:
  • fixed windows start scripts
  • fixed COUNTER_INTERROGATION_ACTION_KEY exception

v1.5.0

15 Aug 06:47
9d85575
Compare
Choose a tag to compare

v1.5.0

  • set minimum Java version to 1.8
  • removed deprecated methods:
    • org.openmuc.j60870.Connection#waitForStartDT
    • org.openmuc.j60870.Connection#startDataTransfer(ConnectionEventListener listener, int timeout),
      replaced by org.openmuc.j60870.Connection#startDataTransfer(ConnectionEventListener listener)
  • added org.openmuc.j60870.ConnectionEventListener#dataTransferStateChanged(boolean) it
    notifies if STARTDT ACT or STOPDT ACT was handled
  • added sendConfirmation with Cause of transmission parameter
  • added server connection setting for a IP whitelist
  • added getter for remote and local address
  • added sendActivationTermination for easier interrogation sequence
  • removed javax dependency
  • fixed not closing if max number of connection reached bug
    thanks to Konstantinos Ntermitzoglou from inaccess
  • CLI app:
    • added Counter Interrogation Command in console client
    • added time to logmessages

v1.4.0

26 Jun 01:47
5e6adb0
Compare
Choose a tag to compare

v1.4.0 19-Jun-2020

  • added STOPDT
    • added STOPDT state
    • added sendStopDataTransfer()
  • added parameter k (set maximum number of outstanding IPDuS)
  • added setConnectionTimeout (t0)
  • added org.openmuc.j60870.Connection#sendResponse with station address parameter
  • set methods to deprecated
    • org.openmuc.j60870.Connection#waitForStartDT, will be removed
    • org.openmuc.j60870.Connection#startDataTransfer(ConnectionEventListener listener, int timeout),
      will be replaced by org.openmuc.j60870.Connection#startDataTransfer(ConnectionEventListener listener)
  • fixed TimeoutTask not working after start bug
  • fixed continue sending while waiting for acknowledgement
  • CLI app
    • added STARTDT and STOPDT
    • added set connection timeout (t0)

v1.3.1 11-Jun-2019

  • fixed sequence number overflow bug
    thanks to Sven Liebehentze from Fraunhofer IEE

v1.3.0

24 Apr 11:09
f390f3e
Compare
Choose a tag to compare

Changelog

  • move IE objects to separate package: org.openmuc.j60870.ie
  • rename TypeId to ApduType
  • Builder: call build() instead of connect
  • reduce the number of active threads of a connection
  • adds option for setting up S0 timeout
  • fixes wrong APCI parsing
  • fixes IeBinaryCounterReading bugs
  • fixes DST bug in IeTime56 getTimestamp
  • fixes bug with duplicated timeout tasks in queue
  • fixes maxTimeNoAckSentTimer bug
  • CLI app:
    • CLI app is a separate project now
    • adds single commands
    • adds set S0 timeout
    • adds option for connection retries

v1.2.1

21 Dec 08:15
13cf4ab
Compare
Choose a tag to compare

fixed C_RC_TA_1 bug

v1.2.0

10 Jun 05:40
7e35eda
Compare
Choose a tag to compare
  • CauseOfTransmission field can now be set explicilty when sending
    SingleCommand (thanks to Dean Ouelette from RTDS).

v1.1.1

22 Nov 05:58
Compare
Choose a tag to compare
  • replaced fixed thread pool by cached thread pool so that unused
    threads are closed
  • ASDU notification correctly closed when connection is closed thanks
    to Mr. Tellenbach
  • Client no longer closes connection if data is received before
    START_DT CON message, but data is discarded instead.
  • improved normalized value and binary state information element
    classes, but did not change API behaviour

v1.1.0

22 Nov 05:57
Compare
Choose a tag to compare
  • Renamed ClientSap to ClientConnectionBuilder and ServerSap to
    Server.Builder
  • fixed time conversion to ms of IeTime24 thanks to Juergen Wieferink
    from BTC AG
  • added stopListening() to ServerSap allowing for clean close
  • refactored console client