Command Argument Types; Numeric Constants; String Constants; Command Mode Types - Motorola G24 Guide Developer's Manual

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

Advertisement

Command Argument Types

<value> consists of either a numeric constant or a string constant.
<compound_value> consist of several <value> parameters separated by commas.
Example of compound_value: <value1>,<value2>,...,<valueN>

Numeric Constants

Numeric constants are expressed in decimal, hexadecimal, or binary form. In the G24, the
definition of each command specifies which form is used for values associated with that
command.

String Constants

String constants consist of a sequence of characters, bounded at the beginning and end by the
double-quote character (").

Command Mode Types

Parameter Set Command Syntax

The terminal may store a value or values in a parameter by using the SET command.
The parameter definition indicates, for each value, whether the specification of that value is
mandatory or optional. For optional values, the definition indicates the assumed (default) value if
none is specified. The assumed value may be either a previous value (that is, the value of an
omitted sub-parameter retains its previous value), or a fixed value (for example, the value of an
omitted sub-parameter is assumed to be zero). Generally, the default value for numeric
parameters is 0, and the default value for string parameters is "" (empty string).
The following syntax are used for:
Actions that have no sub-parameters: +<name>
Parameters that accept a single value: +<name>=<value>
Parameters that accept more than one value: +<name>=<compound_value>

Parameter Read Command Syntax

The terminal can determine the current value or values stored in a parameter by using the
following syntax: +<name>?

Parameter Test Command Syntax

The terminal can test whether a parameter is implemented in the G24, and determine the
supported values, by using the following syntax: +<name>=?
December 31, 2007
AT Commands Reference Manual
Chapter 2: Introduction to AT Commands
2-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents