#580 supervisor wired comms networking logic

This commit is contained in:
Mikayla
2025-06-28 17:17:31 +00:00
parent 4a7fc6200e
commit 391b68d357
9 changed files with 177 additions and 143 deletions

View File

@@ -249,6 +249,8 @@ function comms.scada_packet()
---@nodiscard
function public.raw_sendable() return self.raw end
---@nodiscard
function public.interface() return self.modem_msg_in.iface end
---@nodiscard
function public.local_channel() return self.modem_msg_in.s_channel end
---@nodiscard

View File

@@ -212,6 +212,13 @@ end
--#region ENUMERATION TYPES
---@enum LISTEN_MODE
types.LISTEN_MODE = {
WIRELESS = 0,
WIRED = 1,
ALL = 2
}
---@enum TEMP_SCALE
types.TEMP_SCALE = {
KELVIN = 1,

View File

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