Command argument types, Numeric constants, String constants – PIONEERPOS AT Commands G24-LC User Manual

Page 63: Command mode types, Parameter set command syntax, Parameter read command syntax, Parameter test command syntax, Command argument types -7, Numeric constants -7 string constants -7, Command mode types -7

Advertising
background image

Chapter 2: Introduction to AT Commands

April 15, 2008

G24-L AT Commands Reference Manual

2-7

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-L, 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-L, and determine the
supported values, by using the following syntax: +<name>=?

Advertising
This manual is related to the following products: