#530 fix RTU reconnection issue

This commit is contained in:
Mikayla Fischler 2024-07-27 11:15:05 -04:00
parent 8e4bb583a8
commit 3ffc79b181
2 changed files with 4 additions and 2 deletions

View File

@ -571,7 +571,9 @@ function rtu.comms(version, nic, conn_watchdog)
end
end
public.unlink(rtu_state)
-- unlink
self.sv_addr = comms.BROADCAST
rtu_state.linked = false
end
self.last_est_ack = est_ack

View File

@ -31,7 +31,7 @@ local sna_rtu = require("rtu.dev.sna_rtu")
local sps_rtu = require("rtu.dev.sps_rtu")
local turbinev_rtu = require("rtu.dev.turbinev_rtu")
local RTU_VERSION = "v1.10.2"
local RTU_VERSION = "v1.10.3"
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
local RTU_UNIT_HW_STATE = databus.RTU_UNIT_HW_STATE