#642 updated reactor PLC connection test

This commit is contained in:
Mikayla Fischler
2025-11-08 17:20:24 -05:00
parent 504dce64c2
commit 569358a4e1
5 changed files with 19 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ local max_distance = nil
local comms = {}
-- protocol/data versions (protocol/data independent changes tracked by util.lua version)
comms.version = "3.0.9"
comms.version = "3.1.0"
comms.api_version = "0.0.10"
---@enum PROTOCOL
@@ -147,6 +147,9 @@ comms.FAC_COMMAND = FAC_COMMAND
-- destination broadcast address (to all devices)
comms.BROADCAST = -1
-- firmware version used to indicate an establish packet is a connection test
comms.CONN_TEST_FWV = "CONN_TEST"
---@alias packet scada_packet|modbus_packet|rplc_packet|mgmt_packet|crdn_packet
---@alias frame modbus_frame|rplc_frame|mgmt_frame|crdn_frame

View File

@@ -568,7 +568,7 @@ types.ALARM_STATE_NAMES = {
---| "websocket_failure"
---| "websocket_message"
---| "websocket_success"
---| "clock_start" (custom)
---| "conn_test_complete" (custom)
---@alias fluid
---| "mekanism:empty_gas"

View File

@@ -24,7 +24,7 @@ local t_pack = table.pack
local util = {}
-- scada-common version
util.version = "1.5.6"
util.version = "1.6.0"
util.TICK_TIME_S = 0.05
util.TICK_TIME_MS = 50