]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/snooper.c
ccff8333d66e106afe15f7b0dcdb3eee6f4856af
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
5 //-----------------------------------------------------------------------------
7 //-----------------------------------------------------------------------------
14 #define HANDLE_ERROR if (error_occured) { \
22 SetLogFilename("snooper.log");
27 while (!OpenProxmark(0)) { sleep(1); }
30 CommandReceived("hi14asnoop");
32 ReceiveCommand(&cmdbuf
);
34 for (int i
= 0; i
< 5; ++i
) {
35 ReceiveCommandPoll(&cmdbuf
);
38 CommandReceived("hi14alist");