Bourgogne ET Grasset SAS VEGRDE2 Manual De Usuario

Descargar
Página de 48
27-07-2002 
 
Vegas Long Range Read/Write Device  
Page 19 (48) 
Confidentiality Level 1 
           
Vegrde3/EG 
Bourgogne et Grasset  -– ZI Beaune Savigny  -– 21200 Beaune  –  France  –  Tel. +33 380 26 26 26  –  Fax. +33 3 80 26 26 00 
 
 
3.3.10. MutualAuthent 
 
Carries out the full authentication procedure of the data carrier and the read/write device.  
After this mutual authentication you are allowed to edit areas which can only be accessed in 
SECRET Mode. 
Use a Plain command (that is encrypted), ResetHFSystem or GetSnr to exit this mode. 
Using -loginfo- you can choose between Log information (Keys and Logdata) A and B. 
 
Definition:   
void  proloc_MutualAuthent (BYTE loginfo); 
 
Serial protocol: 
HOST - Read/Write Device 
0x03 'A' loginfo BCC 
 
Read/Write Device - HOST 
0x02 Status BCC 
 
loginfo: 
0 ... 
loginfo A 
  1 
... 
loginfo 
 
Status: 
  0  ...  no error 
 
- 1 ... 
SERIAL error 
 
- 7 ... 
AUTHENT error 
 
3.3.11. ReadAllPage 
 
Reads all Pages of Data Carriers in the active antenna field.   
 
Definition:  void  proloc_ReadAllPage (BYTE pagenr, BYTE mode, BYTE *data, BYTE 
*datalen); 
Serial protocol: 
 
HOST - CORE MODULE 
0x04 0x98 mode pagenr BCC 
mode:  Bit 0:   0=use KEY0 for Authentification 
 
 
1=use KEY1 for Authentification 
 
Bit 1:   0=Plain 
 (without Authentification) 
  1=Crypto 
(with 
Authentification) 
 
CORE MODULE - HOST 
n+2 Status 
Data[0] ....... Data[3] BCC