#47 supervisor luadoc, bugfixes

This commit is contained in:
Mikayla Fischler
2022-05-11 12:31:19 -04:00
parent 95c4d51e67
commit 0d090fe9e2
6 changed files with 176 additions and 111 deletions

View File

@@ -100,7 +100,7 @@ rtu.new_session = function (id, in_queue, out_queue)
elseif pkt.type == SCADA_MGMT_TYPES.RTU_ADVERT then
-- RTU unit advertisement
for i = 1, pkt.length do
local unit = pkt.data[i]
local unit = pkt.data[i] ---@type rtu_advertisement
end
else
log.debug(log_header .. "handler received unsupported SCADA_MGMT packet type " .. pkt.type)