Standard Horizon GM29 manual 13.7 AT+CMGS Send Message, ESC Error, At+Cmgs=?

Models: GM29

1 266
Download 266 pages 35.21 Kb
Page 187
Image 187

13.SHORT MESSAGE SERVICES - POINT TO POINT

13.7AT+CMGS Send Message

PDU Mode

Description

Command

Possible Responses

 

 

 

Send message

AT+CMGS=<length>

• +CMGS:

 

<CR>

<mr>[,<ackpdu>]

 

PDU is given<ctrl-Z/

• +CMS ERROR: <err>

 

ESC>

• OK

 

 

 

 

• ERROR

 

 

 

Show if the command

AT+CMGS=?

• OK

is supported

 

• ERROR

 

 

 

Sends a message from a TE to the network (SMS-SUBMIT). Message reference value <mr> is returned to the TE on successful message delivery. Optionally, when AT+CSMS <service> value is 1 and there is network support, <ackpdu> 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.

<length> must indicate the number of octets coded in the TP layer data unit to be given (i.e. SMSC address octets are excluded).

The TA shall send a four character sequence <CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command line is terminated with <CR>; after that PDU can be given from TE to ME/TA.

The DCD signal is in the ON state as PDU is given.

The echoing of given characters back from the TA is controlled by V.25ter echo command E.

The PDU shall be hexadecimal format (similarly as specified for <pdu>) and given in one line; ME/TA converts this coding into the actual octets of PDU.

When the length octet of the SMSC address (given in the <pdu>) equals zero, the SMSC address set with command Service Centre Address +CSCA is used.

Sending can be cancelled by giving <ESC> character (IRA 27).

<ctrl-Z> (IRA 26) must be used to indicate the ending of PDU.

 

<mr>

Description

 

 

 

 

Integer type

GSM 03.40 TP-Message-Reference in integer format

 

 

 

 

 

 

 

<length>

Description

 

 

 

 

Integer type

Value indicating in PDU mode (+CMGF=0), the length of

 

 

the actual TP data unit in octets (i.e. the RP layer SMSC

 

 

address octets are not counted in the length)

 

 

 

 

 

187

LZT 123 7361 R1A

Page 187
Image 187
Standard Horizon GM29 manual 13.7 AT+CMGS Send Message, ESC Error, At+Cmgs=?