At+Cmgs Send Message - Quectel EC25 Command Manual

Lte module series, at commands
Hide thumbs Also See for EC25:
Table of Contents

Advertisement

5
Korean
6
Chinese
7
Hebrew
<type>
0
Normal
1
CPT
2
Voice Mail
3
SMS Report
<mem1>
Messages to be read and deleted from this memory storage
"SM"
"ME"
"MT"
Example
+CMTI: "SM",3
AT+CSDH=1
OK
AT+CMGR=3
+CMGR: "REC UNREAD","+8615021012496",,"13/12/13,15:06:37+32",145,4,0,0,"+861380021050
0",145,27
<This is a test from Quectel>
OK

9.8. AT+CMGS Send Message

The Write Command sends a short message from TE to network (SMS-SUBMIT). After invoking the write
command, wait for the prompt ">" and then start to write the message. After that, enter <CTRL-Z> to
indicate the ending of PDU and begin to send the message. Sending can be cancelled by giving <ESC>
character. Abortion is acknowledged with "OK", though the message will not be sent. The message
reference <mr> is returned to the TE on successful message delivery. The value can be used to identify
message upon unsolicited delivery status report result code.
AT+CMGS Send Message
Test Command
AT+CMGS=?
Write Command
1) If text mode (AT+CMGF=1):
AT+CMGS=<da>[,<toda>]<CR>
text is entered
EC25&EC21_AT_Commands_Manual
(U)SIM message storage
Mobile equipment message storage
Same as "ME" storage
//Indicates that new message has been received and saved
to <index>=3 of "SM"
//Read message
Response
OK
Response
TA sends message from TE to the network (SMS-SUBMIT).
Message reference value <mr> is returned to the TE on
successful message delivery. Optionally (when AT+CSMS
LTE Module Series
EC25&EC21 AT Commands Manual
129 / 231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec21

Table of Contents