Sending Commands To The Reader; Sending Commands To The Gpr400 - Gemplus GPR400 Reference Manual

Smartcard reader / writer
Table of Contents

Advertisement

SENDING COMMANDS TO THE READER

Sending Commands to the GPR400

© GEMPLUS
You can send the same commands to a Smartcard from the GPR400 as
those from any other reader. The command parameters will vary according
to the Smartcard, and they are listed in this section. For details regarding
available commands for each Smartcard, read the appropriate
documentation.
When you send a command to a Smartcard, you send it from the host to
the GPR400 I/O buffer. The microcontroller verifies that the command
format is correct; it then passes the command on to the appropriate
Smartcard.
You transmit commands to the GPR400 in a Type Length Variable (TLV)
format.
Note:
When you develop applications for portable PCs that run on
batteries, bear in mind the following recommendation to limit battery
power consumption:
Power Off the Smartcard when you have finished accessing it, and
power down the GPR. This will switch the GPR400 into Power Down
mode.
This section describes, in full detail, how to send Smartcard commands to
the GPR400. You send commands to the GPR400 through the 32-byte I/O
buffer. The first 2 bytes are specific registers and the other 30 bytes
(address 02h to 1Fh ) are used to store the TLV command. Four other
specific registers are located at the end of the Attribute Memory. The
following is a description of the 6 specific registers:
General Setup Register
Read only access:
bit 4:= 0:
Attribute Memory and I/O buffer locked
= 1:
Attribute Memory and I/O buffer accessible
Address FB8h in the Attribute Memory
6

Advertisement

Table of Contents
loading

Table of Contents