mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 10:11:58 +08:00
hf mf sim - testing to remove the field detection, its inside emcmd anyway
This commit is contained in:
parent
139d934085
commit
bc4a5cf4de
1 changed files with 4 additions and 2 deletions
|
@ -452,7 +452,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
||||||
uint8_t uid_len = 0; // 4,7, 10
|
uint8_t uid_len = 0; // 4,7, 10
|
||||||
uint32_t cuid = 0;
|
uint32_t cuid = 0;
|
||||||
|
|
||||||
int vHf = 0; // in mV
|
// int vHf = 0; // in mV
|
||||||
|
|
||||||
uint32_t selTimer = 0;
|
uint32_t selTimer = 0;
|
||||||
uint32_t authTimer = 0;
|
uint32_t authTimer = 0;
|
||||||
|
@ -535,7 +535,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
||||||
|
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
if (counter == 1000) {
|
if (counter == 3000) {
|
||||||
if (data_available()) {
|
if (data_available()) {
|
||||||
Dbprintf("----------- " _GREEN_("BREAKING") " ----------");
|
Dbprintf("----------- " _GREEN_("BREAKING") " ----------");
|
||||||
break;
|
break;
|
||||||
|
@ -545,6 +545,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// find reader field
|
// find reader field
|
||||||
if (cardSTATE == MFEMUL_NOFIELD) {
|
if (cardSTATE == MFEMUL_NOFIELD) {
|
||||||
|
|
||||||
|
@ -561,6 +562,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
||||||
button_pushed = BUTTON_PRESS();
|
button_pushed = BUTTON_PRESS();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
FpgaEnableTracing();
|
FpgaEnableTracing();
|
||||||
//Now, get data
|
//Now, get data
|
||||||
|
|
Loading…
Reference in a new issue