support for NTAG213TT tamper feature

This commit is contained in:
Matthew Jackson 2023-02-18 23:48:32 -06:00
commit 3399cbd4f0
4 changed files with 299 additions and 4 deletions

View file

@ -223,6 +223,9 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
#define NTAG_I2C_SELECT_SECTOR 0xC2
#define NTAG_I2C_FASTWRITE 0xA6
//NTAG 213TT (tamper) command
#define NTAGTT_CMD_READ_TT 0xA4
// mifare 4bit card answers
#define CARD_ACK 0x0A // 1010 - ACK
#define CARD_NACK_IV 0x00 // 0000 - NACK, invalid argument (invalid page address)