At Commands Structure; Command Structure - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

AT Commands Structure

Command Structure

An AT command line may contain one or more commands. Delimiters are used to separate the
commands from each other, according to the following structure:
Prefix
Command1
Each AT command has the "AT" prefix string.
Each AT command has the suffix <CR>.
The delimiter is either a semicolon ";" or none, meaning space (basic commands).
Each AT command has the following structure:
Token
The following figure outlines the basic structure of an AT command line:
Figure 2-2: Basic Structure of a Command Line
The following rules must be observed when issuing a command line to the modem:
Every command line must begin with the letters AT.
Several commands can be concatenated as one line, as long as the total line does not exceed
140 characters with semicolon characters.
Characters:
Spaces are ignored. You can leave spaces between each command and between characters of a
command. You can also include punctuation in telephone numbers, and type commands in either
UPPERCASE or lowercase. For example, the following commands are identical:
ATDT8005551234 < Enter > or
atdt (800) 555-1234 < Enter >
Backspace <S5> character is allowed.
To cancel a dialing command in progress, send any ASCII character to the modem.
To execute the command line, send the <CR> ASCII character.
December 31, 2007
Delimiter
Command2
Mode
Command
Extended commands are
line prefix
delimited with semicolon
Subparameter
ATCMD1 CMD2=12; +CMD1; +CMD2=,,15; +CMD2?; +CMD2=?<CR>
Basic command
(no + prefix)
Extended command
(prefixed with +)
AT Commands Reference Manual
Chapter 2: Introduction to AT Commands
Delimiter
Arguments
Read command for checking
current subparameter values
Subparameters
may be omitted
possible subparameter values
...
CommandN
Command line
termination character
Test command for checking
Suffix
2-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents