- WaitForResponse(CMD_ACK,&resp);
- uint8_t isOK = resp.arg[0] & 0xff;
- PrintAndLog("Answers to chinese magic backdoor commands: %s", (isOK ? "YES" : "NO") );
+ if (WaitForResponseTimeout(CMD_ACK, &resp, 1500))
+ isOK = resp.arg[0] & 0xff;
+
+ PrintAndLog("Answers to magic commands (GEN1): %s", (isOK ? "YES" : "NO") );