cc-mek-scada/pocket/config.lua

28 lines
831 B
Lua
Raw Permalink Normal View History

local config = {}
2023-06-07 16:25:50 +00:00
-- supervisor comms channel
2023-06-05 05:13:22 +00:00
config.SVR_CHANNEL = 16240
2023-06-07 16:25:50 +00:00
-- coordinator comms channel
2023-06-05 05:13:22 +00:00
config.CRD_CHANNEL = 16243
2023-06-07 16:25:50 +00:00
-- pocket comms channel
2023-06-05 05:13:22 +00:00
config.PKT_CHANNEL = 16244
-- max trusted modem message distance (0 to disable check)
config.TRUSTED_RANGE = 0
-- time in seconds (>= 2) before assuming a remote device is no longer active
config.COMMS_TIMEOUT = 5
2023-06-25 18:00:18 +00:00
-- facility authentication key (do NOT use one of your passwords)
-- this enables verifying that messages are authentic
-- all devices on the same network must use the same key
-- config.AUTH_KEY = "SCADAfacility123"
-- log path
config.LOG_PATH = "/log.txt"
-- log mode
-- 0 = APPEND (adds to existing file on start)
-- 1 = NEW (replaces existing file on start)
config.LOG_MODE = 0
2023-05-10 20:57:23 +00:00
-- true to log verbose debug messages
config.LOG_DEBUG = false
return config