I think I've got the CAN mode running at 125kHz. Not yet sure.
[goodfet] / client / goodfet.mcpcan
index 9de2cc7..44b921e 100755 (executable)
@@ -46,10 +46,12 @@ if(sys.argv[1]=="info"):
     for foo in [packet0, packet1]:
         print client.packet2str(foo);
 if(sys.argv[1]=="sniff"):
+    client.MCPreqstatListenOnly();
     while 1:
         packet=client.rxpacket();
         if packet!=None:
             print client.packet2str(packet);
+
 if(sys.argv[1]=="test"):
     print "MCP2515 Self Test:";