28.04.2015 Views

TC63i AT Command Set

TC63i AT Command Set

TC63i AT Command Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

<br />

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

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

The execute and write commands 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 command wait for the prompt ">" and then start to write the message. To save<br />

the message simply enter . After the prompt a timer will be started to observe the input.<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 />

If writing fails<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 />

If writing fails see notes below.<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 />

PIN ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge Last Reference(s)<br />

+ + + + + + + - + - GSM 07.05<br />

Notes<br />

• If writing fails, for example, if a message is too long, the result code depends on the current setting of the<br />

<strong>AT</strong>^SM20 command:<br />

If the <strong>AT</strong>^SM20 =1 (factory default) any failure to send a message is responded with "OK". Users<br />

should be aware, that despite the "OK" response, the message will not be written to the selected SMS storage.<br />

If the <strong>AT</strong>^SM20 equals 0 any failure to write a message is responded with "ERROR".<br />

<strong>TC63i</strong>_<strong>AT</strong>C_V01.100 Page 374 of 547 11/10/08<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!