5-5 DECODE_DATA
Description: Decode data in SCI packet format
Packet Format
(not including checksum).
Identifies the opcode type.
Bit 0: Identifies transmit status
Bit 6-1: Unused
Bit 7: Command source
Bit 0:
0=First time packet is sent
1= Subsequent transmission attempts
Bit 7: always be 0(message is from the
scanner)
All unused bits recommend to be set to
0.
Data is decoded data including prefix
and suffix sent in ASCII format.
2's complement sum of message
contents excluding checksum.
When the scanner uses this opcode Decode data packet format is selected to send decoded barcode
data to the host. The decoded data is contained in the Decode Data field.
For example: the decode data is “1234”, the DECODE_DATA message sent to host is as following.
Host Requirements
If ACK/NAK handshaking is enabled, the host responds ACK to the scanner when received correct data
packet.
Scanner Requirements
Decode data is sent in this format if Decode data packet format is selected via parameter. The host
responds to this message with a CMD_ACK, if ACK/NAK handshaking is enabled.