int CmdHFEPA(const char *Cmd)
{
// flush
- while (!WaitForResponseTimeout(CMD_ACK,NULL,500));
+ WaitForResponseTimeout(CMD_ACK,NULL,100);
// parse
CmdsParse(CommandTable, Cmd);
int CmdHFMF(const char *Cmd)\r
{\r
// flush\r
- while (!WaitForResponseTimeout(CMD_ACK,NULL,500));\r
+ WaitForResponseTimeout(CMD_ACK,NULL,100);\r
\r
CmdsParse(CommandTable, Cmd);\r
return 0;\r
memset(resultKeys, 0x00, 16 * 6);\r
\r
// flush queue\r
- while (!WaitForResponseTimeout(CMD_ACK,NULL,500));\r
+ WaitForResponseTimeout(CMD_ACK,NULL,100);\r
\r
UsbCommand c = {CMD_MIFARE_NESTED, {blockNo, keyType, trgBlockNo + trgKeyType * 0x100}};\r
memcpy(c.d.asBytes, key, 6);\r