#58 fixed bug with KEEP_ALIVE being sent as a LINK_REQ due to wrong protocol

This commit is contained in:
Mikayla Fischler 2022-05-26 17:49:43 -04:00
parent 7d7eecaa5e
commit 78ddd4d782
2 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ plc.comms = function (id, version, modem, local_port, server_port, reactor, rps,
-- keep alive ack
---@param srv_time integer
local _send_keep_alive_ack = function (srv_time)
_send(SCADA_MGMT_TYPES.KEEP_ALIVE, { srv_time, util.time() })
_send_mgmt(SCADA_MGMT_TYPES.KEEP_ALIVE, { srv_time, util.time() })
end
-- general ack

View File

@ -13,7 +13,7 @@ local config = require("reactor-plc.config")
local plc = require("reactor-plc.plc")
local threads = require("reactor-plc.threads")
local R_PLC_VERSION = "alpha-v0.7.1"
local R_PLC_VERSION = "alpha-v0.7.2"
local print = util.print
local println = util.println