Velocity Edge GX440 Specifications Page 81

  • Download
  • Add to my manuals
  • Print
  • Page
    / 118
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 80
Command Reference
Rev 3.2 Oct.05 79
+CMGL (continued) List SMS messages (continued)
Supported values
The format of <status> depends on whether the modem is in PDU or text mode.
In PDU mode, it is an integer; in text mode, a string:
PDU Mode Text Mode Meaning
0 REC UNREAD Received unread (i.e. new message)
1 REC READ Received read
2 STO UNSENT Stored unsent
3 STO SENT Stored sent
4 ALL All messages (default if <status> omitted)
Returned values
<index> An integer uniquely identifying a message in the message store. The value
lies in the range of location numbers supported by the message memory.
<status> The message status, as listed on page 78.
<alpha> An alphanumeric phone number representing the destination address
<da> or originating address <oa> in the modem phonebook.
<length> The length of the message body in characters.
<pdu> In PDU mode, the SMS message, in the form of the GSM 04.11 SC
address followed by the GSM 03.40 TPDU in hexadecimal format. The
modem converts each octet of TP data unit into two IRA character long
hexadecimal numbers (e.g. an octet with integer value 42 is presented to
the computer as two characters 2A—IRA 50 and 65.)
<oa/da> The Originating-Address-Value <oa> field in string format; type of address
given by <tooa>, or the Destination-Address field <da> in string format;
type of address given by <toda>.
<scts> Service-Centre-Time-Stamp in time-string format: “yy/MM/
dd,hh:mm:ss±zz”.
<tooa/toda> The Type-of-Originating Address octet <tooa> in integer format, or the
Type-of-Destination Address octet <toda> in integer format. In both cases,
when the first character of the phone number is “+” (IRA 43), the default is
145; otherwise the default is 129.
<data> Message body data for text mode messages.
+CMGR=<index> Read SMS message
Returns the message with the location value <index> from the message store. If
the <status> of the message is “received unread” (<status>=0 in PDU mode, or
<status>=REC UNREAD in text mode), then its status changes to “received
read” (1 or REC READ).
The format of the returned message depends on whether the modem is in PDU
or text mode (see +CMGF, page 78):
In PDU mode, the returned message appears in the form:
+CMGR: <status>,<alpha>,<length>
<pdu>
In text mode, the returned message appears in the form:
+CMGR:<status>,<oa>,<alpha>,<scts>,<tooa>,<fo>,
<pid>,<dcs>, <sca>,<tosca>,<length>
<data>
Continued on next page.
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command Description
Page view 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 117 118

Comments to this Manuals

No comments