CLOUD
47
X
0
F
R
EFERENCE
M
ANUAL
36
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)