beremiz

Changes merged

2009-12-16, laurent
ba136820dd7d
Changes merged
--- a/connectors/LPC/LPCObject.py Wed Dec 16 15:08:38 2009 +0100
+++ b/connectors/LPC/LPCObject.py Wed Dec 16 15:09:12 2009 +0100
@@ -113,12 +113,9 @@
def MatchMD5(self, MD5):
data = self.HandleSerialTransaction(GET_PLCIDTransaction())
+ print "PLCINFO",data[32:]
return data[:32] == MD5
- def GetPLCInfo(self, MD5):
- data = self.HandleSerialTransaction(GET_PLCIDTransaction())
- return data[32:]
-
class IEC_STRING(ctypes.Structure):
"""
Must be changed according to changes in iec_types.h