//
//-----------------------------------------------------------------------------
-#include "proxmark3.h"
#include "apps.h"
-#include "util.h"
-#include "string.h"
-#include "common.h"
#include "cmd.h"
// Needed for CRC in emulation mode;
// same construction as in ISO 14443;
static int timeout = 4096;
-
static int SendIClassAnswer(uint8_t *resp, int respLen, int delay);
//-----------------------------------------------------------------------------
enum {
STATE_UNSYNCD,
STATE_START_OF_COMMUNICATION,
- STATE_RECEIVING
+ STATE_RECEIVING
} state;
uint16_t shiftReg;
int bitCnt;
if(!(Demod.buffer2 & Demod.syncBit) || !(Demod.buffer3 & Demod.syncBit)) {
Demod.state = DEMOD_UNSYNCD;
error = 0x88;
+ return FALSE;
}
// TODO: use this error value to print? Ask Holiman.