SCR331-DI Product Technical Manual
4.5.7 Detailed description of the APDU set
4.5.7.1 Memory card APDU Set
4.5.7.1.1 ISO7816_READ_BINARY
Description
This APDU reads block, which is specified as a P1 parameter. This APDU reads block size based on
Type A memory card types like Mifare 1K and 4K cards block size are 0x10 bytes and Mifare Ultra
light card size is 0x04 bytes.
Format
Command
CLA INS
P1
P2
P3
ISO7816_READ_BINARY
0xFC
0xB0
Block No. RFU
0x00
Explanation of the Parameters
Field
Value
Meaning
P1
Block number
This indicates the which block to be read
Response
Data
Block value
Status Words
SW1
SW2
Description
90 00
On success, NO ERROR, else error code is returned, see status words table
N
ote
Return data is based on contact-less card types. This command returns 16 bytes for Mifare 1K/4K
and 4 bytes for Mifare Ultra light cards.
Example
To read block no. 5,
CLA
INS
P1
P2
P3
0xFC
0xB0
0x05
0x00
0x00
IND.SCR331-DI.MANUAL.VER.1.8
VER1.8
Page 19 of 36