equal
deleted
inserted
replaced
94 def __init__(self): |
94 def __init__(self): |
95 LPCAppTransaction.__init__(self, 0x07) |
95 LPCAppTransaction.__init__(self, 0x07) |
96 ExchangeData = LPCAppTransaction.GetData |
96 ExchangeData = LPCAppTransaction.GetData |
97 |
97 |
98 if __name__ == "__main__": |
98 if __name__ == "__main__": |
|
99 __builtins__.BMZ_DBG = True |
99 TestConnection = LPCAppProto(6,115200,2) |
100 TestConnection = LPCAppProto(6,115200,2) |
100 # TestConnection.HandleTransaction(GET_PLCIDTransaction()) |
101 # TestConnection.HandleTransaction(GET_PLCIDTransaction()) |
101 TestConnection.HandleTransaction(STARTTransaction()) |
102 TestConnection.HandleTransaction(STARTTransaction()) |
102 # TestConnection.HandleTransaction(SET_TRACE_VARIABLETransaction( |
103 # TestConnection.HandleTransaction(SET_TRACE_VARIABLETransaction( |
103 # "\x03\x00\x00\x00"*200)) |
104 # "\x03\x00\x00\x00"*200)) |