From ce7ce90208975c4b1200313389bafaba58d601ae Mon Sep 17 00:00:00 2001 From: Lukas Rist Date: Mon, 4 Mar 2024 23:48:04 +0100 Subject: [PATCH] fixing iec104 errors --- conpot/protocols/IEC104/frames.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conpot/protocols/IEC104/frames.py b/conpot/protocols/IEC104/frames.py index 5b82d5d2..e525f0bf 100644 --- a/conpot/protocols/IEC104/frames.py +++ b/conpot/protocols/IEC104/frames.py @@ -253,7 +253,7 @@ class IOA(Packet): class QOS(Packet): # Quality of set-point command name = "QOS" - fields_desc = [XBitField("S/E", 0, 1), XBitField("QL", 0, 7)] + fields_desc = [XBitField("seq", 0, 1), XBitField("QL", 0, 7)] # seq used to be S/E, threw an error class QDS(Packet): @@ -372,7 +372,7 @@ class SPE(Packet): XBitField("SRD", 0, 1), XBitField("SIE", 0, 1), XBitField("SL3", 0, 1), - XBitField("SL2", 0, 1), + # XBitField("SL2", 0, 1), Duplicate field, commented XBitField("SL2", 0, 1), XBitField("GS", 0, 1), ]