Card types – MagTek IntelliStripe65 99875161 User Manual

Page 34

Advertising
background image

IntelliStripe 65 Command Reference

28

Criteria for treating abnormal situations may change from application to application. One way of
dealing with changing criteria is via Error/Warning Condition Templates. Each template is 4
bytes long. Each bit can be used to define a particular condition. If the bit is set in an Error
Conditions Template and the condition is encountered, it is considered an Error and the card is
deactivated with the Result Code Failure (01 Hex) being returned. Bits set in the Error
Conditions Template override bits set in a corresponding Warning Conditions Template. If the
bit is set in the Warning Conditions Template (and not in the corresponding Error Conditions
Template) and the condition is encountered, it is considered a Warning and the operation is
allowed to proceed, but a Result Code of Warning (02 Hex) will be returned when the operation
completes. If the bit is not set in either the Error or Warning Conditions Template and the
condition is encountered, the condition is Ignored, the operation is allowed to proceed, and a
Response Code of Success (00 Hex) is returned.

As conditions are encountered, they are recorded in an Accumulator bit map. Each bit in the
Accumulator bit map corresponds directly to the bits in the Error and Warning Conditions
Template. The Accumulator bit map does not distinguish between Errors, Warnings, and
Ignored conditions; it simply records the occurrence of the conditions. The Accumulator is part
of the CondRpt property.

Different operations use different Error/Warning Conditions Templates.

CARD TYPES

Multiple card types are supported. The default card type (after power up) is 0x00, which
supports microprocessor cards (T=0/T=1). The card type may be selected by the host application
by setting the desired type in Property 01 (Card Type). The specified card type is used on all
connectors until a new card type is set via the Set Property command.

There are two major categories of card types. The first are ISO 7816-3(1997) Microprocessor
cards. Most Microprocessor cards available today comply with 7816-3 and this manual does not
address their functionality in depth. The second category is Memory or Synchronous cards.
There are numerous Memory cards available in the market. Some of them conform to ISO 7816-
10, some don’t. There are no standards for command sets used to control these cards. The
protocols and commands used to control these cards vary widely. In an effort to promote ease of
use, we attempt to provide a command set similar in appearance and structure to the command
set specified for the control of Microprocessor cards in ISO 7816-4. For the user this means
there will be some consistency of principles of operation between the different Memory cards
and Microprocessor cards.

Memory cards are controlled using three basic commands, Power Up, Power Down, and APDU
Exchange. Some of the operating conditions can be specified via Properties documented in the
Properties table later in this section and in

Appendix B. Memory Card Support.

The details of

the Power Up and APDU Exchange commands vary somewhat depending on the type of

Advertising