]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/snooper.c
shorten em4x05 capture samples
[proxmark3-svn] / client / snooper.c
index 014497485d1efea7e44d11bcfe25709524c2500a..30d39de6628a34f1fb8fe3efb73fd28a0046810c 100644 (file)
@@ -1,3 +1,14 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Snooper binary
+//-----------------------------------------------------------------------------
+
+#include "sleep.h"
 #include "ui.h"
 #include "proxusb.h"
 #include "cmdmain.h"
 #include "ui.h"
 #include "proxusb.h"
 #include "cmdmain.h"
@@ -18,7 +29,7 @@ int main()
     while (!OpenProxmark(0)) { sleep(1); }
     while (1) {
       UsbCommand cmdbuf;
     while (!OpenProxmark(0)) { sleep(1); }
     while (1) {
       UsbCommand cmdbuf;
-      CommandReceived("hi14asnoop");
+      CommandReceived("hf 14a snoop");
       HANDLE_ERROR;
       ReceiveCommand(&cmdbuf);
       HANDLE_ERROR;
       HANDLE_ERROR;
       ReceiveCommand(&cmdbuf);
       HANDLE_ERROR;
@@ -26,7 +37,7 @@ int main()
         ReceiveCommandPoll(&cmdbuf);
       }
       HANDLE_ERROR;
         ReceiveCommandPoll(&cmdbuf);
       }
       HANDLE_ERROR;
-      CommandReceived("hi14alist");
+      CommandReceived("hf 14a list");
       HANDLE_ERROR;
     }
   }
       HANDLE_ERROR;
     }
   }
Impressum, Datenschutz