5-17 CMD_OUTPUTBUFFER_CTR
Description: Ask the scanner to do an output buffer control before transmit barcode data.
Packet Format
Identifies this opcode type.
Bit 0: Identifies transmit status
Bit 6-1: Unused
Bit 7: Command source
0=First time packet is sent
1=Subsequent transmission attempts
Bit 7: always be 1(message is from the host)
All unused bits recommend to be set to 0.
0x00:Disable output buffering
0x01:Enable output buffering
0x02:Clear data in output buffer
Other: Reserved.
2's complement sum of message
contents excluding checksum.
For example:Host sends command to ask scanner to enable output buffering.
Host Requirements
Host sends command CMD_OUTPUTBUFFER_CTR to ask scanner to control the output buffer.
Scanner Requirements
While receiving command CMD_OUTPUTBUFFER_CTR, the scanner responds with ACK or NAK if
ACK/NAK handshaking is enabled. If the command requests to enable output buffering, the scanner will
store the decode data into the output buffer; and the scanner will send all the barcode data in the buffer
to host until it receive a command to request to disable output buffering. When the unused space in the
buffer is not enough to store the current barcode data, the scanner will beep to warn and discard the
current barcode data.
If the command requests to clear output buffer, the scanner will discard all data in output buffer.
Note: The command can be accepted only if the scanning mode is Continuous scan currently. Otherwise,
after receiving command CMD_OUTPUTBUFFER_CTR, the scanner always responds NAK (if
ACK/NAK is enabled).