1.4: Syntax of Commands and Responses
1.4.1: Command Syntax
The command message has two variations:
1.4.1.1: Command Help
This allows the host to find out what type of parameters the command requires.
Syntax: $? Command$NL
Where: $ is the command start delimiter
? is a request for help
Command is the command help request is for
$ is the command end delimiter
NL are the line termination characters - carriage return, line feed.
Additionally, if „Command‟ is a „?‟ then the command set of the product will be provided, with an initial
response followed by a final response for each command supported by the product.
This is a change to the previous method, where the command set of the product was output as a single
response, with each command being separated from the next by a space and no help text was included.
Note:
Command help is product dependent and is implemented on the Unidisk.
1.4.1.2: Command
This is the method by which the host controls the product
Syntax: $Command (Param (Param ……))$NL
Where: $ is the command start delimiter
Command is the command string
Param is the parameter string (0 or more)
$ is the command end delimiter
NL are the line termination characters - carriage return, line feed.
Note:
Parameters required are command dependent.