Bourgogne ET Grasset SAS VEGRDE2 Manual De Usuario

Descargar
Página de 48
27-07-2002 
 
Vegas Long Range Read/Write Device  
Page 25 (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.19. EE_Write 
Writes - starting with the chosen address - up to 16 data bytes into the user memory of the 
EEPROM of the read/write device. If you reach the limit of the address area the read/write 
command is finished.  
 
≤ addr ≤ 84,    nmb ≤ 16 
 
Definition:   
 
void  proloc_WriteEEData (char addr, char nmb, char *data); 
 
Serial protocol: 
 
HOST - Read/Write Device 
 
0x02 'e' addr nmb 
data[0]
....... 
data[n]
BCC 
 
Read/Write Device - HOST 
 
2 status 
BCC 
 
Status: 
   0  ... 
no error 
 
 - 1 ... 
SERIAL error 
 
- 10 ... 
EEPROM error 
 
 
3.3.20. ReadLRStatus 
Reads the antenna overload bit. In case of broken or badly detuned antenna the overload bit is 
high. 
 
Definition:   
 
  
proloc_ReadLRStatus (void); 
 
HOST - Read/Write Device 
 
0x02 'r' 0x70 
 
Read/Write Device - HOST 
 
0x02 Status BCC 
 
Status: 
    0  ... 
no error 
 
  - 1 ... 
SERIAL error 
 
- 20 ... 
ANTENNA overload 
 
 
 
3.3.21. SetPowerDown