Specifications
MP 700 Series GPS AT Command Reference
78 2130309
+CMGF=<n>
+CMGF?
Select SMS message format
Specifies the input and output format of messages to use. <n> indicates the
format of messages used with send, list, read and write commands and
unsolicited result codes resulting from received messages.
There are two available formats for text messages:
• <n>=0 specifies PDU (Protocol Description Unit) mode, in which the
complete SMS message, including all header information, is passed as a
binary string..
• <n>=1 specifies text mode, where the headers and body of the messages
are given as separate parameters.
Text mode is an encoding of the bit stream represented by PDU mode. See
+CMGC (page 77) for information on sending messages.
+CMGF? returns the current setting.
+CMGL
[=<status>]
List SMS messages
Lists messages of the specified <status> from the message store. If <status> is
omitted, the command lists all messages (same as <status>=4).
The format of the returned messages depends on whether the modem has been
set to PDU or text mode (see +CMGF, page 78):
• In PDU mode, returned messages appear in the form:
+CMGL: <index>,<status>,<alpha>,
<length><CR><LF>
<pdu data>
+CMGL: <index>,<status>,<alpha>,
<length><CR><LF>
<pdu data>
etc.
• In text mode, returned messages appear in the form:
+CMGL: <index>,<stat>,<oa/da>,<alpha>,
<scts>,<tooa/toda>, <length><CR><LF>
<message text>
+CMGL: <index>,<stat>,<oa/da>,<alpha>,
<scts>,<tooa/toda>, <length><CR><LF>
<message text>
[etc.]
Continued on next page.
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command Description