beautypg.com

Send message +cmgs – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 70

background image

Chapter 9 – Short Messages Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

70

Send Message +CMGS

Description:

The

field is the address of the terminal to which the message is sent. To send the message,
simply type, character (ASCII 26). The text can contain all existing characters except
and (ASCII 27).

This command can be aborted using the character when entering text. In PDU mode, only
hexadecimal characters are used (‘0’…’9’,’A’…’F’).

Values:

See the Parameters Definition list at the beginning this chapter.

Syntax:

Command syntax in text mode:

AT+CMGS= [ , ]
Text is entered:

Command syntax in PDU mode:

AT+CMGS=
PDU is entered:

Command Syntax: AT+CMGS

Command

Possible responses

AT+CMGS=”+33146290800”
------------------------------------------------
Please call me soon, Fred.
Note: Send a message in text mode
------------------------------------------------

>
---------------------------------------


---------------------------------------
+CMGS:
OK
Note: Successful transmission

AT+CMGS=
Note: Send a message in PDU mode (1/3)
--------------------------------------------------------

Note: Enter message in PDU mode (2/3)
--------------------------------------------------------

Note: End the message (3/3)

>

---------------------------------------


-----------------------------------------
+CMGS:
OK
Note: Successful transmission

The message reference is returned to the application and allocated by the product. This number
begins with 0, is incremented by one for each outgoing message (successes and failures), and is cyclic
on one byte (0 follows 255).

Note: T

his number is not a storage number. Outgoing messages are not stored.

This manual is related to the following products: