CHG: "hf 14b sim" - Added the possibility to call it with a PUPI/UID. Sample: "hf 14b sim u 11223344"

This commit is contained in:
iceman1001
2016-04-27 11:21:29 +02:00
parent 8040711b90
commit dccddaef77
4 changed files with 159 additions and 127 deletions

View File

@@ -54,13 +54,13 @@ void Dbhexdump(int len, uint8_t *d, bool bAsci);
#define MAX_ADC_LF_VOLTAGE 140800
int AvgAdc(int ch);
void PrintToSendBuffer(void);
void ToSendStuffBit(int b);
void ToSendReset(void);
void ListenReaderField(int limit);
extern int ToSendMax;
extern uint8_t ToSend[];
/// lfops.h
extern uint8_t decimation;
extern uint8_t bits_per_sample ;
@@ -99,7 +99,7 @@ void EM4xReadWord(uint8_t Address, uint32_t Pwd, uint8_t PwdMode);
void EM4xWriteWord(uint32_t Data, uint8_t Address, uint32_t Pwd, uint8_t PwdMode);
/// iso14443.h
void SimulateIso14443bTag(void);
void SimulateIso14443bTag(uint32_t pupi);
void AcquireRawAdcSamplesIso14443b(uint32_t parameter);
void ReadSTMemoryIso14443b(uint8_t numofblocks);
void RAMFUNC SnoopIso14443b(void);