Access pcsc-compliant tags (iso 14443-4) – ACS ACR1283L User Manual

Page 29

Advertising
background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 29 of 55


Examples:
//

Store a value

“1” into block

0x05h

APDU = {

FF D7

00

05

05

00

00 00 00 01h}


//

Read the value

block

0x05h

APDU = {

FF B1

00

05

00h}


//

Copy the value

from value block

0x05h

to value block

0x06h

APDU = {

FF D7

00

05

02

03

06h

}


//

Increment the value

block

0x05h

by “5”

APDU = {

FF D7

00

05

05

01

00 00 00 05h}

5.3.2.3. Access PCSC-compliant Tags (ISO 14443-4)

Basically, all ISO 14443-4 compliant cards (PICCs) would understand the ISO 7816-4 APDUs. The

ACR1283L reader has to communicate with the ISO 14443-4 compliant cards through exchanging

ISO 7816-4 APDUs and responses. ACR1283L handles the ISO 14443 Parts 1-4 Protocols internally.
Mifare 1K, 4K, MINI and Ultralight tags are supported through the T=CL emulation. Simply treat the

Mifare tags as standard ISO 14443-4 tags.

ISO 7816-4 APDU Format

Command

Class INS

P1

P2

Lc

Data In

Le

ISO 7816 Part

4 Command

Length of

the Data In

Expected length

of the Response

Data


ISO 7816-4 Response Format (Data + 2 Bytes)

Response

Data Out

Result

Response Data

SW1

SW2


Common ISO 7816-4 Response Codes

Results

SW1 SW2

Meaning

Success

90 00h

The operation is completed successfully.

Error

63 00h

The operation is failed.


Typical sequence may be:

1. Present the Tag and Connect the PICC Interface.
2. Read/Update the memory of the tag.

Advertising