Tpdu, ifd to card command – MagTek IntelliStripe65 99875161 User Manual

Page 52

Advertising
background image

IntelliStripe 65 Command Reference

46

Example Response:

Field

MTYP

APPL

CMND

RC

DATA

Byte

1

2

3

4

5-8

Value (Hex)

40

02

83

00

0B 03 00 00


TPDU, IFD TO CARD COMMAND

Command ID: 84 (Hex)
Description:

Note

Unless your card can not operate in the APDU mode, it is
recommended
not to use this command, as it is not compatible with
EMV Rules nor the intended ISO 7816-4 application usage.


This command is used to send a TPDU to a card with data for the card, or with no data for the
card and no data expected in response from the card. It is the user’s responsibility to assure that
the INS byte specifies a card command which will not

result in data being returned to the IFD.

The TPDU is sent to the card and the SW1/SW2 reply is collected according to ISO 7816-
3(1997) rules.

Request Message Data:

Byte Field

Description

1

CLA

CLA byte per card’s specification

2

INS

INS byte per card’s specification

3

P1

P1 byte per card’s specification

4

P2

P2 byte per card’s specification

5

P3

P3, number of Data bytes to send to the card

6-n

Data

Data to be sent to the card


Response Message Data:

Byte Field

Description

1-2

TPDU Response

SW1/SW2.


Response Message Result Codes:

Code (Hex)

Meaning

00

Success, the command completed without problems

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.

Advertising