Apdu exchange command – MagTek IntelliStripe 320 99875168 User Manual

Page 55

Advertising
background image

Section 5. Smart Card Application

49

01

Failure, the command was not able to complete, see CondRpt property for
details. See T=0 or T=1 Error/Warning Condition Templates for Template
construction.

03

Warning, the command completed, but some problems arose, see CondRpt
property for details. See T=0 or T=1 Error/Warning Condition Templates
for Template construction.


Example Request:

Field

MTYP APPL CMND RC

DATA

Byte 1

2

3

4 5-11

Value (Hex)

00

02

84

00

00 A4 02 0C 02 00 01


Example Response:

Field MTYP

APPL

CMND

RC

DATA

Byte

1 2 3 4 5-6

Value

(Hex)

40 02 84 00

90

00


APDU EXCHANGE COMMAND

Command ID: 85 (Hex)
Description:

This command is used to exchange an APDU with a card. See ISO 7816-4 and EMV for
information on APDU structure. This command functions differently for T=0 and T=1
protocols:

For T=0, the Command APDU is mapped onto TPDU’s and the exchange is managed
according to EMV rules, returning a Response APDU.
For T=1, the Command APDU is sent directly to the card and the Response APDU is
returned.
For Memory cards, the Command APDU is interpreted and the appropriate Control
Sequence is sent to the card. A Response APDU is returned.


Request Message Data:

Byte Field

Description

1-n

Command APDU

Command APDU per ISO 7816-4 and EMV


Response Message Data:

Byte Field

Description

1-n

Response APDU

Response APDU per ISO 7816-4 and EMV

Advertising