Power_off, Exchange_tpdu_t0 – ACS ACR38 SAM Smart Card Reader User Manual
Page 18

ACR38x – Reference Manual
Version 6.02
www.acs.com.hk
Page 18 of 40
Response data format
Header Status
Data length
ATR
LEN
01h
…
Where:
ATR
Answer-To-Reset as transmitted by the card according to ISO 7816-3.
Note: The ATR is only returned in the reader response if the communication protocol of the card is
compatible with the ACR38x, i.e., if the card can be processed by the reader. Otherwise, ACR38x
returns an error status and deactivates the smart card interface.
9.2.1.3. POWER_OFF
This command powers off the card inserted in the ACR38x.
Command Format
Header Instruction
Data length
LEN
01h
81h
00h
00h
Response Data Format
Header Status
Data length
LEN
01h
9.2.1.4. EXCHANGE_TPDU_T0
This command exchanges an APDU command/response pair between the card inserted in the
ACR38x and the host computer.
Command Format
Header Instruction
Data length LEN
Data
MSB
LSB
T0 TPDU
01h
A0h
…
Where:
LEN
Length of APDU command data, N.
Data
T0 TPDU to be sent to the card.
Case 1: CLA INS P1 P2
Case 2: CLA INS P1 P2 Le
Case 3: CLA INS P1 P2 Lc Data
Case 4: Not supported. The driver/application should break case 4 command
into case 3 + case 2 commands.