Chapter
4
4-1
Issuing Scanner Management Commands
This chapter describes the five scanner management commands and shows
you the proper syntax for basic command and confirmation structures.
After reading this chapter, you should be able to:
issue any of the five types of management commands
interpret
confirmations
Commands from the host to the 1784-KTx scanner use this structure:
Command Syntax
host_command
(byte)
transaction_number
(byte)
command_length
(byte)
data
NOTE: Commands will always start at the first byte of the Command Buffer in dualport memory.
Confirmations from the 1784-KTx scanner to the host use this structure:
Confirmation Syntax
host_command
(byte)
transaction_number
(byte)
confirmation_status
(byte)
confirmation_length
(byte)
data
NOTE: Confirmations will always start at the first byte of the Confirmation Buffer in dualport memory.
The 1784-KTx responds to every command with a confirmation. The
scanner queues confirmations in the order in which the commands are
received, except for Block Transfer commands. Block Transfer commands
are confirmed only upon completion of the Block Transfer sequence. Refer
to chapter 5 for information about block transfers.
The scanner copies the
host_command
and
transaction_number
directly into
an entry in the confirmation queue, making it possible for the host to match
the confirmation to the command issued. The
confirmation_status
is a
one-byte code showing the final completion status of the command. The
gives the length (in bytes) of the data (if any) to follow.
Chapter Preview
Basic Command and
Confirmation Structures