beautypg.com

At+cmgr read sms message, 5 at+cmgr read sms message – Siemens MC35 User Manual

Page 124

background image

AT Command Set

MC35_ATC_01_V03.02

Page 124 of 228

13.03.2002

5.5 AT+CMGR Read SMS message

Test command

AT+CMGR=?

Response

OK

Execute command

AT+CMGR=

Parameter

integer type; value in the range of location numbers supported by the

associated memory

Response

TA returns SMS message with location value from message storage
to the TE. If status of the message is ‘received unread’, status in the
storage changes to ‘received read’.

1) If text mode (+CMGF=1) and command successful:
for SMS-DELIVER:
+CMGR: ,,[], [,,,,,
,,]

for SMS-SUBMIT:
+CMGR: ,,[] [,,,,,[],
,,]

for SMS-STATUS-REPORT:
+CMGR: ,,,[],[],,

,

for SMS- COMMAND:
+CMGR: ,, [,,[],[],[],
]

for CBM storage:
+CMGR: ,,,,,

2) If PDU mode (+CMGF=0) and command successful:
+CMGR: ,[], OK

for CBM storage:
+CMGR:

3)If error is related to ME functionality:
+CMS ERROR:

Parameter

string type alphanumeric representation of or corresponding

to the entry found in phonebook; implementation of this feature is manu-
facturer specific

integer type in PDU mode (default 0), or string type in text mode (default

“REC UNREAD”); indicates the status of message in memory: defined
values: