
A-22 HS-21/HS-41X Handheld Reader User’s Manual
Serial Commands
G
Get setting from reader; data contains a single character (0-255), which
is the setting number.
(The reader will respond with d and the setting value as a sequence of 8
ASCII hexadecimal digits or with e.)
Note: See
Reader Settings
for possible reader settings.
I
Requests the reader to send its information string (no data).
(The reader will respond with i or e.)
J
Requests the reader to restore settings to defaults (no data).
(The reader will respond with d or e.)
J1
Complete restore of factory setup. Will overwrite the apps and settings.
L
Requests the reader to send a list of its stored files.
data is:
• (no data) or “0”; all non-hidden files.
• “1”; hidden files
(The reader will respond in the same manner as with the ‘(’ command,
each z packet containing a file name as a NUL-terminated string of print-
able ASCII characters.)
O
Set a bit (or bits) in a reader setting; data is as defined in the / com-
mand; the specified integer is ORed with the existing setting value.
(The reader will respond with d or e.)
Note: See
Reader Settings
for possible reader settings.
P
Put setting to reader; data is as defined in the / command; the specified
integer replaces the existing setting value.
(The reader will respond with d or e.)
Note: See
Reader Settings
for possible reader settings.
Q
Clear a bit (or bits) in a reader setting; data is as defined in the / com-
mand; the ones-complement of the specified integer is AND’ed with the
existing setting value.
(The reader will respond with d or e.)
Note: See
Reader Settings
for possible reader settings.
R
Requests that the previously sent packet be re-sent by the reader; data
may specify a maximum packet size the receiver will accept: data is
either empty or specifies a 16-bit big-endian unsigned integer (2 bytes).
If data is empty or specifies a size less than 32 (the minimum packet
size), the reader will use its preferred maximum packet size. Otherwise,
it will use the specified max packet size (or less) and will fragment data
across multiple smaller packets when necessary.
(The reader will respond by re-sending its previous packet or with e if
there was no previous packet. If the max data size has changed, it may
resend the previous data in a sequence of more than one packet.)
Kommentare zu diesen Handbüchern