16
www.javad.com
the unit and read the statistics and alarm status. It is
the most powerful tool to configure the unit. It makes
changes to all possible settings that system will not
be able to determine automatically.
The CLI commands allow user to configure and recon-
figure the unit’s settings. The user configuration pa-
rameters that could be changed through the CLI are:
• Data Port Settings
Baud Rate
Data Bits (8, 7)
Parity (Odd, Even, None)
Flow control (None or RTS/CTS)
• Alarm Settings
• Radio Operation Modes
• Sleep modes
On/Off
Activate by internal real-time clock
Activate through RTS/CTS lines
Activate by external sense lines
Activate by any combination of the parameters
mentioned before
Note:
The unit’s configuration that is set or modified through
the CLI will be lost after unit’s reboot, unless the saving opera-
tion is used to store a new setting in the unit’s configuration file.
The CLI commands also provide filing operations,
which include:
• Downloading
Unit’s Configuration files
Software Images
• Uploading Unit’s Configuration files
• Saving into the configuration files the configura-
tion parameters modified through the CLI.
Command Line Interface Convention
The following convention is implemented in LMR400
Command Line Interface (CLI):
• The Carriage Return/Line Feed (CR/LF, 0x0D/0x0A)
is a command delimiter.
• The Carriage Return/Line Feed (CR/LF, 0x0D/0x0A)
is a reply delimiter followed by the “CLI>” prompt
if Echo option is On.
• The Carriage Return/Line Feed (CR/LF,
0x0D/0x0A) is a reply delimiter if Echo option is Off
(default option).
• The 2-digit number followed by “@” in the unit’s
reply indicates the error code (refer to Table 3-1 for
description), if Echo Off is selected, otherwise the
error message is displayed.
• A successfully performed command is replied by
@00 code, if Echo Off is selected, otherwise the set
value is replied.
• A command with the certain [Parameter Name]
and blank [Parameter List] displays the current
settings for a given parameter.
• To set the mode ordered by CLI commands as
permanent User Setting (the setting automatically
selected for the boot-up unit) the SAVE command
must be asserted.
• [/?] orders to show the help information for the
given command.
• Commands are not key sensitive; small, none
capital characters can be used to enter CLI com-
mands.
Command Line Interface Error Codes
Error Code Short Description
0x01
Command Syntax Error. A command followed by
“/?” displays a command usage.
0x02
The parameter has a format error. A command
with the certain [Parameter Name] followed
by “/?” displays the format and range of the
variable.
0x03
The parameter is out of allowed range. A
command with the certain [Parameter Name]
followed by “/?” displays the format and range
of the variable.
0x04
The command is not valid for specific radio
model. To display the list of available com-
mands, the HELP command must be used.
0x05
Unspecified Error
Software Switching to Command
Mode
On power-up the radio modem is in data-mode. To
switch to command mode the special byte-sequenc-
es with special meanings are used:
• Escape-Sequence: “+++” with 20 ms guard time
before and after the command characters
• Escape-Acknowledge: “@00<CR><LF>”
20 ms toggling on CTS control line needed to ac-
knowledge switching from Data to Command mode
and vice versa.
COMMAND LINE INTERFACE