]>
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 //-----------------------------------------------------------------------------
16 #define HANDLE_ERROR if (error_occured) { \
24 SetLogFilename("snooper.log");
29 while (!OpenProxmark(0)) { sleep(1); }
32 CommandReceived("hf 14a snoop");
34 ReceiveCommand(&cmdbuf
);
36 for (int i
= 0; i
< 5; ++i
) {
37 ReceiveCommandPoll(&cmdbuf
);
40 CommandReceived("hf 14a list");