User Manual
GM47/GM48 INTEGRATOR’S MANUAL
264
LZT 123 7263 R1A
Text Mode
Returns messages with status value <stat> from message storage
<mem1> to the TE. About text mode parameters in Italics, refer
command Show Text Mode Parameters (+CSDH). If the status, of the
message is ‘received unread’, status in the storage changes to ‘received
read’. If listing fails final result code +CMS ERROR: <err> is returned.
<pdu> Description
InthecaseofSMS:GSM04.11SCaddressfollowedby
GSM 03.40 TPDU in hexadecimal format: ME/TA converts
each octet of TP data unit into two IRA character long
hexadecimal number (e.g. octet with integer value 42 is
presented to TE as two characters 2A (IRA 50 and 65))
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
Description Command Possible Responses
List message AT+CMGL
[=<stat>]
• if text mode (+CMGF=1), command
successful and SMS-SUBMITs and/or
SMS-DELIVERs:
+CMGL: <index1>,<stat>,<oa/da>,
[<alpha>],[<scts>][,<tooa/
toda>,<length>]<CR><LF><data>[<CR>
<LF>
+CMGL: <index2>,<stat>,<oa/da>,
[<alpha>],[<scts>][,<tooa/
toda>,<length>]<CR><LF><data>[…]]
• if text mode (+CMGF=1), command
successful and SMS-STATUS-REPORTs:
+CMGL:<index1>,<stat>,<fo>,<mr>,
[<ra>],[<tora>],<scts>,<dt>,<st>
[<CR><LF>
+CMGL:<index2>,<stat>,<fo>,<mr>,
[<ra>],[<tora>],<scts>,<dt>,<st>[…]]
• if text mode (+CMGF=1), command
successful and SMS-COMMANDs:
+CMGL:<index>,<stat>,<fo>,<ct>
[<CR><LF>
+CMGL:<index>,<stat>,<fo>,<ct>[…]]
• if text mode (+CMGF=1), command
successful and CBM storage:
+CMGL:<index>,<stat>,<sn>,<mid>,
<page>,<pages>,<CR><LF><data>
[<CR><LF>
+CMGL:+CMGL:<index>,<stat>,<sn>,
<mid>,<page>,<pages><CR><LF>
<data>[…]]
• otherwise:
+CMS ERROR: <err>
•OK
• ERROR
Show if the
command is
supported
AT+CMGL=? • +CMGL: (list of supported <stat>s)
•OK
• ERROR
<index> Description
Integer type Valueintherangeoflocationnumberssupportedby
<mem1>