14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AT</strong> <strong>Commands</strong> Structure<br />

Results Code Structure<br />

When a command is issued, the H24 responds with a message, called a "Result Code", which tells<br />

the terminal the result of the command that was requested. Result codes can indicate, for<br />

example, the execution status of the command or the remote modem connection status.<br />

Result codes can be represented either as numerical codes or as verbose responses. By default, the<br />

H24 responds with verbose response codes.<br />

The result code has the following structure:<br />

Prefix Code Suffix<br />

where:<br />

The results code prefix is .<br />

The results code suffix is .<br />

Response and Indications Structure<br />

The following is the information response and indications structure:<br />

Token Separator Arguments<br />

where:<br />

The separator is ":".<br />

The following is an example of Response and Results code:<br />

Information Response to + CMD2=? Also string type subparameters possible<br />

Information Response to + CMD2?<br />

+CMD2: 3,0,15,"GSM"<br />

+CMD2: (0-3),(0,1),(0-12,15),("GSM","IRA")<br />

OK<br />

Final result code<br />

Shows acceptable ranges of each subparameter<br />

Figure 2-3: Response to a Command Line<br />

If verbose responses are enabled (using the command V1) and all the commands in a command<br />

line have been performed successfully, the result code OK is sent from<br />

the H24 to the terminal. If numeric responses are enabled (using the command V0), the result<br />

code 0 is sent instead.<br />

If verbose responses are enabled (using the command V1) and sub-parameter values of a<br />

command are not accepted by the H24 (or if the command itself is invalid or cannot be performed<br />

for any reason), the result code ERROR is sent to the terminal and no<br />

subsequent commands in the command line are processed. If the numeric responses are enabled<br />

(using the command V0), the result code 4 is sent instead. The ERROR (or 4) response may<br />

be replaced by +CME ERROR: when the command was not processed due to an error<br />

related to H24 operation.<br />

2-4 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> April 15, 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!