LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 129 of 273
+CMGL - List Messages
<tooa/toda>
- type of number
<oa/da>
129 - number in national format
145 - number in international format (contains the "
+
")
<length>
- text length
<data>
- TP-User-Data
If
<dcs>
indicates that GSM03.38/23.038 default alphabet is used , each
character of GSM/WCDMA alphabet will be converted into current TE
character set (see +CSCS)
If
<dcs>
indicates that 8-bit or UCS2 data coding scheme is used, each 8-
bit octet will be converted into two IRA character long hexadecimal number
(e.g. octet 0x2A will be converted as two characters 0x32 0x41)
Each message delivery confirm is represented in the format
:
+CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
where
<index>
- message position in the storage
<stat>
- message status
<fo>
- first octet of the message PDU
<mr>
- message reference number
<scts>
- arrival time of the message to the SC
<dt>
- sending time of the message
<st>
- message status as coded in the PDU
Note: If parameter is omitted the command returns the list of sms with “
REC
UNREAD
” status
.
AT+CMGL=?
Test command returns a list of supported
<stat>
s
Example
AT+CMGF=1
Set Text mode
OK
AT+CMGL
+CMGL: 1,"REC UNREAD","+821020955219",,"07/07/26,20:05:11+36"
SMS Test message
+CMGL: 2,"REC UNREAD","+821020955219",,"07/07/26,20:05:58+36"
SMS Test message...
+CMGL: 3,"REC UNREAD","+821020955219",,"07/07/26,20:06:37+36"
SMS Test Message..
+CMGL: 4,"REC UNREAD","+821020955219",,"07/07/26,20:07:43+36"
TEST MESSAGE..
+CMGL: 5,"REC UNREAD","+821020955219",,"07/07/26,20:09:07+36"
TEST MESSAGE
OK
AT+CMGF=0
Set PDU mode
OK
AT+CMGL=2
+CMGL: 0,2,,24
Содержание LE910-SKG
Страница 1: ......