Apdu exchange command, Read binary apdu – MagTek IntelliStripe65 99875161 User Manual

Page 90

Advertising
background image

IntelliStripe 65 Command Reference


84

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


Read Binary APDU

Command APDU:

CLA

INS

P1

P2

Le

00

B0

Adr1

Adr0

Len

CLA is always 00

INS is always B0

P1 is upper byte of address as follows:

80 reads Main Memory (Short File ID 0)

81 reads Security Memory (Short File ID 1) (SLE 4442 only)

84 reads Protection Memory (Short File ID 4)

P2 is lower byte of address within the requested Memory

Le is the number of bytes to read, 0-256, 0 indicates 256 bytes

Response APDU:

Data Field (from card)

SW1

SW2

When reading from the Protection Memory, the high order bit of the first data byte returned
represents the protection state of byte 0 in the Main Memory. The low order bit of the first data
byte returned represents the protection state of byte 7, etc.

Possible SW1/SW2 combinations:

SW1/SW2

Meaning

9000

Normal completion, no errors

6A82

Memory Not Found (P1 is invalid)

6B00

Offset outside of the Memory (Combination of P2 and Le is invalid)

Advertising