X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a1ff338bd5023bac02d51e1de5ca70fbdb90d3bf..496bb4be3306b86699abdab9ecf4e677fd61c92b:/common/protocols.h diff --git a/common/protocols.h b/common/protocols.h index 9de72661..9a854363 100644 --- a/common/protocols.h +++ b/common/protocols.h @@ -1,6 +1,9 @@ #ifndef PROTOCOLS_H #define PROTOCOLS_H +#include + + //The following data is taken from http://www.proxmark.org/forum/viewtopic.php?pid=13501#p13501 /* ISO14443A (usually NFC tags) @@ -96,7 +99,8 @@ NXP/Philips CUSTOM COMMANDS #define ICLASS_CMD_PAGESEL 0x84 #define ICLASS_CMD_READCHECK_KD 0x88 #define ICLASS_CMD_READCHECK_KC 0x18 -#define ICLASS_CMD_CHECK 0x05 +#define ICLASS_CMD_CHECK_KC 0x95 +#define ICLASS_CMD_CHECK_KD 0x05 #define ICLASS_CMD_DETECT 0x0F #define ICLASS_CMD_HALT 0x00 #define ICLASS_CMD_UPDATE 0x87 @@ -303,10 +307,6 @@ NXP/Philips CUSTOM COMMANDS #define ISO7816_MAX_FRAME_SIZE 261 - -void printIclassDumpInfo(uint8_t* iclass_dump); -void getMemConfig(uint8_t mem_cfg, uint8_t chip_cfg, uint8_t *max_blk, uint8_t *app_areas, uint8_t *kb); - /* T55x7 configuration register definitions */ #define T55x7_POR_DELAY 0x00000001 #define T55x7_ST_TERMINATOR 0x00000008