beautypg.com

Cmgs, send sm to network, Cmgs, send sm to network -110, Cmgs parameters -110 – PIONEERPOS AT Commands G24-LC User Manual

Page 174

background image

SMS

3-110

G24-L AT Commands Reference Manual

April 15, 2008

+CMGS, Send SM to Network

This command sends an SM from the G24-L to the network. The message reference value
is returned to the G24-L upon successful delivery of the message.

Note:

The DCD signal will be in ON state while text is entered.

The header parameters in TEXT mode will be set according to CSMP settings.

The following table shows the +CMGS parameters.

Example

AT+CMGS="064593042",129

>This is the message body // ends the prompt text mode and returns to
regular AT command mode

OK

AT+CMGF=0

OK

AT+CMGS=24

>079179521201009511FF0B917962543940F20008001400410042004300440045

+CMGS: 128

OK

Note:

Any character sent by TE to G24-L before G24-L has reported a result of AT+CMGS
operation, will abort AT+CMGS command execution. However, if SMS was already sent
to network and sending operation was successful, the result of operation "+CMGS "
will be reported by G24-L.
A flex dependant enhancement enables the reporting of numeric error code to TE, in case
the sending operation has failed. The numeric error code will be reported in format:
"+CMGS ERROR: ".

Command Type

Syntax

Response/Action

Remarks

Set

If text mode (+CMGF=1):

+CMGS=[,]

text is entered
If PDU mode (+CMGF=0):

+CMGS=

PDU is entered

+CMGS:

+CMS ERROR:

The Set command
validates the input
parameters, sends the
SM to network and
reports the result of
the operation to the
G24-L.

Table 3-70: +CMGS Parameters

Description

Destination address in quoted string. This field contains a single MIN number.

Type of DA. Value between 128-255 (according to GSM 03.40, 9.1.2.5). If this field is
not given and first character of is '+' , will be 145, otherwise 129.

Size of message in PDU mode format, in octets, excluding SMSC data.

Sent message reference number.

PDU

Message header and contents in PDU mode format. See description in +CMGW
section.

This manual is related to the following products: