Share via


Read-Binary command

The Read-Binary command is used to read data from the contactless NFC tag/card. The command is applicable only for storage cards (MIFARE Classic/UL, Felica, ISO15693 and Jewel/Topaz cards). The format of the request and response for the command is as described below,

Request Format

Command Class INS P1 P2 Lc Data In Li
Read-Binary 0xFF 0xB0 Address MSB Address LSB Length of Data In Data Length expected

 

MIFARE Family

Command CLA INS P1 P2 Le
UL READ 16 0xFF 0xB0 0x00 0x00 to 0x15 0x10
CL 1k READ 16 0xFF 0xB0 0x00 0x00 to 0x3F 0x10
CL 4k READ 16 0xFF 0xB0 0x00 0x00 to 0xFF 0x10

 

Jewel Family

Command CLA INS P1 P2 Le
READ ALL 0xFF 0xB0 0x00 0x00 0x00
RID 0xFF 0xB0 0x00 0x00 0x06
READ 0xFF 0xB0 Block No Block Offset 0x01
READ 8 0xFF 0xB0 Block No 0x00 0x08
READ SEG 0xFF 0xB0 0x00 Segment Addr 0x80

 

Felica Family

CommandCLAINSP1P2LcData In
CHECK0xFF0xB00x000x00Length of Data InNumber of ServiceService Code ListNumber of blocks Block list

 

ISO 15693 Family

Command CLA INS P1 P2 Le
READ 0xFF 0xB0 Block Number 0x00 0x4

 

Response
Data outSW1SW2

 

Near field communication (NFC) design guide

Smart card design guide

 

 

Send comments about this topic to Microsoft