1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
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 //-----------------------------------------------------------------------------
23 #include "proxmark3.h"
26 extern unsigned char return_on_error
;
27 extern unsigned char error_occurred
;
29 void SendCommandBL(uint64_t cmd
, uint64_t arg0
, uint64_t arg1
, uint64_t arg2
, void *data
, size_t len
);
30 bool ReceiveCommandPoll(PacketResponseOLD
*c
);
31 void ReceiveCommand(PacketResponseOLD
*c
);
32 struct usb_dev_handle
*FindProxmark(int verbose
, unsigned int *iface
);
33 struct usb_dev_handle
*OpenProxmark(int verbose
);
34 void CloseProxmark(void);
37 usb_dev_handle
*handle
;
38 char serial_number
[256];