2 at+cmgc send an sms command – Siemens Brodersen MC55 AT User Manual

Page 335

Advertising
background image

MC55_ATC_V04.00

Page 335 of 475

3/17/06

Confidential / Released

13.2

AT+CMGC Send an SMS command

Syntax

Notes

• After invoking the commands

AT+CMGW

,

AT+CMGS

or

AT+CMGC

it is necessary to wait for the prompt ">"

before entering text or PDU. After the prompt a timer will be started to observe the input.

• At baudrates below 19200 it is recommended to use the line termination character only (refer to

ATS3

, default

<CR>

) before entering the text or PDU. Use of the line termination character followed by the response format-

ting character (refer to

ATS4

, default

<LF>

can cause problems

Test Command

AT+CMGC=?

Response(s)

OK

Write Command

If text mode (see

AT+CMGF

=1)

AT+CMGC=

<fo>

,

<ct>

[,

<pid>

[,

<mn>

[,

<da>

[,

<toda>

]]]]

<CR>

Text can be entered

<CTRL-Z>

/

<ESC>

Response(s)

+CMGC:

<mr>

[,

<scts>

]

If sending fails
ERROR

+CMS ERROR

Write Command

If PDU mode (see

AT+CMGF

=0)

AT+CMGC=

<length>

<CR>

PDU can be entered

<CTRL-Z>

/

<ESC>

Response(s)

+CMGC:

<mr>

[,

<ackpdu>

]

OK
If sending fails
ERROR

+CMS ERROR

Reference(s)

PIN

ASC0 ASC1

MUX1

MUX2

MUX3 Charge 

Last

GSM 07.05

%

%

%

%

%

%

!

!

!

Advertising