X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bf5d7992ce29e9fb006a5b6770bd3457b9b0f18b..905c55de2bbe642412b47ed4e92344096c817fac:/include/mifare.h diff --git a/include/mifare.h b/include/mifare.h index 11c977d5..fa714f26 100644 --- a/include/mifare.h +++ b/include/mifare.h @@ -37,7 +37,13 @@ typedef enum ISO14A_COMMAND { ISO14A_TOPAZMODE = (1 << 8) } iso14a_command_t; - +typedef struct { + uint8_t* response; + size_t response_n; + uint8_t* modulation; + size_t modulation_n; + uint32_t ProxToAirDuration; +} tag_response_info_t; //----------------------------------------------------------------------------- // ISO 14443B //----------------------------------------------------------------------------- @@ -74,6 +80,11 @@ typedef struct { uint32_t nr2; uint8_t sector; uint8_t keytype; + enum { + EMPTY, + FIRST, + SECOND, + } state; } nonces_t; #endif // _MIFARE_H_