Page
21
of
70
Copyright © Access-IS 2016
5. Barcode command reference
Commands are sent with a prefix of
[0x16][0x4D][0x0D]
causing the command sequence to
take the form
[0x16][0x4D][0x0D]<Menu Command>
. The menu commands are six characters
long with a parameter (if required).
To send a command to modify a configuration parameter
Send the six-character
command concluded by a dot ‘.’ or an exclamation mark ‘!’. The dot stores
the setting permanently and the exclamation mark keeps it temporarily until power is removed from
the device.
For example,
[0x16][0x4D][0x0D]AISKBL1.
sets the keyboard localisation to United States
when the device is operating as a USB keyboard.
To query the current settings (including a temporary one)
Send the six-character
command with a ‘?’ instead of the parameter and the ATR110 will return the
command with the current setting.
For example,
[0x16][0x4D][0x0D] AISINF?
queries the device interface and returns the
current value.
To query the stored value
Send the six-
character command with a ’^’ instead of the parameter and the ATR110 will return the
command with the stored setting.
For example,
[0x16][0x4D][0x0D] AISINF^
returns the current illumination mode.
To list parameter options
Send the six-
character command with a ‘*’ instead of the parameter and the ATR110 will return the
command with the parameter options.
5.1 Basic configuration
These commands set the device interface, connection parameters and specify the operating mode.
Table 2. Basic configuration commands
Command
Description
Default
Parameters/Range
AISINF
Selects the device interface.
When a USB cable is used, the
configuration
AISINF0
is overruled and
AISINF1
is used.
1
0 - Serial
1 - USB serial (CDC)
2 - USB keyboard
3 - HID POS
AISKBL
Keyboard localization; this defines the
Windows keyboard mapping for correct
output of characters.
Only used when
AISINF
is set to 2 (USB
keyboard).
0
0 - US (United States)
1 - UK (United Kingdom)
2 - IT (Italy)
3 - ES (Spain)
4 - DE (Germany)
5 - CH (Switzerland)
6 - CZ (Czech Republic)
7 - FR (France)
8 - BE (Belgium)
9 - SE (Sweden)
AISCHR
Sets the inter-character delay (in
milliseconds).
Only used when
AISINF
is set to 2 (USB
keyboard).
2
1
–250 milliseconds