Mifare Ultralight/NTAG simulation. Add WRITE and COMPATIBLE_WRITE support

This commit is contained in:
Eloff 2019-04-03 20:56:15 +03:00
commit 19cf50a6ff
3 changed files with 23 additions and 1 deletions

View file

@ -93,6 +93,10 @@ typedef struct {
# define AddCrc14B(data, len) compute_crc(CRC_14443_B, (data), (len), (data)+(len), (data)+(len)+1)
#endif
#ifndef CheckCrc14A
# define CheckCrc14A(data, len) check_crc(CRC_14443_A, (data), (len))
#endif
extern void GetParity(const uint8_t *pbtCmd, uint16_t len, uint8_t *par);
extern tDemod *GetDemod(void);