#include <unistd.h>
#include <stdio.h>
#include "util.h"
-#include "proxmark3.h"
+#include "util_posix.h"
+#include "comms.h"
#include "ui.h"
#include "cmdparser.h"
#include "common.h"
uint8_t *apdus[] = {msesa_apdu, gn_apdu, map_apdu, pka_apdu, ma_apdu};
// usage message
- static const char const *usage_msg =
+ static const char *usage_msg =
"Please specify 5 APDUs separated by spaces. "
"Example:\n preplay 0022C1A4 1068000000 1086000002 1234ABCDEF 1A2B3C4D";
int CmdHFEPA(const char *Cmd)
{
- // flush
- WaitForResponseTimeout(CMD_ACK,NULL,100);
-
- // parse
- CmdsParse(CommandTable, Cmd);
- return 0;
+ (void)WaitForResponseTimeout(CMD_ACK,NULL,100);
+ CmdsParse(CommandTable, Cmd);
+ return 0;
}