changed trip time warning to 750ms

This commit is contained in:
Mikayla Fischler
2023-02-26 14:49:16 -05:00
parent 2b8f71fc43
commit 523d478739
11 changed files with 20 additions and 20 deletions

View File

@@ -429,8 +429,8 @@ function rtu.comms(version, modem, local_port, server_port, range, conn_watchdog
local timestamp = packet.data[1]
local trip_time = util.time() - timestamp
if trip_time > 500 then
log.warning("RTU KEEP_ALIVE trip time > 500ms (" .. trip_time .. "ms)")
if trip_time > 750 then
log.warning("RTU KEEP_ALIVE trip time > 750ms (" .. trip_time .. "ms)")
end
-- log.debug("RTU RTT = " .. trip_time .. "ms")

View File

@@ -25,7 +25,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 = "v0.12.2"
local RTU_VERSION = "v0.12.3"
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE