Chapter 22 - Verizon® Specific AT Commands

Send Message +CMGS (Chapter 8)

Description: The <da> field is the address of the terminal to which the message is sent. To send the text message, type <ctrl-Z> (0x1A) as the final character of the message. This command can be aborted using the <ESC> (0x1B) character while entering the message text.

 

The <length> parameter is optional, it is used to set the length of the text string. When

 

<length> is specified, the CMGS command will only process the number of bytes specified

 

by <length> regardless of whether it contains <ctrl-Z>, <ESC>, or <backspace> characters.

 

The <priority>, <privacy>, <reply option>, and <cbn> parameters are optional. When not

 

specified, they default as follows:

 

Priority: 0 (Normal)

 

Privacy: 0 (Normal)

 

Reply Option: 0 (No Acknowledge)

 

Call back number: Not included in the message.

Values:

<da> : Destination address value in string format.

 

<length> : Length of the text message (in bytes).

 

<priority>: Message priority:

 

0

– Normal

 

1

– Interactive

 

2

– Urgent

 

3

– Emergency

 

<privacy>: Message privacy:

 

0

– Normal

 

1

– Restricted

 

2

– Confidential

 

3

– Secret

 

<reply>: Message reply option:

 

0

– No Acknowledge

 

1

– Delivery Acknowledge

<cbn>: Call Back

Syntax: Command syntax: AT+CMGS=<da> [,<length>] [,<priority>] [,<privacy>] [,<reply>] [,<cbn>] <CR> entered text<ctrl-Z / ESC>

Command

Possible Responses

 

 

AT+CMGS=”8585551212”<CR>

+CMGS:<mr>

Please call me soon, Fred. <ctrl-Z>

OK

Note: Send a message

 

AT+CMGS=”8585551212”,12

+CMGS:<mr>

Please call.<ctrl-Z>

OK

Note: Send 12 byte message

 

AT+CMGS=”8585551212”,,2,1,1,”5550000”

+CMGS:<mr>

Please call ASAP<ctrl-Z>

OK

Note: Send a message with the specified priority, privacy, reply option and

 

call back number. Notice length field is omitted.

 

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

181

Page 181
Image 181
Multi-Tech Systems CDMA Wireless Modem manual Send Message +CMGS Chapter, Reply Message reply option, No Acknowledge