mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
Add support for standard USB Smartcard Readers (#765)
* add PCSC interface (pcsc.c and pcsc.h) * new command 'sc select' to choose an USB Smartcard Reader * updated CI/.travis.yml accordingly * remove TCK CRC check in i2c.c It is done in PrintATR() anyway * Fix TCK CRC check in PrintATR() * Add PCSC reader support to 'sc info'
This commit is contained in:
parent
1511ea28a8
commit
a9104f7e31
14 changed files with 382 additions and 93 deletions
|
@ -28,6 +28,8 @@
|
|||
#include "cmdhw.h"
|
||||
#include "whereami.h"
|
||||
#include "comms.h"
|
||||
#include "pcsc.h"
|
||||
|
||||
|
||||
void
|
||||
#ifdef __has_attribute
|
||||
|
@ -48,6 +50,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
|
|||
SetOffline(true);
|
||||
}
|
||||
|
||||
|
||||
// file with script
|
||||
FILE *script_file = NULL;
|
||||
char script_cmd_buf[256] = {0}; // iceman, needs lua script the same file_path_buffer as the rest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue