A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
Lc
Card Type
01
H
A0
H
00
H
06
H
FF
H
A4
H
00
H
00
H
01
H
01
H
Response data format
Header
Status
Data length
BYTE 1
…
…
BYTE N
SW1
SW2
LEN
01
H
BYTE x
ATR from card (if any)
SW1, SW2
= 90
H
00
H
if no error
SELECT_PAGE_SIZE
This command will choose the page size to read the smart card. The default value is 8-byte page write. It will reset to default
value whenever the card is removed or the reader is powered off.
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
Lc
Page size
01
H
A0
H
00
H
06
H
FF
H
01
H
00
H
00
H
01
H
Page size
=
03
H
for 8-byte page write
=
04
H
for 16-byte page write
=
05
H
for 32-byte page write
=
06
H
for 64-byte page write
=
07
H
for 128-byte page write
Response data format
Header
Status
Data length
SW1
SW2
LEN
01
H
SW1, SW2
= 90
H
00
H
if no error
ACR38 Reference Manual
Version 2.2 January 2008
Page
18
of 44