Compaq uSign 100 Manual De Usuario

Descargar
Página de 18
 
uSign User Manual 
7.0 
uSign commands description 
(Version: 0.02  Date: 2007-03-19)  Note: digits are given in little-endian format. 
7.1 Command 
protocol: 
 
Host to device: STX LenL LenH CommandData Lrc1 Lrc2 ETX 
   
 
STX: 0x02. 1 byte. 
   
 
LenL+LenH: sizeof(CommandData). 2 bytes. 
   
 
CommandData: main command string. Several bytes needed. 
   
 
Lrc1: Exclusive or of CommandData. 1 byte. 
   
 
Lrc2: Sum of CommandData. 1 byte. 
   
 
ETX:  0x03.  1 byte. 
 
Device to Host: STX LenL LenH ResponseData Lrc1 Lrc2 ETX 
   
 
STX: 0x02. 1 byte. 
   
 
LenL+LenH: sizeof(ResponseData). 2 bytes. 
   
 
ResponseData: main response string. Several bytes needed. 
   
 
Lrc1: Exclusive or of ResponseData. 1 byte. 
   
 
Lrc2: Sum of ResponseData. 1 byte. 
   
 
ETX:  0x03.  1 byte 
7.2 System 
Commands 
7.2.1 Get 
firmware 
version 
Command string: 78 01 
Response string: IDTECH-USIGN V0.02 
7.2.2 
Get serial number 
Command string: 78 02 
Response string: Serial number 
7.2.3 
Get clip area 
Command string: 7A 04 01 
Response string: Clip area data (8 bytes) 
Clip area is a rectangle coded as: left (2 bytes) + top (2 bytes) + right (2 bytes) + bottom 
(2 bytes) 
7.2.4 
Set clip area 
Command string: 7A 04 02 Clip area data( 8 bytes) 
Response string: 0xE0 
7.2.5 
Clear clip area 
Command string: 7A 08 
Response string: 0xE0 
Copyright © 2006, International Technologies & Systems Corp. All rights reserved. 
Page 13 of 18