beremiz

Parents 20141c30a160
Children 61e6f03328de
LPCobject writes PLC info string to stdout, for LPC composer to update
--- a/connectors/LPC/LPCObject.py Wed Dec 16 13:37:50 2009 +0100
+++ b/connectors/LPC/LPCObject.py Wed Dec 16 14:51:28 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