This commit is contained in:
Mikayla Fischler 2024-06-29 14:49:26 -04:00
parent 2de30ef064
commit f2937b47e9
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -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