]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/snooper.c
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
9 //-----------------------------------------------------------------------------
15 #define HANDLE_ERROR if (error_occured) { \
23 SetLogFilename("snooper.log");
28 while (!OpenProxmark(0)) { sleep(1); }
31 CommandReceived("hf 14a snoop");
33 ReceiveCommand(&cmdbuf
);
35 for (int i
= 0; i
< 5; ++i
) {
36 ReceiveCommandPoll(&cmdbuf
);
39 CommandReceived("hf 14a list");