mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
CHG: temporary disable hitag2_uid detection. Loop times out sometimes.
This commit is contained in:
parent
b828a4e168
commit
bdf387c7ef
3 changed files with 22 additions and 21 deletions
|
@ -1011,7 +1011,7 @@ int CmdLFfind(const char *Cmd) {
|
||||||
|
|
||||||
if (!offline && (cmdp != '1')){
|
if (!offline && (cmdp != '1')){
|
||||||
CmdLFRead("s");
|
CmdLFRead("s");
|
||||||
getSamples("30000", TRUE);
|
getSamples("30000", false);
|
||||||
} else if (GraphTraceLen < 1000) {
|
} else if (GraphTraceLen < 1000) {
|
||||||
PrintAndLog("Data in Graphbuffer was too small.");
|
PrintAndLog("Data in Graphbuffer was too small.");
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -1119,12 +1119,14 @@ int CmdLFfind(const char *Cmd) {
|
||||||
}
|
}
|
||||||
// TIdemod?
|
// TIdemod?
|
||||||
|
|
||||||
|
/*
|
||||||
if (!offline && (cmdp != '1')){
|
if (!offline && (cmdp != '1')){
|
||||||
ans=CmdLFHitagReader("26");
|
ans=CmdLFHitagReader("26");
|
||||||
if (ans==0) {
|
if (ans==0) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
PrintAndLog("\nNo Known Tags Found!\n");
|
PrintAndLog("\nNo Known Tags Found!\n");
|
||||||
if (testRaw=='u' || testRaw=='U'){
|
if (testRaw=='u' || testRaw=='U'){
|
||||||
|
|
|
@ -19,11 +19,10 @@ int CmdCOTAGRead(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 2500) ) {
|
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 2500) ) {
|
||||||
//PrintAndLog("command execution time out");
|
PrintAndLog("command execution time out");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
getSamples("", true);
|
getSamples("20000", true);
|
||||||
//return CmdFSKdemodAWID(Cmd);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,7 @@ int CmdLFHitagSim(const char *Cmd) {
|
||||||
|
|
||||||
int CmdLFHitagReader(const char *Cmd) {
|
int CmdLFHitagReader(const char *Cmd) {
|
||||||
|
|
||||||
UsbCommand c = {CMD_READER_HITAG};//, {param_get32ex(Cmd,0,0,10),param_get32ex(Cmd,1,0,16),param_get32ex(Cmd,2,0,16),param_get32ex(Cmd,3,0,16)}};
|
UsbCommand c = {CMD_READER_HITAG, {0,0,0} };//, {param_get32ex(Cmd,0,0,10),param_get32ex(Cmd,1,0,16),param_get32ex(Cmd,2,0,16),param_get32ex(Cmd,3,0,16)}};
|
||||||
hitag_data* htd = (hitag_data*)c.d.asBytes;
|
hitag_data* htd = (hitag_data*)c.d.asBytes;
|
||||||
hitag_function htf = param_get32ex(Cmd, 0, 0, 10);
|
hitag_function htf = param_get32ex(Cmd, 0, 0, 10);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue