mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
all LF sim: client waits till button pressed
This commit is contained in:
parent
ddd62e2848
commit
2c10482279
19 changed files with 104 additions and 24 deletions
|
@ -343,7 +343,11 @@ static int CmdAWIDSim(const char *Cmd) {
|
|||
// 96 --- Bitstream length: 96-bits == 12 bytes
|
||||
clearCommandBuffer();
|
||||
SendCommandOLD(CMD_FSK_SIM_TAG, (high << 8) + low, (invert << 8) + clk, sizeof(bits), bits, sizeof(bits));
|
||||
return 0;
|
||||
PacketResponseNG resp;
|
||||
WaitForResponse(CMD_FSK_SIM_TAG, &resp);
|
||||
if (resp.status!=PM3_EOPABORTED)
|
||||
return resp.status;
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
static int CmdAWIDClone(const char *Cmd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue