User's Manual

Table Of Contents
51
General Format of an Answer
4.3.3. 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 re-
mote 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 56.)
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.
4.3.4. Commands
Both uppercase and lowercase characters can be typed because the commands are
not case sensitive. The commands list is not exhaustive, only those commands
deemed necessary for type approval testing were included.
CMDS
DESCRIPTION Returns a list of supported commands.
PARAMETERS None.
REMARKS GET only.
RETURNS A list of strings separated by spaces.
REMOTE No.
EXAMPLE
CMDS
193 CMDS CMDS ID PMP RSSI TIME FREQ DEV DEL REPL SLOT DATA INFO RX TX ERA 0
#
TIME
DESCRIPTION Sets/returns the real time clock.