The condrpt property, Error/warning condition templates – MagTek IntelliStripe 320 99875168 User Manual

Page 33

Advertising
background image

Section 5. Smart Card Application

27

THE CONDRPT PROPERTY

This property is used to give a detailed status of the Power Up Command, the TPDU, Card To
IFD Command, the TPDU, IFD To Card Command, and the APDU Exchange Command. It
consists of the following fields:

Bytes Meaning

0 Ignore
1 Primary

Status

0x80 = No Errors
0x01 = Parameter Errors, details follow in Secondary Status
0x01 = Header Block less than required length
0x04 = Length of Data not consistent with Lc
0x06 = Requested Data larger than available buffer space
0x82 = Card Handling Errors, details follow in Secondary Status
0x01 = Card Not In Connector
0x02 = Card Not Powered
0x05 = Card Not Responding (I

2

C

™ cards only)

0x03 = Abnormal Condition Report, details follow in Accumulator

2

Secondary Status, as defined above.

3 – 6

Accumulator is a bit map field documenting the abnormal conditions
encountered during the process. The meaning of the individual bits
depends on the command that produced the accumulator contents, see the
definitions in the corresponding command descriptions.

7 – 10

Error Conditions Template – the actual Error Conditions Template used, in
conjunction with the Warning Conditions Template, to formulate the
Accumulator contents.

11 -

14

Warning Conditions Template – the actual Warnings Conditions Template
used, in conjunction with the Error Conditions Template, to formulate the
Accumulator contents.


ERROR/WARNING CONDITION TEMPLATES

In dealing with Smart Cards, there are numerous situations that can arise in operation that might
be considered abnormal. We define three basic manners of handling these situations:

Errors – These are situations that are considered disastrous. When they are encountered,
the card is deactivated immediately and the Result Code Failure (01 Hex) is returned.

Warnings – These are situations that are considered noteworthy, but may not require the
card to be deactivated. The operation requested was able to complete. When these
situations are encountered the Result Code Warning (02 Hex) is returned.

Ignore – These are situations that are considered of no importance. The operation
requested was able to complete. When these situations are encountered the Result Code
Success (00 Hex) is returned.

Advertising