beautypg.com

Westermo TD-34 User Manual

Page 20

background image

20

6610-2203

+CMGW – Store SMS in memory

This command sets SMS message and number in memory.

Syntax:

AT+CMGW=,
AT+CMGW=?
AT+CMGW?

Store SMS message in index [0,1]

Store SMS number in index [0,1]

Examples:

AT+CMGW=1,12345
> 123
> ABC
CTRL^Z
OK
AT+CMGW?
SMS NUM0=
SMS MSG0=
SMS NUM1=12345
SMS MSG1=123\rABC
OK
AT+CMGW=?
OK

Result Codes: OK

, = (0-1), (0-16 CHAR)

ERROR

Otherwise

+CMSS – Send SMS from memory

This command send a SMS message with number and data stored within memory.

Syntax:

AT+CMSS=,
AT+CMSS=?

Send SMS message from index [0,1]

Send SMS with number instead of index [0,1] number

Examples:

AT+CMSS=1
OK
AT+CMSS=1,123
OK
AT+CMSS=?
+CMSS : (0-1),(1-16 CHAR)
OK

Result Codes: OK

, = (0-1), (0-16 CHAR)

ERROR

Otherwise

This manual is related to the following products: