1vv0301515 Rev.1
Page 36 of 59
2018-07-18
2.10.1.1.
Set Text Mode Parameters
When SMS format is Text mode, the SMS parameters that usually reside on the header of the
PDU must be set apart with the +CSMP command.
AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]]
Read command returns the current setting
AT+CSMP?
+CSMP: 0, 167, 0, 0
OK
Example 1
Set the SMS parameters as follow:
•
<fo> expressed in binary format, see table below. The binary number expressed in
decimal format is 17.
0
0
0
1
0
0
0
1
Module is not requesting a
status report
Always 0
Replay Path not
requested
Validity period field
present in relative format
Always 0
SMS-SUBMIT
•
<vp> validity period (in relative format) = 24 hours is coded into 167 decimal format.
•
<pid> protocol identifier.
•
<dcs> data coding scheme, default value 0.
AT+CSMP= 17,167,0,0
OK
NOTE
: the setting is automatically saved.
2.10.1.2.
Character Sets
Use the following AT command to select the character set:
AT+CSCS=[<chset>]
Test command returns the supported character sets:
AT+CSCS=?
+CSCS: ("IRA", "GSM", "HEX", "PCCP437", "8859-1", "UCS2", "UCS2_0X81")
OK
Read command returns the current character set:
AT+CSCS?
+CSCS: "IRA"
OK
2.10.1.2.1. IRA Character Set
The IRA character set is used in Text mode. IRA set defines each character as a 7-bit value: from
0x00 to 0x7F. The table below lists all the supported characters and their hexadecimal code.