added display to the mainDisplay that shows packets streaming
[goodfet] / client / GoodFETMCPCANCommunication.py
index 9c296fe..a907372 100644 (file)
@@ -20,6 +20,7 @@ import os
 from random import randrange
 from GoodFETMCPCAN import GoodFETMCPCAN;
 from intelhex import IntelHex;
 from random import randrange
 from GoodFETMCPCAN import GoodFETMCPCAN;
 from intelhex import IntelHex;
+import Queue
 
 class GoodFETMCPCANCommunication:
     
 
 class GoodFETMCPCANCommunication:
     
@@ -155,8 +156,8 @@ class GoodFETMCPCANCommunication:
                 
             #add the data to list if the pointer was included
             if(data != None):
                 
             #add the data to list if the pointer was included
             if(data != None):
-                data.append(self.client.packet2parsedstr(packet))
-            
+                #data.append(self.client.packet2parsedstr(packet))
+                data.put(self.client.packet2parsedstr(packet))
             if(debug == True):
                 #check packet status
                 MCPstatusReg = self.client.MCPrxstatus();
             if(debug == True):
                 #check packet status
                 MCPstatusReg = self.client.MCPrxstatus();