beautypg.com

Basic at command syntax, Basic at command syntax -37 – Symbol Technologies MC9000-G User Manual

Page 313

background image

Accessories

7-37

Basic AT Command Syntax

A command line is made up of three elements:

Prefix - consists of the characters “AT” or “at” or, to repeat the execution of the previous
command line, “A/” or “a/”.

Body - made up of individual commands described later. Space characters (IA5 2/0) are
ignored and may be used for formatting purposes, unless they are embedded in numeric or
string constants. The termination character may not appear in the body. The modem can
accept at least 40 characters in the body.

Termination character - may be selected by a user option (parameter S3). The default is
CR.

The format of Basic Syntax commands, except for the D and S commands, is as follows:

[]

where:

is either a single character, or the “&” character followed by a single character
per V.250; or the “%” character followed by a single character, the “*” character followed
by a single character, or the “^” character followed by a single character.

is a string of one or more characters from “0” through “9” representing a decimal
integer value. Commands expecting a are noted in the description of the
command. If is missing from such a command ( is immediately
followed by another or the termination character), the value “0” is assumed. If
a command does not expect a and a number is present, an error occurs. All
leading “0”s in are ignored by the modem.

Additional commands may follow a command (and associated parameter, if any) on the same
command line with a separation character. The actions of some commands cause the rest of the
command line to be ignored.

S-Parameters

Commands that begin with the letter “S” are known as “S-parameters”. The number following the
“S” indicates the “parameter number” referenced. If the number is not recognized as a valid
parameter number, an ERROR result code issues. Immediately following this number, either a “?” or
“=” character must appear. “?” is used to read the current value of the indicated S-parameter; “=”
sets the S-parameter to a new value.

S?