Specifications

Chapter 7 – Short Messages Commands
Multi-Tech Systems, Inc. CDMA AT Commands Reference Guide (PN S000294K) 47
Send Message From Storage +CMSS
Description: This command sends a message stored at location value <index>.
Syntax: Command syntax: AT+CMSS=<index>[,<da> [,<toda>] ]
Response syntax: +CMSS: <mr> or +CMS ERROR: <err> if sending fails
If a new recipient address <da> is given, it will be used instead of the one stored with the message.
Command Possible Responses
AT+CMGW=”8585551212”<CR>
Today is my birthday <CTRL-Z>
Note: Store message in phonebook.
+CMGW : 5
OK
Note: Message stored with index 5
AT+CMSS=5,8582221212
Note: Send message 5 to a destination
number
+CMSS: 1
OK
Note: Successful transmission. One SMS
message sent since power up.
AT+CMSS=5,8583331212
Note: Send message 5 to a different
destination number
+CMSS: 2
OK
Note: Successful transmission. Two SMS
messages sent since power up.
For response mode, <mr> is the number of SMS messages that have been sent since power up. The
maximum count is 65,535 messages.
Note: If the “FD” facility is enabled, only the <da> entries in the FDN phonebook can be set.
Delete Message +CMGD
Description: This command is used to delete one or several messages from preferred message storage.
Values: <index>
0-9
When the preferred message storage is “BC”. Integer type values in the range of location numbers of
Message memory when the preferred message storage is “MT” or “SR”.
<DelFlag>
0 Delete message at location <index>
1 Delete All READ messages
2 Delete All READ and SENT messages
3 Delete All READ, SENT and UNSENT messages
4 Delete All messages.
Note: When the preferred message storage is “SR”, as SMS status reports are assumed to have a “READ”
status, if <DelFlag> is greater than 0, all SMS status reports will be deleted.
Syntax: Command syntax: AT+CMGD=<Index> [,<DelFlag>]
Command Possible Responses
+CMTI:”MT”,3
Note: New message received
AT+CMGR=3
Note: Read it
+CMGR: “REC UNREAD”,”8585551212”,
“98/10/01,18 :19 :20”,1,2,0,17 <CR><LF>
Message received!
OK
Note: Unread message received from 8585551212 on the 01/10/1998 at 18H19m 20s
AT+CMGD=3
Note: Delete it
OK
Note: Message deleted
AT+CMGD=1,0 OK
Note: The message from the preferred message storage at the location 1 is deleted
AT+CMGD=1,1 OK
Note: All READ messages from the preferred message storage are deleted
AT+CMGD=1,2 +CMS ERROR:321
Note: NV Error deleting READ messages and SENT (no messages to delete)
AT+CMGD=1,3 OK
Note: All READ, SENT and UNSENT messages are deleted
AT+CMGD=1,4 OK
Note: All messages are deleted