Chaining Tlv Fields; Gpr400 Commands; Select Card - Gemplus GPR400 Reference Manual

Smartcard reader / writer
Table of Contents

Advertisement

Variable V
This field must be the same length as that specified in L. The command
itself will be entered in this field (see the list of commands later in this
section).

Chaining TLV fields

The maximum length of a standard TLV field is 30 bytes (length of the I/O
buffer). To transmit larger commands, the host can chain TLV fields. The V
variable is then divided into V1, V2, ... Vn and transported in the TLiVi
chaining field noted Tc ( 'c' for chaining ).
T, L, V <=> (Tc1,L1,V1) + (Tc2,L2,V2) +.. + (Tn,Ln,Vn)
Tc1 : first block (index 1) of a chaining field (index c)
Tn : Block n of the last chaining field (index c is not present)
L = L1 + L2 +.. + Ln
The index "c" corresponds to the value of bit 2 of type T with :
bit 2 = 1 : chaining field.
bit 2 = 0 : standard field or last field.
The maximum chaining field Length is : V1 + V2 + .. + Vn = 256 bytes
(this corresponds to a 256-byte buffer for data exchange with a Smartcard).

GPR400 Commands

Select Card

This command initializes the reader for the Smartcard protocol used in the
application. Note that by default the Smartcard interface is configured for
ISO T = 0 protocol, with the clock equal to 3.68 MHz. The T=1 protocol is
automatically set if the GPR400 recognizes the T=1 Smartcard during an
"OPEN SESSION" command.
© GEMPLUS
SENDING COMMANDS TO THE READER
9

Advertisement

Table of Contents
loading

Table of Contents