Document Version 1.00
Last revised on
Page 36 of 87
2020-04-10
Reference Manual for uTrust 3720F and uTrust 3721F Readers
Response APDU:
Data
Status Word
-
SW1, SW2
Example:
1.
Load Key A unencrypted and authenticate for block 6 (sector 1, actually) with that key:
APDU:
FF 82 00 60 06 FF FF FF FF FF FF
SW12:
9000 (OK)
APDU:
FF 86 00 00 05 01 00 06 60 01
SW12:
9000 (OK)
2.
Authenticate with MIFARE ULC using key loaded into non-volatile storage:
APDU:
FF 86 00 00 05 00 00 00 00 00
SW12:
9000 (OK)
6.2.5.
PAPDU_MIFARE_READ_SECTOR
This command reads the specified sector from a Mifare Classic card (first 3 blocks of the sector,
excluding the Key block) or the entire content of Mifare UL/UL C cards.
Command APDU:
Command
CLA
INS
P1
P2
P3
Data
Read Sector
FF
B1
Addr MSB Addr LSB
0
-
Response APDU:
Data
Status Word
Mifare classic - 48 bytes of sector data read from card /
Mifare UL – Entire card data is returned (64 bytes)
SW1, SW2
Example
:
Read sector 1 of a Mifare Classic 1K
APDU:
FF B1 00 01 00
SW12:
9000 (OK)
DataOut:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55
(48 bytes)
Read entire content of a Mifare UL:
APDU:
FF B1 00 01 10
SW12:
9000 (OK)
DataOut:
04 6B 5D BA 09 F8 01 80 70 48 00 00 E1 10 06 00
00 01 02 03 1D 6E 6F 6B 69 61 2E 63 6F 6D 3A 62
74 01 00 11 67 9F 5F B6 04 06 80 30 30 30 30 00
00 00 00 00 00 00 00 00 00 00 00 02 42 54 FE 00
(64 bytes)