Zebex Industries Inc BT-CRADLE Manuel D’Utilisation
Scanner to remote application
Data Format of packet
To send a data (barcode) to the remote application, the BT scanner has to
encapsulate it:
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
AEH(End
of Byte)
Reserved
Byte
1 byte
1 byte
1 byte
1 byte
Varies
1 byte
1 byte
Title
Definition
Header Character (EAH)
The character ID at the head of every
data. It has to start with EAH.
data. It has to start with EAH.
Size of Payload
The encapsulated data length excluding
header character.
header character.
Format Byte (FEH)
Differentiate data format; barcode data is
always FEH.
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.
same ID more than once, only the first one
is valid, delete the rest.
Data
Decoded barcode data
End of Byte (AEH)
Record data ends.
Reserved Byte
Reserved for future use
Example:
If barcode data is "ABCD", than sender sends out:
EAH + 9H + FEH + ID + "ABCD "+ AEH + Reserved Byte
9 = 1+1+1+4+1+1
26