Read binary apdu, Read protection status apdu – MagTek IntelliStripe 320 99875168 User Manual

Page 104

Advertising
background image

IntelliStripe 320 Command Reference

98

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 to read and must not be greater than ‘03’

P2 is lower byte of address to read.

Le is the number of bytes to read

Response APDU:


Data Field (from card)

SW1

SW2

Possible SW1/SW2 combinations:


SW1/SW2 Meaning
9000

Normal completion, no errors

6B00

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


Read Protection Status APDU

This APDU will not be found in ISO 7816-4. That is why it has the CLA of D0 (Proprietary).

Command APDU:


CLA INS P1 P2 Le
D0 B8 Adr1

Adr0

Len

CLA is always D0

INS is always B8

P1 is upper byte of address to read protection status and must not be greater than ‘03’

P2 is lower byte of address to read protection status.

Le is the number of bytes of protection status to read

Advertising