#543 reset remote sequence numbers when linking

This commit is contained in:
Mikayla Fischler
2024-08-28 21:01:04 -04:00
parent 705494bb7e
commit 035a26cc07
8 changed files with 9 additions and 4 deletions

View File

@@ -735,6 +735,7 @@ function plc.comms(version, nic, reactor, rps, conn_watchdog)
-- attempt to establish link with supervisor
function public.send_link_req()
self.r_seq_num = nil
_send_mgmt(MGMT_TYPE.ESTABLISH, { comms.version, version, DEVICE_TYPE.PLC, config.UnitID })
end

View File

@@ -18,7 +18,7 @@ local plc = require("reactor-plc.plc")
local renderer = require("reactor-plc.renderer")
local threads = require("reactor-plc.threads")
local R_PLC_VERSION = "v1.8.6"
local R_PLC_VERSION = "v1.8.7"
local println = util.println
local println_ts = util.println_ts