Bourgogne ET Grasset SAS VEGRDE2 Manual De Usuario

Descargar
Página de 48
Vegas Long Range Read/Write Device 
 
27-07-2002 
Vegrde3/EG 
Confidentiality Level 1 
Page 10 (48) 
Bourgogne et Grasset  -– ZI Beaune Savigny  -– 21200 Beaune  –  France  –  Tel. +33 380 26 26 26  –  Fax. +33 3 80 26 26 00 
 
WriteControl 
Writes the control bytes 
ReadCryptoData 
Reads keys, logdata or password from the EEPROM 
WriteCryptoData 
Writes keys, logdata or password into the EEPROM 
 
3.3. 
Detailed Command Description 
This section describes all the commands of the serial interface between read/write device and 
host. 
You also find the function names of the Demo-C-Library here. 
 
It is a characteristic of the Demo Library to store Data Bytes of lower order at lower addresses 
and receive or transmit them first via serial interface. 
 
 
Serial Data: 
 
7                          0  15                        8  23                      16  31                      24 
Data Byte 0 
Data Byte 1 
Data Byte 2 
Data Byte 3 
first  
 
 
 
 
Presentation by the Library: 
 
31 
 
 
                            0 
Data Byte 3 
Data Byte 2 
Data Byte 1 
Data Byte 0 
first  
 
 
 
 
Some errors can occur when executing a command on the read/write device. These errors are reported 
to the host with the answer to each command. 
The resulting status information consists of one byte (signed char). If the command has been 
executed correctly, status (error-) information reads ZERO. An error is reported as a negative 
value.