Westermo GD-01 User Manual

Page 74

Advertising
background image

74

6196-2220

+WMGO – Message overwriting

Description:

The +CMGW command writes an SMS to the first location available.To write an SMS to
a specified location, the +WMGO command forces the product to write an SMS (with
the +CMGW command) to the location specified with +WMGO, but for just one
+CMGW command.

Syntax:

AT+WMGO= <loc>

Defined values:

<loc>

location number of the SIM record to write or overwrite

Possible responses:

OK

if <loc> is a valid SMS location, for AT+WMGO=?
and for AT+WMGO?

+CMS ERROR: 321

if <loc> is out of the SIM capacity range.

+WMGO: <loc> for

AT+WMGO?

On the next AT+CMGW command, the record number used will be the one specified by
the AT+WMGO command.The location is forgotten and, in order to perform a
second overwrite, +WMGO has to be used again. If the external application specifies a
free location, and if an incoming message is received before the AT+CMGW command,
the product may store the incoming message at a location available.This could be the
one specified by +WMGO (the product does not prevent from this). If the user then
issues an AT+CMGW command without changing the AT+WMGO location, the new
message will be overwritten!

NOTE: that this location number is not kept over a software reset.

+WUSS – Unchange SMS Status

Description:

The +WUSS command allows to keep the SMS Status to UNREAD after +CMGR or
+CMGL.

Syntax:

AT+WUSS = <mode>

Defined values:

<mode>

0:

The SMS Status will not change.

1:

The SMS Status will change.

Possible responses:

OK

B A C K

Advertising