SCL01X
R
EFERENCE
M
ANUAL
40
6.2.5. STORAGE_CARD_CMDS_VALUE_BLOCK
6.2.5.1. Description
This APDU is used to interact with MIFARE Classic e-purse applications. Please refer to
MIFARE Classic documentation available from NXP Semiconductors for further details on
MIFARE classic memory mapping and commands.
6.2.5.2. Format
CLA
INS
P1
P2
Lc
Data in
0xFF
0xF0
0x00
Block#
Lc
Data
Where P2 code the address of the block number addressed
Where the data field is structured as follow
Byte #
Value
Description
B0
0xC0
Increment
0xC1
Decrement
B1
Block number
B2-B5
Value (LSB first)
6.2.5.3. Response
Data Out
SW1 + SW2
6.2.5.4. Status Words
SW1
SW2
Description
0x90
0x00
NO ERROR
0x67
0x00
Length incorrect
0x68
0x00
CLA byte incorrect
0x6A
0x81
Function not supported
0x6B
0x00
Wrong P1, P2 parameters
6.2.5.5. Example
CLA
INS
P1
P2
Lc
Data in
0xFF
0xF0
0x00
0x1E
0x06
0xC0 0x1E 0x01 0x00 0x00 0x00
Will increment block number 0x1E of a MIFARE Classic-based user token by a value of 0x01.
Summary of Contents for SCL01X
Page 2: ......
Page 7: ...7 3 4 Snap on card holder 78 ...
Page 36: ...SCL01X REFERENCE MANUAL 36 Results into the following memory mapping ...
Page 75: ...SCL01X REFERENCE MANUAL 75 7 3 Annex C Mechanical drawings 7 3 1 Top casing ...
Page 76: ...SCL01X REFERENCE MANUAL 76 7 3 2 Bottom casing ...
Page 77: ...SCL01X REFERENCE MANUAL 77 7 3 3 Cradle ...
Page 78: ...SCL01X REFERENCE MANUAL 78 7 3 4 Snap on card holder ...