Command And Response Format; Description Of The Tlv Field - Gemplus GPR400 Reference Manual

Smartcard reader / writer
Table of Contents

Advertisement

PRG Data register
The PRG Data register (refer to the "Using the PRG" section) is located at
address 01h in the I/O buffer.

Command and Response Format

The GPR400 command and response are structured in the TLV format.
This is as follows:
Type, Length, Variable

Description of the TLV Field

Type T
This value specifies the command on one byte. The command function is
one of the following:
The response to a command is in the same location. The Type value is
equal to the command type value plus 02h (bit 1 set to 1).
Length L
This specifies the length, in bytes, of the V field, and must be a value from
1 to 28. The length field is coded on one byte.
© GEMPLUS
• Select Card
• Open Session
• Close Session
• APDU Exchange
• Activate Driver
• Power Down GPR
• Load Memory
• Read Memory
• Exec Memory
• IFD Status
SENDING COMMANDS TO THE READER
8

Advertisement

Table of Contents
loading

Table of Contents