AT Commands Structure
Results Code Structure
When a command is issued, the G24-L 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-L responds with verbose response codes.
The result code has the following structure:.
Prefix
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:
Token
where:
The separator is ":".
The following is an example of Response and Results code:
Information Response to + CMD2=?
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-L 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-L (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-L operation.
2-4
Code
Suffix
Separator
Arguments
Information Response to + CMD2?
<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>
Final result code
G24-L AT Commands Reference Manual
Also string type subparameters possible
Shows acceptable ranges of each subparameter
April 15, 2008