15. SHORT MESSAGE SERVICES - POINT TO POINT

Text Mode

Description

Command

Possible Responses

 

 

 

Send command

AT+CMGC=<fo>,<ct>[,<pid>

• if PDU mode

message

[,<mn>[,<da>[,<toda>]]]]

(+CMGF=1) and

 

<CR>

sending successful:

 

Text is entered<ctrl-Z/ESC>

+CMGC:

 

 

<mr>[,<scts>]

 

 

• if sending fails:

 

 

+CMS ERROR: <err>

 

 

• OK

 

 

• ERROR

 

 

 

Show if the

AT+CMGC=?

• OK

commands is

 

• ERROR

supported

 

 

 

 

 

Sends a command message from a TE to the network (SMS- COMMAND). The entering of text is as specified in the send message command, +CMGS, but the format is fixed to be a sequence of two IRA character long hexadecimal numbers, which the ME/TA converts into 8-bit octets (refer to +CMGS). Message reference value <mr> is returned to the TE on successful message delivery. Optionally, when +CSMS <service> value is 1 and there is network support, <scts> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. This command is abortable.

<fo>

Description

 

 

0

First octet of SMS-DELIVER in integer format

 

 

1

First octet of SMS_SUBMIT in integer format

 

 

2

First octet of SMS-STATUS-REPORT in integer format

 

 

3

First octet of SMS-COMMAND in integer format

 

 

 

 

<ct>

Description

 

 

Integer

GSM 03.40 TP-Command-Type. Default value is 0

 

 

 

 

<pid>

Description

 

 

0-255

Protocol Identifier in integer format. Default value is 0,

 

according to 07.05 section 9.2.3.9

 

 

<mn>

Description

 

 

Integer

GSM 03.40 TP-Message-Number

 

 

263

LZT 123 7263 R1C

Page 263
Image 263
Sony Ericsson GM47, GM48 manual Text is entered ctrl-Z/ESC