Power up, Apdu exchange command, Special handling for c4 and rst – MagTek IntelliStripe 320 99875168 User Manual

Page 109

Advertising
background image

Appendix B. Memory Card Support

103

Note: This property is new. Older versions of IntelliStripe products may not have this. The
addition of this property is backwards compatible with such older products. Compatibility is
achieved by having the Reset Value provide the same functionality as the older products. If you
wish to use the msb first option, you will have to set this property to 1.

Power Up

The Power Up command is issued as with Microprocessor cards and can get same Result Codes.
When the Result Code indicates an Error or Warning, the Primary Status of the CondRpt
Property will never be 0x03.

APDU Exchange Command

The APDU Exchange Command is used to control logical operations of the card between Power
Up and Power Down. The APDU is issued as with Microprocessor cards. The Result Codes are
the same as for Microprocessor cards. When the Result Code indicates an Error or Warning, the
Primary Status of the CondRpt Property will never be 0x03.

Two SW1/SW2 Status Codes may apply to any APDU:

SW1/SW2 Meaning
6E00

CLA Not Supported

6D00

INS Not Supported


Special handling for C4 and RST

Some of the cards that are controllable with as this card type use Contact 4 (C4) and the Contact
2 (RST) for special functions. For some cards, C4 may be used to put the card into a special
“test” mode where it simulates an already personalized card, even if it has not completed
personalization. For some cards, RST may be used during write/erase operations to stop the card
internal address from incrementing.

The user is given control of C4 for all APDUs. This is accomplished by manipulating the lowest
bit of the CLA byte. If the bit is 0, C4 will be maintained Low for the duration of the operation.
If the bit is 1, C4 will be set High at the start of the operation and then returned to Low after the
operation is completed.

Some of the APDUs give the user control over the RST contact. For these APDUs a value of 0
will force Contact 2 low, a value of 1 will force it high during selected portions of the operation.

It is expected that the user has access to the technical specifications of the card he is dealing with
and thus knowledge of how to use these contacts.

Advertising