Power_off, Exchange_apdu, Acr30 – ACS ACK30 Smart Keyboard User Manual

Page 37

Advertising
background image

ACR30 Reference Manual
Version 3.3 January 2009

Page 37 of 44

ACR30

Response data format

ATR

ATR

Answer-To-Reset as transmitted by the card according to ISO7816-3.

NOTE -

The ATR is only returned in the ACR30 response if the communication protocol of the

card is compatible with the reader, i.e., if the card can be processed by the ACR30. Otherwise, the
ACR30 returns an error status and deactivates the smart card interface.

9.2.5.2.

POWER_OFF

This command powers off the card inserted in the card reader.
Command format

Instruction Code

Data length

81

H

00

H


Response data format

No

response

data

9.2.5.3.

EXCHANGE_APDU

To exchange an APDU (Application Protocol Data Unit) command/response pair between the MCU
card inserted in the ACR30 and the host computer.

Command format

Instructi

on Code

Data

length

Data

LEN

CLA

INS

P1

P2

Lc

BYTE

1

...2

...

BYT

E N

Le

A0

H

LEN

Length of APDU command data, N, + 6 (0 < N

≤ MAX_R)

CLA

APDU instruction class byte

INS APDU

instruction

P1

APDU parameter byte 1

P2

APDU parameter byte 2

Lc

APDU command data length

BYTE x

APDU command data

Le

Expected APDU response data length (Le = 0 menas no data is expected from the card)

NOTE -

With the T=0 communication protocol it is not possible to transmit data to the card

and from the card in a single command-response pair. Hence, only either Lc or Le can be greater than
0 in an EXCHANGE_APDU command when a T=0 card is in the reader. If both parameters have a
value greater than 0, the ACR30 does not execute the command and returns an error status.

Advertising