Scanner to Remote Application
Data Format of Packet
To send a data (barcode) to the remote application, the BT scanner has to encapsulate it:
The character ID at the head of every data. It has to
start with EAH.
The encapsulated data length excluding header
character.
Differentiate data format; barcode data is always FEH.
The number of each data. If receive the same ID more
than once, only the first one is valid, delete the rest.
Please refer to the Barcode Type Table.
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
Example:
If scanner sends out:
EAH , 0AH , FEH , 01H , "ABCD ", 011H, AEH , EEH
Remote acknowledges: 55H +01H + 55H