PioneerPOS G24-LC 用户手册

下载
页码 444
Chapter 3:  AT Commands Reference
 April 15, 2008
G24-L AT Commands Reference Manual
3-77
The following table shows the +CPMS parameters.
+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 G24-L 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).
The following table shows the +CMGF parameters.
Table 3-42: +CPMS Parameters
<Parameter>
Description
<mem1> 
Memory from which messages are read and deleted.
Supported values are: "MT","SM","ME","BM".
The default value at power-up is "MT".
<mem2>
Memory to which writing operation is made.
Supported value is: "ME".
The default value at power-up is "ME".
<mem3>
Memory to which received SMS are stored (unless forwarded directly to TE).
Supported value is: "SM".
The default value at power-up is "SM".
"BM"
Reserved for future implementation
"ME"
ME message storage
"MT"
All storages
"SM"
SIM message storage
Command Type
Syntax
Response/Action
Remarks
Set
+CMGF=<mode>
OK
or:
+CMS ERROR: <err>
The Set command sets the message 
format to use.
Read
+CMGF?
+CMGF:<mode>
The Read command displays the 
current message format.
Test
+CMGF=?
+CMGF:(list of 
supported <mode>s)
The Test command lists all the 
supported message formats.
Table 3-43: +CMGF Parameters
<Parameter>
Description
<mode>
Message format:
0
PDU mode (default)
1 Text 
mode