mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
cleanup
This commit is contained in:
parent
2de30ef064
commit
f2937b47e9
@ -90,7 +90,7 @@ end
|
|||||||
-- establish a new API session
|
-- establish a new API session
|
||||||
---@nodiscard
|
---@nodiscard
|
||||||
---@param source_addr integer pocket computer ID
|
---@param source_addr integer pocket computer ID
|
||||||
---@param i_seq_num integer initial sequence number to use next
|
---@param i_seq_num integer initial (most recent) sequence number
|
||||||
---@param version string pocket version
|
---@param version string pocket version
|
||||||
---@return integer session_id
|
---@return integer session_id
|
||||||
function apisessions.establish_session(source_addr, i_seq_num, version)
|
function apisessions.establish_session(source_addr, i_seq_num, version)
|
||||||
|
@ -715,8 +715,8 @@ function plc.comms(version, nic, reactor, rps, conn_watchdog)
|
|||||||
function public.unlink()
|
function public.unlink()
|
||||||
self.sv_addr = comms.BROADCAST
|
self.sv_addr = comms.BROADCAST
|
||||||
self.linked = false
|
self.linked = false
|
||||||
self.status_cache = nil
|
|
||||||
self.r_seq_num = nil
|
self.r_seq_num = nil
|
||||||
|
self.status_cache = nil
|
||||||
databus.tx_link_state(types.PANEL_LINK_STATE.DISCONNECTED)
|
databus.tx_link_state(types.PANEL_LINK_STATE.DISCONNECTED)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ function comms.authd_packet()
|
|||||||
src_addr = comms.BROADCAST,
|
src_addr = comms.BROADCAST,
|
||||||
dest_addr = comms.BROADCAST,
|
dest_addr = comms.BROADCAST,
|
||||||
mac = "",
|
mac = "",
|
||||||
payload = nil
|
payload = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
---@class authd_packet
|
---@class authd_packet
|
||||||
|
Loading…
Reference in New Issue
Block a user