Motorola G24 用户手册

下载
页码 642
AT Commands Structure
2-4
 AT Commands Reference Manual
December  31, 2007
Results Code Structure
When a command is issued, the G24 responds with a message, called a "Result Code", which tells 
the terminal the result of the command that was requested. Result codes can indicate, for 
example, the execution status of the command or the remote modem connection status.
Result codes can be represented either as numerical codes or as verbose responses. By default, the 
G24 responds with verbose response codes.
The result code has the following structure:.
where:
The results code prefix is <CR><LF>.
The results code suffix is <CR><LF>.
Response and Indications Structure
The following is the information response and indications structure:
where:
The separator is ":".
The following is an example of Response and Results code:
Figure 2-3: Response to a Command Line
If verbose responses are enabled (using the command V1) and all the commands in a command 
line have been performed successfully, the result code <CR><LF>OK<CR><LF> is sent from 
the G24 to the terminal. If numeric responses are enabled (using the command V0), the result 
code 0<CR> is sent instead.
If verbose responses are enabled (using the command V1) and sub-parameter values of a 
command are not accepted by the G24 (or if the command itself is invalid or cannot be performed 
for any reason), the result code <CR><LF>ERROR<CR><LF> is sent to the terminal and no 
subsequent commands in the command line are processed. If the numeric responses are enabled 
(using the command V0), the result code 4<CR> is sent instead. The ERROR (or 4) response may 
be replaced by +CME ERROR: <err> when the command was not processed due to an error 
related to G24 operation.
Prefix
Code
Suffix
Token
Separator
Arguments
<CR><LF>+CMD2: 3,0,15,"GSM"<CR><LF>
<CR><LF>+CMD2: (0-3),(0,1),(0-12,15),("GSM","IRA")<CR><LF>
<CR><LF>OK<CR><LF>
Information Response to + CMD2?
Final result code
Shows acceptable ranges of each subparameter
Information Response to + CMD2=?
Also string type subparameters possible