Specifications
February 23, 2000 Motorola Personal Communications Sector Page 22
Satellite Subscriber Products Division
Motorola Personal Communications Sector
Satellite Subscriber Products Division
ISU AT Command Reference Extended Cellular Commands (+C)
Test Command: +CMGF=?
Test command returns the list of supported <mode>s. Response is in the form:
+CMGF: (list of supported <mode>s)
4.13 +CMGL - List SMS Messages
Exec Command: +CMGL[=<stat>]
Execution command returns messages with status value <stat> from message storage <mem1> (<mem1> is
the selected message storage from the +CPMS command) to the DTE. If listing fails, final result code +CMS
ERROR: <cms_err> is returned.
Valid values for <stat> are:
PDU Text
0 "REC UNREAD" received unread message (i.e. new message) (default)
1 "REC READ" received read message
2 "STO UNSENT" stored unsent message (only applicable to SMs)
3 "STO SENT" stored sent message (only applicable to SMs)
4 "ALL" all messages (only applicable to +CMGL command)
Response is in the following format for PDU mode:
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>
[<CR><LF>+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu> [...]]
where:
<alpha>: string type alphanumeric representation of TP-destination address or TP-originating
address corresponding to the entry found in the phonebook (optional field);
<length>: in PDU mode, this is the length of the actual TP data unit in octets (i.e. the RP layer
SMSC address octets are not counted in the length)
<pdu>: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format.
Test Command: +CMGL=?
Test command gives a list of all status values supported by the phone. Response is in the form:
+CMGL: (list of supported <stat>s)
4.14 +CMGR - Read SMS Message
Exec Command: +CMGR=<index>
Execution command returns the SMS message with location value <index> from message storage <mem1>
(<mem1> is the selected message storage from the +CPMS command). If status of the message is ’received
unread’, status in the storage changes to ’received read’. If reading fails, final result code +CMS ERROR:
<cms_err> is returned.
Response is in the following format for PDU mode:
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
where:
<alpha>: string type alphanumeric representation of TP-destination address or TP-originating
address corresponding to the entry found in the phonebook (optional field);