#include "cmdhf14b.h"
#include "cmdhf15.h"
#include "cmdhfepa.h"
-#include "cmdhflegic.h"
-#include "cmdhficlass.h"
-#include "cmdhfmf.h"
-#include "cmdhfmfu.h"
-#include "cmdhfmfdes.h"
-#include "cmdhftopaz.h"
+#include "cmdhflegic.h" // LEGIC
+#include "cmdhficlass.h" // ICLASS
+#include "cmdhfmf.h" // CLASSIC
+#include "cmdhfmfu.h" // ULTRALIGHT/NTAG etc
+#include "cmdhfmfdes.h" // DESFIRE
+#include "cmdhftopaz.h" // TOPAZ
+#include "cmdhfemv.h" // EMV
#include "protocols.h"
static int CmdHelp(const char *Cmd);
{"14b", CmdHF14B, 1, "{ ISO14443B RFIDs... }"},
{"15", CmdHF15, 1, "{ ISO15693 RFIDs... }"},
{"epa", CmdHFEPA, 1, "{ German Identification Card... }"},
+ {"emv", CmdHFEmv, 1, "{ EMV RFIDs... }"},
{"legic", CmdHFLegic, 1, "{ LEGIC RFIDs... }"},
{"iclass", CmdHFiClass, 1, "{ ICLASS RFIDs... }"},
{"mf", CmdHFMF, 1, "{ MIFARE RFIDs... }"},
//-----------------------------------------------------------------------------
// 2011, Merlok
+// 2014, Peter Fillmore
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>, Hagen Fritsch
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
return 0;
}
-static void waitCmd(uint8_t iSelect) {
+static void waitCmd(uint8_t iSelect)
+{
UsbCommand resp;
uint16_t len = 0;
int CmdHF14AReader(const char *Cmd);
int CmdHF14ASim(const char *Cmd);
int CmdHF14ASniff(const char *Cmd);
+int CmdHF14AEMVTransaction(const char *Cmd);
char* getTagInfo(uint8_t uid);