beautypg.com

Siemens M1 User Manual

Page 63

background image

62

gsm-m1-e.fm

GSM M1 Module, English: A24859-N4000-A100-1-7677

Technical reference section

26.2.96

The ATSn? command allows you to read the "n"-th S-register. Parameter "n" must be an
integer and designate an S-register.

Example:

Enter:

ATS0?

GSM module:

003

OK

Enter:

ATS0?S7?

GSM module:

003

030

OK

In response to the ATSn? command, the GSM module displays the register contents
as a three-digit decimal number. If more than one register is read on one command line,
the GSM module displays the register contents in the order in which the registers ap-
pear in the command string. The GSM module transmits a and character
after each set of register contents is displayed. If the command syntax is incorrect, the
GSM module returns ERROR.

The ATSn=x command allows you to instruct your GSM module to store the value "x"
in register "n". "n" and "x" must be integers and decimal numbers.

• n must designate an S-register.

• x must be from "0" to "255".

Example:

Enter:

ATS0=3

GSM module:

OK

This command sets register S0 to the value "3", i.e. the GSM module automatically an-
swers a call after 3 ringing signals. The GSM module acknowledges the command with
OK to indicate that the command was executed and a new command can be pro-
cessed.

ATSn? - Read an S-register

ATSn=x - Write to an S-register