AT Command Set
MC35_ATC_01_V05.00 Page 138 of 256 15.07.2002
for SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]] OK
2) If PDU mode (+CMGF=0) and command successful:
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>
[<CR><LF>+CMGL: <index>,<stat>,[alpha],<length><CR><LF><pdu>
[...]] OK
3) If error is related to ME functionality:
+CMS ERROR: <err>
Parameter
<alpha> string type alphanumeric representation of <da> or <oa> c orre-
sponding to the entry found in phonebook; implementation of th is
feature is manufacturer- specific
<ct> GSM 03.40 TP-Command-Type in integer format (default 0)
<da> GSM 03.40 TP-Destination-Address Address-Value field in string
format; BCD numbers (or GSM default alphabet characters) are
converted into characters; type of address given by <toda>
<data>
In case of SMS: GSM 03.40 TP-User-Data in text mode responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used and <fo> indi-
cates that GSM 03.40 TP-User-Data-Header-Indication is not set:
ME/TA converts GSM alphabet into current TE character set ac-
cording to rules of Annex A
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is us ed, or <fo>
indicates that GSM 03.40 TP-User-Data-Header-Indication is set:
ME/TA converts each 8-bit octet into hexadecimal num bers con-
taining two IRA characters (e.g. octet with integer value 42 is
presented to TE as two characters 2A (IRA 50 and 65))
Parameter
<dt> GSM 03.4 0 TP-Discharge-Time in time-string format: “yy/MM/
dd,hh:mm:ss±zz”, where characters indicate year (two last digits),
month, day, hour, minutes, seconds and time zone. For example,
6th of May 1994, 22:10:00 GMT+2 hours equals
“94/05/06,22:10:00+08”
<fo> depending on the command or result code: first octet of GSM 03.40
SMS-DELIVER, SMS-SUBMIT (default 17), SMS- STATUS-
REPORT, or SMS -COMMAND (default 2) in integer format
<length> integer type value indicating in the text mode (+CMGF=1) the length
of the message body <data> (or <cdata>) in characters; or in PDU
mode (+CMGF=0), the length of the actual TP data unit in octets
(i.e. the RP layer SMSC address octets are not counted in the
length)
<index> inte
g
er t
yp
e; value in the ran
g
e of location numbers su
pp
orted b
y