beautypg.com

Exchange_tpdu_t1 – ACS ACR38 SAM Smart Card Reader User Manual

Page 19

background image

ACR38x – Reference Manual

[email protected]

Version 6.02

www.acs.com.hk

Page 19 of 40

Response Data Format

Header Status

Data length

BYTE 1 … … BYTE N SW1 SW2

LEN

01h

Where:

BYTE x

Response data from card (if any).

SW1 SW2

Status code returned by the card.

9.2.1.5. EXCHANGE_TPDU_T1

This command exchanges an APDU command/response pair between the cards inserted in the

ACR38x and the host computer using T1 protocol.

Command Format

Header Instruction

Data length LEN

Data

MSB

LSB

T1 TPDU Frame

01h

A1h

Where:

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

01h

Where:

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.