
LTE Module Series
EC25&EC21 AT Commands Manual
EC25&EC21_AT_Commands_Manual 141 / 231
OK
AT+CSDH=1
OK
AT+CMGR=2
+CMGR: “STO UNSENT”,“”,,128,17,0,0,143,“+8613800551500”,145,18
<This is a test from Quectel>
OK
9.16. AT+CSMP Set SMS Text Mode Parameters
The command is used to set values for additional parameters needed when a short message is sent to
the network or placed in a storage in text mode.
Parameter
AT+CSMP Set SMS Text Mode Parameters
Test Command
AT+CSMP=?
Response
OK
Read Command
AT+CSMP?
Response
+CSMP: <fo>,<vp>,<pid>,<dcs>
OK
Write Command
AT+CSMP=<fo>[,<vp>[,<pid>[,<dcs>]]
]
Response
TA selects values for additional parameters needed when SM
is sent to the network or placed in a storage when text mode
is selected (
AT+CMGF=1
). It is possible to set the validity
period starting from when the SM is received by the SMSC
(
<vp>
ranges from 0 to 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>
).