AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page91of233
+CMGR - Read Message
<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 LE9x0 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: in both cases if status of the message is 'received unread', status in the
storage changes to 'received read'.
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
Message Sending and Writing
Send Message - +CMGS