A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r
Response data format
Header
Status
Data length
BYTE 1
…
…
BYTE N
SW1
SW2
LEN
01
H
BYTE x
Response data from card (if any).
SW1, SW2
Status code returned by the card.
EXCHANGE_TPDU_T1
To exchange an APDU (Application Protocol Data Unit) command/response pair between the MCU card inserted in the ACR38
and the host computer using T1 protocol.
Command format
Header
Instruction
Data length LEN
Data
MSB
LSB
T1 TPDU Frame
01
H
A1
H
MSB
LSB ………
LEN
Length of APDU command data, N
Data
T1 TPDU frame to be sent to the card. It should include NAD, PCB, LEN, INF and EDC fields.
Please refer to ISO/IEC 7816:3:1997(E) Section 9.4 for detailed information.
Response data format
Header
Status
Data length
BYTE 1
…
…
BYTE N
LEN
01
H
BYTE x
Response T1 Block from card (if any). The response should include NAD, PCB, LEN, INF and
EDC fields. Please refer to ISO/IEC 7816:3:1997(E) Section 9.4 for detailed information.
Memory Card – 1,2,4,8,16 kbit I2C card
SELECT_CARD_TYPE
This command powers down and up the selected card inserted in the card reader and performs a card reset.
Notes: This command must be the first command after card insertion!
ACR38 Reference Manual
Version 2.2 January 2008
Page
17
of 44