30.12.2014 Views

HC25 AT Command Set - Portech.com.tw

HC25 AT Command Set - Portech.com.tw

HC25 AT Command Set - Portech.com.tw

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>HC25</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

12.6 <strong>AT</strong>+CMGR<br />

s<br />

12.6 <strong>AT</strong>+CMGR Read SMS messages<br />

The write <strong>com</strong>mand returns SMS message with location value from message storage to the<br />

TE. If status of the message is 'received unread', status in the storage changes to 'received read'.<br />

Syntax<br />

Test <strong>Command</strong><br />

<strong>AT</strong>+CMGR=<br />

Response(s)<br />

OK<br />

Write <strong>Command</strong><br />

<strong>AT</strong>+CMGR=<br />

Response(s)<br />

Output if text mode (<strong>AT</strong>+CMGF=1) and <strong>com</strong>mand successful:<br />

For SMS-DELIVER<br />

+CMGR: , , [], [, , , , , , ,<br />

]<br />

<br />

[... ]<br />

OK<br />

For SMS-SUBMIT<br />

+CMGR: , , [][, , , , , [], , , ]<br />

<br />

[... ]<br />

OK<br />

For SMS-ST<strong>AT</strong>US-REPORT<br />

+CMGR: , , , [], [], , , <br />

<br />

[... ]<br />

OK<br />

For SMS-<strong>Command</strong>s<br />

+CMGR: , , [, , [], [], [], ]<br />

<br />

[... ]<br />

OK<br />

Output if PDU mode (<strong>AT</strong>+CMGF=0) and <strong>com</strong>mand successful:<br />

For SMS-SUBMITs and/or SMS-DELIVERs<br />

+CMGR: , [], <br />

<br />

[... ]<br />

OK<br />

ERROR<br />

+CMS ERROR<br />

Reference(s) PIN USB0-MDM USB0-APP Last<br />

GSM 07.05 + + + -<br />

<strong>HC25</strong>_<strong>AT</strong>C_V01.200 Page 208 of 290 7/25/07<br />

Confidential / Released

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!