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 3: <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong><br />

+CMGC, Send SMS command<br />

Execution command sends a command message from a TE to the network (SMS-COMMAND).<br />

Command Type Syntax Response/Action Remarks<br />

Set<br />

Text mode<br />

(+CMGF=1):<br />

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

, [, [,<br />

[, [,<br />

]]]]<br />

Text can be<br />

entered<br />

/<br />

PDU mode<br />

(+CMGF=0):<br />

+CMGC=<br />

PDU is<br />

given<br />

If text mode<br />

(+CMGF=1) and<br />

sending successful:<br />

+CMGC:<br />

[,]<br />

if sending fails:<br />

+CMS ERROR: <br />

If PDU mode<br />

(+CMGF=0) and<br />

sending successful:<br />

+CMGC:<br />

[,]<br />

if sending fails:<br />

+CMS ERROR: <br />

Test +CMGC=? OK<br />

The following table shows the +CMGC parameters.<br />

Table 3-51: +CMGC Parameters<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Description<br />

First octet of 3GPP TS 23.040 SMS-COMMAND in integer format.<br />

TP-Command-Type in integer format.<br />

TP-Protocol-Identifier in integer format.<br />

TP-Message-Number in integer format<br />

TP-Destination-Address-Value field in string format; BCD numbers are converted to<br />

characters of the currently selected TE character set.<br />

TP-Destination-Address Type-of-Address octet.<br />

TP-Message-<strong>Reference</strong> in integer format.<br />

TP-Service-Centre-Time-Stamp in time-string format.<br />

Length of the actual TP data unit in octets.<br />

RP-User-Data element of RP-ACK PDU (When +CSMS value is 1 and<br />

network supports).<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 3-89

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

Saved successfully!

Ooh no, something went wrong!