beautypg.com

Cmgw – write message to memory – Westermo GDW-11 User Manual

Page 98

background image

98 Short Messages commands

6615-2220

+CMGW – Write Message to Memory

Description:

This command stores a message in memory (either SMS-SUBMIT or SMS-DELIVERS).
The memory location is returned (no choice possible as with phonebooks
+CPBW).

Text or PDU is entered as described for the Send Message +CMGS command.

Syntax text mode:

( is returned in both cases)

AT+CMGW= [, [, ] ]

enter text

Syntax in PDU mode:

AT+CMGW= [,]

give PDU

Parameters:

Originating or Destination Address Value in string format.

Type of Originating / Destination Address

Text mode

PDU mode

“REC UNREAD”

0

“REC READ”

1

“STO UNSENT”

2

“STO SENT”

3

NOTE:

Integer type in PDU mode (default 2 for +CMGW), or string type in text mode (default
“STO UNSENT” for +CMGW). Indicates the status of message in memory. If is
omitted, the stored message is considered as a message to send.

Length of the actual data unit in bytes

This manual is related to the following products: