
A-20 HS-21/HS-41X Handheld Reader User’s Manual
Serial Commands
Command Types
#
Causes the reader to beep the specified number of times; data contains
the number as a single character in the range [0,127].
(The reader will respond with d or e.)
Example – beep three times: #%03
$
Posts an event to the reader; data contains the event number as a single
character. See setting 39 in
Reader Settings
for a list of the event numbers.
(The reader will respond with d or e.)
(
Causes the reader to upload any logged error messages (no data)
(The reader will respond with a g packet, zero or more z packets, and a
final d or e. Each z packet contains a portion of the requested data in its
data field.
Note: This is very similar to the response to the X command; however, p
packets are not applicable and the g and d/e packets are not sup-
pressed even in raw mode.)
)
Causes the reader to erase its log of error messages (no data)
(The reader will respond with d or e.)
,
Causes the reader to send a list of current reader settings (no data)
(The reader will respond with d containing a space-separated list of all
setting values (in order, expressed as hexadecimal ASCII characters) or
with e.)
/
Toggle a bit (or bits) in a reader setting; data contains a printable ASCII
string in the following format: hexadecimal setting number in parenthe-
ses followed by a 32-bit signed integer value, expressed in ASCII hexa-
decimal characters (with optional minus sign) or ASCII decimal
characters preceded by the ‘#’ character, e.g., /(2e)1000 or /(2e)#4096;
the specified integer is XOR’ed with the existing setting value.
(The reader will respond with d or e.)
Note: See
Reader Settings
for possible reader settings.
1
Indicates the start of a file download; data is empty. This command is
followed by a sequence of 2 commands containing the file data and a
download-end command (e.g., 5).
(The reader will respond with d or e.)
2
Indicates a continuation of a file download; data contains the next por-
tion of the file data.
(The reader will not send any response.)
5
Indicates the end of a regular file download; data contains the name of
the file, which is from 1 to 200 letters, digits, periods, hyphens, and
underscores, terminated with ASCII NUL.
(The reader will respond with d, e, or f.)
Comentários a estes Manuais