6-35
Simple Serial Interface
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
Содержание SE 923
Страница 1: ...SE 923 Scan Engine Integration Guide...
Страница 2: ...2 70 37052 01 Rev A February 1999 Symbol Technologies Inc One Symbol Plaza Holtsville N Y 11742 1300...
Страница 3: ...SE 923 Scan Engine Integration Guide 70 37052 01 Rev A February 1999...
Страница 10: ...viii SE 923 Scan Engine Integration Guide...
Страница 16: ...xiv SE 923 Scan Engine Integration Guide...
Страница 22: ...1 6 SE 923 Scan Engine Integration Guide...
Страница 29: ...2 7 Installation Figure 2 3 Exit Window Positioning CASE 1 CASE 2...
Страница 52: ...4 8 SE 923 Scan Engine Integration Guide...
Страница 135: ...5 83 Parameter Menus Prefix Suffix Values DATA FORMAT CANCEL...
Страница 138: ...5 86 SE 923 Scan Engine Integration Guide Scan Data Transmission Format PREFIX DATA SUFFIX 1 SUFFIX 2 0x07...
Страница 155: ...5 103 Parameter Menus Numeric Bar Codes cont d 4 5 6 7...
Страница 196: ...6 40 SE 923 Scan Engine Integration Guide...
Страница 232: ...Glossary 8 SE 923 Scan Engine Integration Guide...
Страница 236: ...Index 4 SE 923 Scan Engine Integration Guide...
Страница 238: ......