changes to the generation fuzzer
authorchrishoder <chrishoder@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 15 Feb 2013 04:25:37 +0000 (04:25 +0000)
committerchrishoder <chrishoder@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 15 Feb 2013 04:25:37 +0000 (04:25 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1498 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFETMCPCANCommunication.py

index 09519d2..a1a2e08 100644 (file)
@@ -569,8 +569,10 @@ class GoodFETMCPCANCommunication:
             SIDhigh = (sID >> 3) & 0xFF; # get SID bits 10:3, rotate them to bits 7:0
             packet = [SIDhigh,SIDlow,0x00,0x00,0x08]
             #dlc = row[2]
-            for i in range(4,dlc+4):
+            dlc = 8
+            for i in range(3,dlc+3):
                 packet.append(row[i])
+            print packet
             self.client.txpacket(packet)