The following table shows the +CPMS parameters.
<Parameter>
<mem1>
<mem2>
<mem3>
"SM"
Example:
AT+CPMS="SM"
+CPMS: 5,50,5,50,5,50
OK
AT+CPMS?
+CPMS: "SM",5,50,"SM",5,50,"SM",5,50
OK
7.1.2 +CMGF, Message Format
This command is a basic command. The Set command handles the selection of the message format used
with send, list, read and write commands, as well as the format of unsolicited result codes resulting from
message receipts. The Module supports both PDU mode (where entire TP data units are used) and text
mode (where the body of the message and its headers are given as separate parameters).
Command
Set
Read
G5/G6-Family AT Commands User Manual
Description
Memory from which messages are read and deleted.
Supported values are: "SM".
The default value at power-up is "SM".
Memory to which writing operation is made.
Supported value is: "SM"
The default value at power-up is "SM".
Memory to which received SMS are stored (unless forwarded directly to
TE). Supported value is: "SM".
The default value at power-up is "SM".
SIM message storage
Syntax
Response/Action
+CMGF=<
OK
mode>
or:
+CMS ERROR: <err>
+CMGF?
+CMGF: <mode>
Remarks
The Set command sets the message
format to use.
The Read command displays the
current message format.
Page 84 of 243