HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 121 of
229
+CMGR - Read Message
<dcs> - Data Coding Scheme
<oa> - Originator address, string type.
<da> - Destination address, string type.
<alpha> - string type alphanumeric representation of <da> or <oa>, corresponding
to an entry found in the phonebook; used character set is the one
selected with command +CSCS.
<sca> - Service Centre number
<tooa>,<toda >,<tosca> - type of number <oa>,<da>,<sca>
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)
Note: If status of the message is ‘received unread’, status in the storage changes to
‘received read’ before display
AT+CMGR=?
Test command returns the OK result code
Example AT+CMGF=0
AT+CMGR=1
+CMGR: 2,,21
079128019291903011640A8110516529700000A709027A794E77B95C2E
OK
AT+CMGF=1
OK
AT+CMGR=3
+CMGR: "REC READ","+821020955219",,"07/07/19,10:06:34+36"
test message/.....
OK
Reference 3GPP TS 27.005
3.5.4.3.4. New Message Acknowledgement to ME/TA - +CNMA
+CNMA – New Message Acknowledgement
(PDU Mode)
AT+CNMA [=<n>
[,<length> [<CR>
PUD is given<ctrl-
Z/ESC]]]
Execution command confirms correct reception of a new message (SMS-DELIVER
or SMS-STATUS-REPORT) which is routed directly to the TE.
Note: When +CSMS is set to 1, This command should be sent TA within 15
seconds after a +CMT new message indication, and no +CNMA is needed after
timeout, giving +CNMA after timeout will result in +CMS error. CNMI parameters