Update binary apdu, Update binary with protection apdu – MagTek IntelliStripe65 99875161 User Manual

Page 94

Advertising
background image

IntelliStripe 65 Command Reference


88

Response APDU:

Data Field (from card)

SW1

SW2


Data indicates the protection status for the byte located at the corresponding address on the card.
The value ‘00’ indicates the location is protected and cannot be updated. A value ‘01’ indicates
the location is not protected and can be updated.

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)


Update Binary APDU

Because of card functionality, this APDU should not be sent until at least one Read Binary
APDU has been sent first.


Command APDU:

CLA

INS

P1

P2

Lc

Data Field

00

D6

Adr1

Adr0

Len

Data to be written

CLA is always 00

INS is always D6

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

P2 is lower byte of address to write.

Lc is the number of bytes to write, 0-1024

Data Field contains the bytes to write. If a byte to be written is already protected, a status

6581 will be returned.


Response APDU:

SW1

SW2

Possible SW1/SW2 combinations:

SW1/SW2

Meaning

9000

Normal completion, no errors

6581

Memory Failure, some bytes were not written

6B00

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


Update Binary With Protection APDU

Because of card functionality, this APDU should not be sent until at least one Read Binary
APDU has been sent first.


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


Command APDU:

Advertising