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.8 <strong>AT</strong>+CMGW<br />

s<br />

12.8 <strong>AT</strong>+CMGW Write Short Messages to Memory<br />

The execute and write <strong>com</strong>mands transmit a short message (either SMS-DELIVER or SMS-SUBMIT) from TE<br />

to memory storage . Memory location of the stored message is returned. Message status will<br />

be set to 'stored unsent' unless otherwise given in parameter .<br />

After invoking the execute or write <strong>com</strong>mand wait for the prompt ">" and then start to write the message. To save<br />

the message simply enter .<br />

To abort writing use . Abortion is acknowledged with "OK", though the message will not be saved.<br />

Syntax<br />

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

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

Response(s)<br />

OK<br />

Exec <strong>Command</strong><br />

If text mode (see <strong>AT</strong>+CMGF=1):<br />

<strong>AT</strong>+CMGW<br />

Response(s)<br />

Text can be entered. /<br />

+CMGW: <br />

OK<br />

ERROR<br />

+CMS ERROR<br />

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

If text mode (see <strong>AT</strong>+CMGF=1):<br />

<strong>AT</strong>+CMGW=/[, [/][, ]] Text can be entered. /<br />

Response(s)<br />

+CMGW: <br />

OK<br />

ERROR<br />

+CMS ERROR<br />

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

If PDU mode (see <strong>AT</strong>+CMGF=0):<br />

<strong>AT</strong>+CMGW=[, ] PDU can be entered. /<br />

Response(s)<br />

+CMGW: <br />

OK<br />

If writing fails see notes below.<br />

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

GSM 07.05 + + + -<br />

Notes<br />

• Note that some providers do not recognize an @ symbol used in a short message. A widely used alternative<br />

is typing "*" as defined in GSM 03.40 (GPP TS 23.40).<br />

• Message Length in Text Mode<br />

The maximum length of a short message depends on the used coding scheme: It is 160 characters if the 7<br />

bit GSM coding scheme is used, and 140 characters according to the 8 bit GSM coding scheme.<br />

<strong>HC25</strong>_<strong>AT</strong>C_V01.200 Page 211 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!