#51 WIP network interface controller

This commit is contained in:
Mikayla
2023-06-21 23:04:39 +00:00
parent 282c7db3eb
commit 1cdf66a8c3
9 changed files with 270 additions and 220 deletions

View File

@@ -205,7 +205,7 @@ function comms.scada_packet()
self.protocol = self.raw[4]
self.mac = self.raw[5]
-- element 5 must be a table
-- element 6 must be a table
if type(self.raw[6]) == "table" then
self.length = #self.raw[6]
self.payload = self.raw[6]