F_Rd_Rec - Unitech MR350 MKII Software Manual

Data collection terminal
Hide thumbs Also See for MR350 MKII:
Table of Contents

Advertisement

3.16

F_RD_REC

This function is used to read data from a record EF. When secure messaging is used this function
dose not accept this command of length greater than the communication buffer size(64 bytes).
Compatible with ISO7816 or Gemplus command set
IS7816
if class = normal
Genplus if class = secure
Function call
void F_RD_REC( S_RD_REC* )
Data structure of S_RD_REC
typedef struct
{
int Class;
int RecNumber;
unsigned char ShortId;
int ExpLen;
int IdOk;
unsigned char Sw12[2];
unsigned char Response[MaxDATA];
int RespLen;
unsigned char CRYin[3];
unsigned char CRYout[3];
} S_RD_REC;
Input parameter :
Class
RecNumber
ShortId
ExpLen
Output parameter :.
IdOk
Sw12[]
Response[] :storage for output data
RespLen
CRYin[]
CRYout[]
:0:NORMAL
1:SECURE
:0 for current record of cyclic record file
:short identifier if implcit select,0 for direct select.
:data length to be read.
: 0 = OK
1 = Timeout
; 3 = EDC error
5 = Parity error
:SW1-SW2
:length of out data
:Reserve
:CRYcks 7,6,5 only for secure message
2 = No card
7 = see SW1-SW2
25

Advertisement

Table of Contents
loading

Table of Contents