]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/iso15693tools.h
CHG: "hf legic write" started to change this command to the updated code
[proxmark3-svn] / common / iso15693tools.h
index c831fec4c2d988175cef431f436e9846957a2fd5..cf613cad948d0106fbc85c874366107214d6fe21 100644 (file)
@@ -4,6 +4,13 @@
 #ifndef ISO15693_H__
 #define ISO15693_H__
 
+#include "proxmark3.h"
+#include <stdint.h>
+#include <stdlib.h>
+
+#define POLY 0x8408
+
+
 // ISO15693 CRC
 #define ISO15_CRC_PRESET       (uint16_t)0xFFFF
 #define ISO15_CRC_POLY         (uint16_t)0x8408
@@ -70,6 +77,7 @@
 uint16_t Iso15693Crc(uint8_t *v, int n);
 int Iso15693AddCrc(uint8_t *req, int n);
 char* Iso15693sprintUID(char *target,uint8_t *uid);
+unsigned short iclass_crc16(char *data_p, unsigned short length);
 
 //-----------------------------------------------------------------------------
 // Map a sequence of octets (~layer 2 command) into the set of bits to feed
Impressum, Datenschutz