]>
Commit | Line | Data |
---|---|---|
1 | // ISO15693 commons | |
2 | // Adrian Dabrowski 2010 and others, GPLv2 | |
3 | ||
4 | #ifndef ISO15693TOOLS_H__ | |
5 | #define ISO15693TOOLS_H__ | |
6 | ||
7 | #include <stdint.h> | |
8 | ||
9 | // ISO15693 CRC | |
10 | #define ISO15693_CRC_CHECK ((uint16_t)(~0xF0B8 & 0xFFFF)) // use this for checking of a correct crc | |
11 | uint16_t Iso15693Crc(uint8_t *v, int n); | |
12 | int Iso15693AddCrc(uint8_t *req, int n); | |
13 | char* Iso15693sprintUID(char *target, uint8_t *uid); | |
14 | unsigned short iclass_crc16(uint8_t *data_p, unsigned short length); | |
15 | ||
16 | #endif |