ntag i2c 2k - select sector annotation
This commit is contained in:
1 parent
a06765e5a8
commit
edc300ea97
2 files changed
+15
-1
No files matched your search
@@ -31,6 +31,8 @@ Ultralight C
|
||||
1A = Step1 Authenticate
|
||||
AF = Step2 Authenticate
|
||||
|
||||
NTAG i2c 2K
|
||||
C2 = SECTOR_SELECT
|
||||
|
||||
ISO14443B
|
||||
05 = REQB
|
||||
@@ -190,6 +192,10 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
||||
#define MIFARE_ULNANO_WRITESIG 0xA9
|
||||
#define MIFARE_ULNANO_LOCKSIG 0xAC
|
||||
|
||||
// NTAG i2k 2K uses sector 0, and sector 1 to have access to
|
||||
// block 0x00-0xFF.
|
||||
#define NTAG_I2C_SELECT_SECTOR 0xC2
|
||||
|
||||
// mifare 4bit card answers
|
||||
#define CARD_ACK 0x0A // 1010 - ACK
|
||||
#define CARD_NACK_IV 0x00 // 0000 - NACK, invalid argument (invalid page address)
|
||||
|
||||
Reference in new issue
Block a user