add tracing functions (#784)

* add trace buffer for PCSC smartcard readers
* new option 'p' in 'hf list' to select PCSC trace buffer
* 'sc list' now supports PCSC smartcard readers
* add 'hf list 14-4' for ISO 14443-4 protocol
This commit is contained in:
pwpiwi 2019-02-16 17:51:04 +01:00 committed by GitHub
commit 53fb848a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 377 additions and 174 deletions

View file

@ -929,7 +929,11 @@ static int CmdSmartSetClock(const char *Cmd){
static int CmdSmartList(const char *Cmd) {
CmdHFList("7816");
if (UseAlternativeSmartcardReader) {
CmdHFList("7816 p");
} else {
CmdHFList("7816");
}
return 0;
}