AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page81of233
Set Text Mode Parameters - +CSMP
+CSMP - Set Text Mode Parameters
AT+CSMP=
[<fo>
[,<vp>
[,<pid>
[,<dcs>]]]]
Set command is used to select values for additional parameters for storing and
sending SMs when the text mode is used (AT+CMGF=1)
Parameters:
<fo> - depending on the command or result code:
first octet of 3GPP TS 03.40/23.040 SMS-DELIVER, SMS-SUBMIT (default
17), SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer
format.
<vp> - depending on SMS-SUBMIT <fo> setting:
3GPP TS 03.40/23.040 TP-Validity-Period either in integer format (default
167) or in quoted time-string format.
<pid> - 3GPP TS 03.40/23.040 TP-Protocol-Identifier in integer format.
<dcs> - depending on the command or result code:
3GPP TS 03.38/23.038 SMS Data Coding Scheme (default 0), or Cell
Broadcast Data Coding
Scheme.
Note: the current settings are stored through +CSAS
AT+CSMP?
Read command reports the current setting in the format:
+CSMP: < fo>,<vp>,<pid>,<dcs>
AT+CSMP=?
Test command returns the OK result code.
Example
Set the parameters for an outgoing message with 24 hours of validity period and
default properties:
AT+CSMP=17,167,0,0
OK
Reference
3GPP TS 27.005; 3GPP TS 03.40/23.040; 3GPP TS 03.38/23.038
Show Text Mode Parameters - +CSDH
+CSDH - Show Text Mode Parameters
AT+CSDH=
[<show>]
Set command controls whether detailed header information is shown in text mode
(AT+CMGF=1) result codes.
Parameter:
<show>
0 - do not show header values defined in commands +CSCA and +CSMP (<sca>,
<tosca>, <fo>, <vp>, <pid> and <dcs>) nor <length>, <toda> or <tooa> in
+CMT, +CMGL, +CMGR result codes for SMS-DELIVERs and SMS-
SUBMITs in text mode. For SMS-COMMANDs in +CMGR result code do not
show <pid>, <mn>, <da>, <toda>, <length> or <cdata>
1 - show the values in result codes
AT+CSDH?
Read command reports the current setting in the format: