User's Manual

Table Of Contents
CHAPTER 3
Using terminal commands
21
General format of an answer
The answers have the following format:
ID Command Result1 Result2 ... ResultN ErrResult
#
ID is the answering device. If a command was further routed,
it is the ID of the end device. The answer must always contain
the ID on return.
Command is the string representing the original command. It
is supplied so that a master can distinguish between the
answers it is waiting for, and out-of-band notifications (which
may come, for example, over the radio port of a node). As
with the ID, the command name must be always supplied.
Result1 Result2 ... ResultN are the result values
returned by the remote node. If the ErrResult is not zero,
all other possible characters and/or strings until the end of
the line may be ignored.
ErrResult shows whether the command was successfully
executed. If this value is 0, the command was successfully
executed. If this value is other than 0, the command failed.
The number may further indicate the error type. (See also
“Returned errors list” on page 42.)
The answer string may contain any number of spaces or CR/LF
characters between its components; however, after the terminator
(#) no other characters are allowed.
Using terminal commands
Following is a list of available commands and an explanation of
their use.
Note: You can type uppercase or lowercase characters because
the commands are not case sensitive.
Note: Typing the command by itself is a GET command, while typ-
ing the command with parameters or variables is a SET
command.
COMMAND CMDS
DESCRIPTION Returns a list of supported commands.
PARAMETERS None.