author | Edouard TISSERANT <edouard.tisserant@gmail.com> |
Wed, 16 Dec 2009 14:53:36 +0100 | |
changeset 528 | 61e6f03328de |
parent 525 | e43bc748d1fe (diff) |
parent 527 | 2a3ab252b4e0 (current diff) |
child 531 | ba136820dd7d |
--- a/connectors/LPC/LPCObject.py Wed Dec 16 14:13:55 2009 +0100 +++ b/connectors/LPC/LPCObject.py Wed Dec 16 14:53:36 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