CLOUD
47
X
0
F
R
EFERENCE
M
ANUAL
39
Response APDU:
Data
Status Word
-
SW1, SW2
Example: decrement block 4 by 1 (key loading and authentication not shown)
(block 4 has got to be set up as value block prior to executing this command, see datasheet for
Mifare Classic cards)
APDU:
FF B0 00 04 00 // Read Block 4
SW12:
9000 (OK)
DataOut:
A9 AA AA AA 56 55 55 55 A9 AA AA AA 05 FA 05 FA
(16 bytes)
APDU:
FF F0 00 04 06 C0 04 01 00 00 00 // decrement block 4 by 1
SW12:
9000 (OK)
APDU:
FF B0 00 04 00 // Read Block 4
SW12:
9000 (OK)
DataOut:
A8 AA AA AA 57 55 55 55 A8 AA AA AA 05 FA 05 FA
(16 bytes)