28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands 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.

SIM5215_SIM5216 <strong>AT</strong> Command Manual<br />

+CMGR: "STO UNSENT","+10011",,145,17,0,0,167,"+8613800100500",145,4<br />

Hello World<br />

OK<br />

6.12 <strong>AT</strong>+CMGS Send message<br />

Description<br />

The command is used to send message from a TE to the network (SMS-SUBMIT).<br />

SIM PIN References<br />

YES 3GPP TS 27.005<br />

Syntax<br />

Test Command<br />

<strong>AT</strong>+CMGS=?<br />

Write Command<br />

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

<strong>AT</strong>+CMGS=[,]<<br />

CR>Text is entered.<br />

<br />

If PDU mode(<strong>AT</strong>+CMGF=<br />

0):<br />

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

PDU is entered<br />

<br />

Responses<br />

OK<br />

Responses<br />

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

+CMGS: <br />

OK<br />

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

+CMGS: <br />

OK<br />

If sending fails:<br />

ERROR<br />

If sending fails:<br />

+CMS ERROR: <br />

Defined values<br />

<br />

Destination-Address, Address-Value field in string format; BCD numbers (or GSM 7 bit default<br />

alphabet characters) are converted to characters of the currently selected TE character set, type of<br />

address given by .<br />

<br />

TP-Destination-Address, Type-of-Address octet in integer format. (when first character of is +<br />

(IRA 43) default is 145, otherwise default is 129).<br />

<br />

integer type value indicating in the text mode (<strong>AT</strong>+CMGF=1) the length of the message body<br />

> (or ) in characters; or in PDU mode (<strong>AT</strong>+CMGF=0), the length of the actual TP<br />

data unit in octets. (i.e. the RP layer SMSC address octets are not counted in the length)<br />

<br />

SIM5215_SIM5216_<strong>AT</strong> Command Manual_V1.13 91<br />

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!