mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
CHG: 'lf snoop' - now automatically downloads samples after finished. (annoying step to do over and over)
FIX: 'lf snoop' - now turns of LF antenna after snoop. FIX: 'lf cotag read' - now waits until the ACK cmd arrives before downloading samples.
This commit is contained in:
parent
71aa1ff824
commit
b828a4e168
4 changed files with 43 additions and 26 deletions
|
@ -18,9 +18,13 @@ int CmdCOTAGRead(const char *Cmd) {
|
|||
UsbCommand c = {CMD_COTAG, {0, 0, 0}};
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
|
||||
getSamples("20000", TRUE);
|
||||
return CmdFSKdemodAWID(Cmd);
|
||||
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 2500) ) {
|
||||
//PrintAndLog("command execution time out");
|
||||
return 1;
|
||||
}
|
||||
getSamples("", true);
|
||||
//return CmdFSKdemodAWID(Cmd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static command_t CommandTable[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue