Transfer Of Decode Data; Ack/Nak Enabled And Packeted Data - Symbol SE 923 Integration Manual

Scan engine
Table of Contents

Advertisement

Example of a problem which may occur when ACK/NAK handshaking is disabled:
The host sends a PARAM_SEND message to the decoder to change baud rate from
9600 to 19200
The decoder cannot interpret the message
The decoder does not implement the changes requested by the host
The host assumes that the parameter changes have occurred and acts accordingly
Communications are lost because the change did not occur on both sides.
If the ACK/NAK handshaking is enabled, the following occurs:
The host sends a PARAM_SEND message
The decoder cannot interpret the message
The decoder CMD_NAKs the message
The host resends the message
The decoder receives the message successfully, responds with CMD_ACK, and
implements parameter changes.

Transfer of Decode Data

The Decode Data Packet Format parameter controls how decode data is sent to the host.
When this parameter is set, the data is sent in a DECODE_DATA packet. When the
parameter is cleared, the data is transmitted as raw ASCII data.
Note: When decode data is transmitted as raw ASCII data, then ACK/NAK
handshaking does not apply regardless of the state of the ACK/NAK
handshaking parameter

ACK/NAK Enabled and Packeted Data

The decoder sends a DECODE_DATA message after a successful decode. The decoder waits
for a programmable time-out for a CMD_ACK response. If it does not receive the response,
the decoder tries to send twice more before issuing a host transmission error. If the decoder
Simple Serial Interface
6-35

Advertisement

Table of Contents
loading

Table of Contents