Send message from storage +cmss – Multi-Tech Systems CDMA Wireless Modem User Manual
Page 63
Chapter 8 – Short Messages Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C
63
Write Message to Memory +CMGW
Description: This command stores a message in memory (SMS-SUBMIT). The memory location
is returned (no choice possible as with phonebooks +CPBW). A text or Unicode message is
entered as described for the Send Message +CMGS command.
The
by
The parameters
follows:
Priority: 0 (Normal)
Call back number: Not included in the message.
Values:
0 – Normal
1 – Interactive
2 – Urgent
3 – Emergency
Syntax:
Command syntax: AT+CMGS=
enter text
Response syntax: +CMGW:
Command
Possible Responses
AT+CMGW=”8585551212”
Hello how are you ?
Note: Write a message
+CMGW: 4
OK
Note: Message stored in index 4
AT+CMGW=”8587777777”,6
Hello?
Note: Write a message with specified length of 6 bytes
+CMGW:
OK
Note: Message stored in
AT+CMGW=”8585551212”,2,1,1”5550000”
Please call ASAP
Note: Write message with the specified priority, privacy,
reply option and call back number. Notice length field is
omitted.
+CMGW: 5
OK
Note: Message stored in index 5
Send Message From Storage +CMSS
Description: This command sends a message stored at location value
Syntax:
Command syntax: AT+CMSS=
Response syntax: +CMSS:
If a new recipient address
message.
Command
Possible Responses
AT+CMGW=”8585551212”
Today is my birthday
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,
up. The maximum count is 65,535 messages.
Note: If the “FD” facility is enabled, only the