ACS ACM1252U-Y3 Reference Manual page 38

Usb nfc reader module
Table of Contents

Advertisement

5.2.4.3.
Read Binary Blocks
This command is used to retrieve multiple data blocks from the PICC. The data block/trailer block
must be authenticated first before executing this command.
Read Binary APDU Format (5 bytes)
Command
Read Binary Blocks
Where:
Block Number
Number of Bytes to Read
Example 1: 10h (16 bytes). The starting block only (Single Block Mode).
Example 2: 40h (64 bytes). From the starting block to starting block+3 (Multiple Blocks
Mode).
Note: For security reasons, the Multiple Blocks Mode is used to access Data Blocks only. The
Trailer Block is not supposed to be accessed in Multiple Blocks Mode. Please use Single
Block Mode to access the Trailer Block.
Read Binary Block Response Format (Multiply of 4/16 + 2 bytes)
Response
Result
Read Binary Block Response Codes
Results
Success
Error
Examples:
// Read 16 bytes from the binary block
APDU = FF B0 00
// Read 240 bytes starting from the binary block
// Block 80h to Block 8Eh (15 blocks)
APDU = FF B0 00
ACM1252U-Y3 – Reference Manual
Version 1.03
Class
INS
FFh
B0h
1 byte.
The starting block.
1 byte.
Multiple of 16 bytes for MIFARE Classic 1K/4K or Multiple of
4 bytes for MIFARE Ultralight.
Maximum of 16 bytes for MIFARE Ultralight.
Maximum of 48 bytes for MIFARE Classic 1K (Multiple
Blocks Mode; 3 consecutive blocks).
Maximum of 240 bytes for MIFARE Classic 4K (Multiple
Blocks Mode; 15 consecutive blocks).
Data (Multiple of 4/16 bytes)
SW1
SW2
90h
00h
63h
00h
04h
(MIFARE Classic 1K or 4K)
04
10h
80h
80
F0h
P1
P2
Block
00h
Number
Data Out
SW1
Meaning
The operation was completed
successfully.
The operation failed.
(MIFARE Classic 4K)
Le
Number of Bytes to
Read
SW2
Page 38 of 92
www.acs.com
info@acs.com.hk
www.acs.com.hk
.hk

Advertisement

Table of Contents
loading

Table of Contents