all LF sim: client waits till button pressed
This commit is contained in:
@@ -322,7 +322,11 @@ static int CmdFdxSim(const char *Cmd) {
|
||||
getFDXBits(animalid, countryid, 1, 0, 0, data);
|
||||
clearCommandBuffer();
|
||||
SendCommandOLD(CMD_ASK_SIM_TAG, clk << 8 | encoding, invert << 8 | separator, sizeof(data), data, sizeof(data));
|
||||
return 0;
|
||||
PacketResponseNG resp;
|
||||
WaitForResponse(CMD_ASK_SIM_TAG, &resp);
|
||||
if (resp.status!=PM3_EOPABORTED)
|
||||
return resp.status;
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
static command_t CommandTable[] = {
|
||||
|
||||
Reference in New Issue
Block a user