Message Overwriting +Wmgo - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

Message Overwriting +WMGO

Description:
The +CMGW command specifies a location in the SMS or Flash memory for the next SMS to be stored
when the +CMGW indicates a message is ready to be stored. The defined location is used only once:
+WMGO has to used again to perform another overwrite.
Important Notes:
If the external application specifies a free location and an incoming message is received before the
AT+CMGW command occurs, the product may store the incoming message at the specified available
location. If the user then issues an AT+CMGW command without changing the location with another
AT+WMGO, the received message will be overwritten.
The location number is not kept over a software reset.
Values:
<loc>
Syntax:
Command Syntx: AT+WMGO= <loc>
Command
AT+CPMS?
Note: Check the storage area
AT+CMGW="+33146290800"<CR>
Hello how are you?<ctrl-Z>
Note: Write a message in text mode
AT+WMGO=?
AT+WMGO=4
AT+CMGW="+33146299704"<CR>
You are overwritten<ctrl-Z>
AT+WMGO?
AT+WMGO=4
AT+CPMS="SM","ME,""SM"
AT+WMGO?
AT+WMGO?
AT+WMGO=999
Note: If the storage area is changed with the AT+CPMS command, the value of WMGO will be reset to
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
Location number of the SIM record to write or overwrite. The number depends on the SIM or
Flash memory capacity.
zero.
Chapter 9 – Short Messages Commands
Possible responses
+CPMS: "SM",3,10,"SM",3,10,"SM",3,10
+CMGW: 4
OK
Note: Message stored in index 4 in the SIM
+WMGO: (1-10)
OK
Note: Possible values for the SIM
+CMGW: 4
OK
Note: New Message stored in index 4
+WMGO: 4
OK
Note: The value was used, so re-initialization
OK
+CPMS: 3,10,0,99,3,10
OK
Note: Change the storage area from SIM to Flash
+WMGO: (1-99)
OK
Note: Possible values for Flash
+WMGO: 0
OK
Note: We changed the storage area, so the value
was reinitialized
+CMS ERROR: 321
76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents