Smart Card Reader Driver Program Reference Manual
rev 1.1 Sept, 2003
Advanced Card Systems Ltd.
Page 23 of 34
2.3.3.12 ACI_SetProtect
The ACI_SetProtect command is available for the XIIC card, the AM256 card, the AM4KP
card and the X76F041 card. For the XIIC, AM256 and the AM4KP card, it can be used to set
the starting block of the write-protection memory area and for the case of XIIC card, it can be
used to set the number of protection block also. Finally for the X76F041, it can be used to set
the configuration register value as described in the ACI_ChangePIN paragraph. The
parameter structure is defined as follow:
Field
Value
Description
CLA 0x00
Instruction
class
INS
ACI_SetProtect
Instruction code
P1
variable
Case when : -
XIIC : P1 = start protecting block (0
≤
P1
≤
0x0F)
AM256 : P1 = start protecting block
AM4KP : P1 = start protecting block
X76F041 : P1 = 0
P2
variable
Case when : -
XIIC : P2 = no of blocks to be protected (0
≤
P2
≤
0x0F)
AM256, AM4KP, X76F041 : P2 = 0
Lc
variable
Case when : -
XIIC, AM256, AM4KP : Lc = 0
X76F041 : Lc = 5
DataIn
variable
Case when : -
XIIC, AM256, AM4KP : No input data
X76F041 : Configuration Register
Le
0x00
No output data expected from this command