![Quectel UG Series Command Manual Download Page 138](http://html.mh-extra.com/html/quectel/ug-series/ug-series_command-manual_772151138.webp)
UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 137 / 247
Parameter
9.16. AT+QCMGS Send Concatenated Messages
AT+QCMGS is used to send concatenated massages. When sending a concatenated message, which is
different from AT+CMGS, each segment of the concatenated message must be identified by the
additional parameters:
<uid>
,
<msg_seg>
and
<msg_total>
. When sending all segments of the
message one by one, AT+QCMGS must be executed multiple times (equal to
<msg_total>
) for each
segment. This command is only used in text mode (
AT+CMGF
=1).
starting from when the SM is received by the SMSC (
<vp>
is
in range 0... 255) or define the absolute time of the validity
period termination (
<vp>
is a string).
OK
Maximum Response Time
300ms
Reference
3GPP TS 27.005
<fo>
First octet. Depending on the command or result code: First octet of 3GPP TS 23.040
SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT SMS-COMMAND
in integer format. If a valid value has been entered once, parameter can be omitted
<vp>
Validity period. Depending on SMS-SUBMIT
<fo>
setting: 3GPP TS 23.040
TP-Validity-Period either in integer format or in time-string format (refer to
<dt>
)
<pid>
Protocol identifier. 3GPP TS 23.040 TP-Protocol-Identifier in integer format (default 0).
<dcs>
Data coding scheme. Depending on the command or result code: 3GPP TS 23.038
SMS Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in
integer format
AT+QCMGS
Send Concatenated Messages
Test Command
AT+QCMGS=?
Response
OK
Write Command
If text mode (
+CMGF=1
):
AT+QCMGS=<da>[,<toda>][,<uid>,<m
sg_seg>,<msg_total>]
<CR>
text is entered
<ctrl-Z/ESC>
Response
If text mode (
+CMGF=1
) and sent successfully:
+QCMGS:
<mr>
OK
ERROR
If error is related to ME functionality:
+CMS ERROR: <err>
Quectel
Confidential