]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - common/iso15693tools.h
update em4x05 timing (#846)
[proxmark3-svn] / common / iso15693tools.h
... / ...
CommitLineData
1// ISO15693 commons
2// Adrian Dabrowski 2010 and others, GPLv2
3
4#ifndef ISO15693_H__
5#define ISO15693_H__
6
7// ISO15693 CRC
8#define ISO15693_CRC_PRESET (uint16_t)0xFFFF
9#define ISO15693_CRC_POLY (uint16_t)0x8408
10#define ISO15693_CRC_CHECK ((uint16_t)(~0xF0B8 & 0xFFFF)) // use this for checking of a correct crc
11
12uint16_t Iso15693Crc(uint8_t *v, int n);
13int Iso15693AddCrc(uint8_t *req, int n);
14char* Iso15693sprintUID(char *target,uint8_t *uid);
15unsigned short iclass_crc16(char *data_p, unsigned short length);
16
17#endif
Impressum, Datenschutz