#157 fixed bug with RTU remount messages
This commit is contained in:
@@ -129,6 +129,8 @@ function sps.new(session_id, unit_id, advert, out_queue)
|
||||
-- load in data if correct length
|
||||
if m_pkt.length == 1 then
|
||||
self.db.formed = m_pkt.data[1]
|
||||
|
||||
if not self.db.formed then self.has_build = false end
|
||||
else
|
||||
log.debug(log_tag .. "MODBUS transaction reply length mismatch (" .. TXN_TAGS[txn_type] .. ")")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user