Westermo TD-34 User Manual

Page 20

Advertising
background image

20

6610-2203

+CMGW – Store SMS in memory

This command sets SMS message and number in memory.

Syntax:

AT+CMGW=<index>,<num>
AT+CMGW=?
AT+CMGW?
<index>

Store SMS message in index [0,1]

<num>

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

<index>,<num> = (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=<index>,<num>
AT+CMSS=?
<index>

Send SMS message from index [0,1]

<num>

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

<index>,<num> = (0-1), (0-16 CHAR)

ERROR

Otherwise

Advertising
This manual is related to the following products: