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
•
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
Summary of Contents for MP 700 Series
Page 1: ...MP 700 Series GPS Rugged Wireless Modem AT Command Reference 2130309 Rev 3 2...
Page 2: ......
Page 6: ...MP 700 Series GPS AT Command Reference 4 2130309...
Page 24: ...MP 700 Series GPS AT Command Reference 22 2130309...
Page 116: ...Index Rev 3 2 Oct 05 114...
Page 117: ......
Page 118: ......