supervisor PLC session bugfixes

This commit is contained in:
Mikayla Fischler
2022-05-02 17:43:23 -04:00
parent 574b85e177
commit 62b4b63f4a
4 changed files with 44 additions and 32 deletions

View File

@@ -93,7 +93,7 @@ function superv_comms(num_reactors, modem, dev_listen, coord_listen)
elseif s_pkt.protocol() == PROTOCOLS.SCADA_MGMT then
local mgmt_pkt = comms.mgmt_packet()
if mgmt_pkt.decode(s_pkt) then
pkt = mgmt_packet.get()
pkt = mgmt_pkt.get()
end
-- get as coordinator packet
elseif s_pkt.protocol() == PROTOCOLS.COORD_DATA then