ACM1252U-Y3
– Reference Manual
Version 1.03
www.acs.com.hk
Page 23 of 92
www.acs.com
.hk
5.2.3.
APDU Commands for PCSC 2.0 Part 3
(version 2.02 or above)
PCSC2.0 Part 3 commands are used to transparently pass data from an application to a contactless
tag, return the received data transparently to the application and protocol, and switch the protocol
simultaneously.
5.2.3.1.
Command and Response APDU Format
Command Format
CLA
INS
P1
P2
Lc
Data In
FFh
C2h
00h
Function
DataLen
Data[DataLen]
Where:
Functions
1 byte.
00h = Manage Session
01h = Transparent Exchange
02h = Switch Protocol
Other = RFU
Response Format
Data Out
SW1
SW2
Data Field BER-TLV encoded
Every command returns SW1 and SW2 together with the response data field (if available). The SW1
SW2 is based on ISO 7816. SW1 SW2 from the C0 data object below should also be used.
C0 data element Format
Tag
Length (1 byte)
SW2
C0h
03h
Error Status
Error Status Description
Error Status
Description
XX SW1 SW2
XX = number of the bad data object in the APDU
00 = general error of APDU
01 = error in the 1
st
data object
02 = error in the 2
nd
data object
00 90 00h
No error occurred
XX 62 82h
Data object XX warning, requested information not available
XX 63 00h
No information
XX 63 01h
Execution stopped due to failure in other data object
XX 6A 81h
Data object XX not supported
XX 67 00h
Data object XX with unexpected length