Wireless Handheld Gun Type Scanner
16
U
SER
’
S
M
ANUAL
Scanner to Remote Application
Data Format of Packet
To send a data (barcode) to the remote application, the BT scanner has to encapsulate it:
EAH
(Header)
Size of
payload
FEH
(Format
Byte)
Data
ID
Data
Barcode
Type
AEH
(End of
Byte)
Reserved
Byte
1 byte
1 byte
1 byte
1 byte
Varies
1 byte
1 byte
1 byte
Title
Definition
Header Character (EAH)
The character ID at the head of every data. It has to
start with EAH.
Size of Payload
The encapsulated data length excluding header
character.
Format Byte (FEH)
Differentiate data format; barcode data is always FEH.
Data ID
The number of each data. If receive the same ID more
than once, only the first one is valid, delete the rest.
Barcode Type (1 byte)
Please refer to the
Barcode Type Table
.
Data Decoded
barcode
data.
End of Byte (AEH)
Record data ends.
Reserved Byte
Reserved for future use.
Example:
If Code39 barcode data is "ABCD", than sender sends out:
EAH + 0AH + FEH + ID + "ABCD "+ 11H+AEH + Reserved Byte
0AH = 1+1+1+4+1+1+1
Acknowledge packet
55H (Header )
Data ID
55H (end of byte)
1 byte
1 byte
1 byte
Example:
If scanner sends out:
EAH , 0AH , FEH , 01H , "ABCD ", 011H, AEH , EEH
Remote acknowledges: 55H +01H + 55H
Summary of Contents for Z-3191BT
Page 1: ...Advanced Handheld High Speed Laser Scanner 1...
Page 9: ......