
GSM Module
2.5.11
+CMSS: messages saved in SIM card
Description
This command is used to send the messages saved in SIM card.
Format AT+CMSS=<index>[,<da>
[,<toda>]]
Return format: +CMSS : <mr>
或
+CMS ERROR: <err>
If the new target number is designated, the new number will replace the
number saved in the message.
AT+CMGF=1
AT+CMGW="1331653****"<CR>
(note the phone number
should not exceed 20 digits)
ABC<ctrl-Z>
+CMGW:2
OK
Set as text mode
Write a message and send it to
1331653****
The message will be saved in index 2
AT+CMSS=2
+CMSS:0
OK
Send the messages saved in index 2
Message sent
CMSS return initial value 0
AT+CMSS=2
+CMSS:1
OK
As the message is saved
Do not designate the number to send
the message
Message sent
,
(send to the address
used to save the message
CMSS return value 1
Example
AT+CMSS=2,"1302755****"
+CMSS:2
OK
Use number 1302755**** to replace the
original number 1331653****, and send
a message to new number
2.5.12
+ZSMGS: message full indication
Description
This command is used to indicate the message full status.
ZSMGS:<status>
EZSMGS:FULL
OK
+ZSMGS:FULL
OK
Parameters
<status>
:
messages status full
40