Table 12, Initialization strings – Vaisala Hydromet Data Collection Platform User Manual

Page 138

Advertising
background image

User's Guide ______________________________________________________________________

136 _________________________________________________________________ M210933EN-C

present. Note that the ones marked with footnote 1 are only for GSM
connection.

With the PSTN modems, it is important that some kind of error
correction is used for the link between modems. For this purpose, the
initialization string for the PSTN modem contains the following
command:

You can combine multiple AT options in the same command, and
separate the commands with <CR> (carriage return) that is entered as \r
in the initialization string.

Table 12

Initialization Strings

String

Description

ATV1

Verbose responses, that is, the modem responds
with whole words instead of numbers.

ATE0

Echo off

ATS0=0

Disables modem from automatically answering
incoming calls (to enable answering use option
Answer incoming calls).

AT+CMGF=1

SMS messages in the text mode

1

1. GSM only

AT+CNMI=2,1

Inbound SMS message buffering mode

1

AT\\N2 =

Forces LAPM or MNP connection. Failure to obtain a
reliable connection causes the modem to disconnect.

NOTE

When a command contains the backslash "\" character, for example,
AT\N2, the backslash must be duplicated in the initialization string.
Otherwise, modem control attempts to interpret \N as a control
sequence, and the command will fail. To make the previous command
work correctly, it must be entered in the initialization string as
AT\\N2.

NOTE

The commands sent are not checked. Any errors are indicated by
warnings, and can be viewed in the debug mode, see section

Troubleshooting Modem Operation on page 150

.

Advertising