14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 4: Using the <strong>Commands</strong><br />

Setting TEXT Mode Parameters (Using <strong>AT</strong>+CMGW and<br />

<strong>AT</strong>+CMGS)<br />

<strong>AT</strong>+CSMP?<br />

+CSMP=17,167,0,0<br />

OK<br />

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

> text is entered <br />

+CMGW: 141<br />

OK<br />

<strong>AT</strong>+CSDH=1<br />

OK<br />

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

+CMGR: "STO UNSENT","0544565034",,,129,17,0,0,167,"+ 97254120032",145,<br />

<br />

<strong>AT</strong>+CSMP= 1,256,0,0<br />

+CMS ERROR: numeric parameter out of bounds<br />

Writing, Saving and Sending Messages (Using <strong>AT</strong>+CMGW<br />

and <strong>AT</strong>+CMSS)<br />

Writing messages into the database, with or without destination address. In TEXT mode, the<br />

header parameters will be set according to CSMP settings:<br />

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

//Writing a message without destination address<br />

> message text <br />

+CMGW: 142<br />

OK<br />

<strong>AT</strong>+CMGW="054565132" //Writing a message with destination address<br />

> message text <br />

+CMGW: 143<br />

OK<br />

:<br />

<strong>AT</strong>+CMSS=143<br />

//Send a message to the destination address with which it was stored,<br />

using the message index<br />

OK<br />

<strong>AT</strong>+CMSS=143,"054565029" //Send a message to a destination address, regardless of the<br />

destination address with which it was stored (if any), using the message index<br />

OK<br />

<strong>AT</strong>+CMSS=3,"054565029" //In this way, received messages (stored in the inbox) can also be sent<br />

OK<br />

<strong>AT</strong>+CSMP=25,"05/03/15,21:22:23+08"<br />

OK<br />

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

A<br />

+CMGW: 129<br />

OK<br />

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

+CMGR: "STO UNSENT", "0544565034",,129,25,0,0,"05/03/15,21:22:23+08","+972521100059",145,1<br />

A<br />

OK<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 4-9

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

Saved successfully!

Ooh no, something went wrong!