// High frequency commands
//-----------------------------------------------------------------------------
+#include "cmdhf.h"
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include "proxmark3.h"
+#include "comms.h"
#include "util.h"
#include "ui.h"
#include "iso14443crc.h"
#include "parity.h"
#include "cmdmain.h"
#include "cmdparser.h"
-#include "cmdhf.h"
#include "cmdhf14a.h"
#include "cmdhf14b.h"
#include "cmdhf15.h"
#include "cmdhflegic.h"
#include "cmdhficlass.h"
#include "cmdhfmf.h"
+#include "cmdhfmfp.h"
#include "cmdhfmfu.h"
#include "cmdhftopaz.h"
#include "protocols.h"
#include "emv/cmdemv.h"
#include "cmdhflist.h"
+#include "cmdhffido.h"
static int CmdHelp(const char *Cmd);
int CmdHFList(const char *Cmd)
{
+ #ifdef WITH_SMARTCARD
+ PrintAndLog("TEST_WITH_SMARTCARD");
+ #endif
+ #ifdef WITH_TEST
+ PrintAndLog("TEST_WITH_TEST");
+ #endif
bool showWaitCycles = false;
bool markCRCBytes = false;
bool loadFromFile = false;
char param2 = '\0';
char param3 = '\0';
char type[40] = {0};
- char filename[FILE_PATH_SIZE];
+ char filename[FILE_PATH_SIZE] = {0};
uint8_t protocol = 0;
// parse command line
{"iclass", CmdHFiClass, 1, "{ ICLASS RFIDs... }"},
{"mf", CmdHFMF, 1, "{ MIFARE RFIDs... }"},
{"mfu", CmdHFMFUltra, 1, "{ MIFARE Ultralight RFIDs... }"},
+ {"mfp", CmdHFMFP, 1, "{ MIFARE Plus RFIDs... }"},
{"topaz", CmdHFTopaz, 1, "{ TOPAZ (NFC Type 1) RFIDs... }"},
+ {"fido", CmdHFFido, 1, "{ FIDO and FIDO2 authenticators... }"},
{"tune", CmdHFTune, 0, "Continuously measure HF antenna tuning"},
{"list", CmdHFList, 1, "List protocol data in trace buffer"},
{"search", CmdHFSearch, 1, "Search for known HF tags [preliminary]"},