Commands
Chapter 4
WAAS G-III Reference Receiver User Manual Rev 1
39
4.1.3
Command Response
The G-III Reference Receiver provides a command response for both accepted and rejected commands. The
response consists of a front delimiter (
\r\n<
) followed by the response string and an end delimiter (
\r\n<
).
If a command is rejected, the reason for rejection is included.
For example:
\r\n<OK\r\n
\r\n<ERROR:Command Invalid\r\n
The command response is provided on the same port from which the command was executed.
Table 15
outlines the various response strings. In all cases, except for OK, the command is rejected.
4.1.4
Command Prompt
The G-III Reference Receiver provides a command prompt on the ports that accept commands. The command
prompt consists of a front delimiter (
\r\n[
), port name and end delimiter (
]
).
For example:
\r\n[ICOM1]
In the front delimiter,
\r
is a CR character (0x0D) and
\n
is a NL character (0x0A).
Table 15: Response Messages
String
Description
OK
Command was accepted and executed.
ERROR:Command Invalid
Not a recognized command.
ERROR:Parameter x out of range
Command parameter is out of range.
ERROR:Command conflicts
Command parameters conflict with each other. The command is
rejected. For example, when a signal channel specified for the
signal type does not match.
ERROR:Missing parameters
Not enough parameters entered.
Optional fields do not trigger this.
ERROR:Too many parameters
Command has too many parameters.
ERROR:Command rejected
Command has been rejected because the current receiver state
does not accept the command or the interface on which the
command was received rejects the command.
ERROR:Command not executed
Command was parsed but did not execute.
ERROR:Receiver failure
Command has been rejected due to a receiver failure.
ERROR:Exception data present
Command has been rejected because there is saved exception
data in NVM.
In the front delimiter,
\r
is a CR character (0x0D) and
\n
is a NL character (0x0A).